Analytics reports: sum incorrectly calculated
- Product: Alma
Description
In an Analytics report, calculating the grand total for a column shows an incorrect result. It is supposed to display the sum of the above rows, but the number is incorrect, or the sum does not show at all.
Resolution
This can be caused by the Aggregation Rule not being set to "Sum." OBI automatically applies a default Aggregation Rule when totaling a column. Depending on the data type, this may not be set to sum.
This setting can be changed in two places.
On the Criteria tab:
- Select the column that is being totaled and click "Edit formula"
- Select the dropdown menu for "Aggregation Rule (Totals Row)" and choose "Sum"
- Run the report and check that the sum is now calculated correctly
On the Results tab:
- Click the pencil icon to edit the table view
- Identify the column that is being totaled and click "More Options..."
- Check the setting for the Aggregation Rule. If it is set to "Default," change it to "Sum"
- Run the report and check that the sum is now calculated correctly
- Article last edited: 28-Oct-2019