Book Image

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Book Image

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Overview of this book

Table of Contents (17 chapters)
Microsoft Dynamics AX 2012 R3 Reporting Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Aggregation in reports


Aggregate functions are very useful in SSRS reports in AX R3 to calculate the aggregate values that show the numeric data. Totals are an obvious need in all reports. For example, the sum aggregate function calculates the total of transaction amounts. SSRS provides easy and powerful aggregation capabilities. This recipe will discuss a couple of aggregation methods and how they can be applied at different levels.

How to do it…

In this recipe two aggregations will be implemented:

  • Total value of transactions per customer

  • Count of the total number of transactions per customer

To define the total value of transactions implement the following steps:

  1. Navigate to the Data | AmountMst node.

  2. Set the Aggregation Function property to Sum.

To display the count of records implement the following steps:

  1. Go to the Groupings | AccountNum node in the table data region as shown in the following screenshot:

  2. Right-click and go to Add | Field.

  3. Set the following properties:

    Property

    Value

    Caption...