390 likes | 522 Vues
Tips & tricks about report design in Dynamics 2009. Steven Renders … think about IT. TOC. Introduction to enhanced report design Dashboard reports: Conditional formatting Using images to simulate KPI's Using and embedding Chart controls
E N D
Tips & tricks about report design in Dynamics 2009 Steven Renders …think about IT
TOC • Introduction to enhanced report design • Dashboard reports: • Conditional formatting • Using images to simulate KPI's • Using and embedding Chart controls • Document Reports: • Display data bound information in page header • The No of Copies option • Q & A
Introduction to enhanced report design • How to create a simple report?
Dashboard reports • Conditional formatting • Using images to simulate KPI's • Using and embedding Chart controls
Conditional formatting • Expressions: • Describes data or property values. • Used to control the content and the appearance of a report. • Begins with an equal sign (=) followed by a combination of field identifiers, constants, functions, and operators.
Expressions • Reporting Functions • Sum, First, Last, Avg, Count, InScope, Iif, Switch,… • Reporting Collections: • Globals, User, Fields, ReportItems • Visual Basic Run-time Library • .NET Framework CLR Classes & Assemblies • Custom Assemblies & Class Instances • Custom Code
Using and embedding Chart controls • Not possible in detail level
Padding • Possible atDetaillevel • But I don’tlikePadding
Dashboard • Demo, usingCharts & Matrix
Document Reports • Display data bound information in page header • The No of Copies option
Display data bound information in page header • Fields can not be used in page header/footer • Let’s use ReportItems! • Be aware of possible problems of this solution
Solution • Global Variable: SharedVarDataas Object • Function to put value in it: Public Function SetData(NewData as Object) VarData= NewData End Function • Function to get value out of it: Public Function GetData() as Object Return VarData End Function
Alternative solution • SeeChapter 5 of: http://www.packtpub.com/microsoft-dynamics-nav-2009-for-professional-reporting/book
Visual Studio • Look veryclosely
List? • Why a List? • Container & Groupingcapabilty • Group on what? • NoOfLoops • NoOfCopies • OutputNo
Demo reports • Available as a download (in ppt)
Steven Renders • Trainer (MCT) | Freelance Consultant | Author • Specialties: • Microsoft Dynamics NAV • Microsoft SQL Server • Business Intelligence & Reporting • Book: • Microsoft Dynamics NAV 2009: Professional Reporting • Company: • think about IT • Steven.Renders@thinkaboutit.be