Displaying the total number of rows at the top of an Analytics report
- Product: Alma
Question
How can an Analytics report be configured to show the total number of rows at the top of the report? This can be used to display a total count of MMS IDs or items returned by a query.
Answer
- On the Criteria tab, add any column to the report (the field does not matter)
- Click "Edit formula"
- Replace the column formula with
MAX(RCOUNT(1))
- Optional: check the box for "Custom Headings" and rename the column heading as desired, such as "Column for Counting"
- Click "OK"
- Click "Column Properties"
- On the Column Format tab, check the box in the top right corner labeled "Hide"
- Click "OK"
- Note the position of the column you just created, counting from the left
- Go to the Results tab
- In the "Views" menu in the bottom left corner, click "New View" > "Other Views" > "Narrative"
- In the "Narrative" field, enter
total @x
where x refers to the column position identified in step 9. Example:total @3
if the custom column is the third column in the report - In the "Rows to display" field, enter
1
- Click "Done"
- Click and drag the "Narrative" view to place it in the desired location in the report
Additional Information
Other links that may be useful:
Analytics - How to use RCOUNT to add a running number to each row of a report in Alma Analytics.docx
Analytics - How to use RCOUNT to display the total number of rows in an Analytics report.docx
- Article last edited: 30-November-2023