Add Custom Log Report - Advanced Topic - Report Design - Table Control (Tablix) Grouping And Totals
- With the table control selected, navigate to the 'Row Groups' section shown at the bottom and click the down arrow in the (Details) row.
- Click 'Add Group | Parent Group' in the menu.
- In the popup form, select the grouping field which is usually a record ID such as ProjectId and check 'Add Header' and/or 'Add Footer' depending on the scenario.
- Grouping field is added automatically but should be deleted by selecting the column and right clicking the mouse.
- Click the 'Delete Column' option in the menu.
- Merge the grouping header cells by holding down the CTRL button on the keyboard and selecting all cells then right click the mouse and choose 'Merge Cells' in the menu.
- Select the merged cell and click the small square icon next to the Content field in the Properties section then choose Expression (not shown).
- Enter an expression that will be used for the group heading.
- Adjust the group styling as needed.
Add Group Totals
- Select the data cell that needs to be totaled for the group then right click the mouse and choose 'Add Total' in the menu.
- Adjust style, format and alignment (ex. right aligned) as needed.
Adjust Report Body Height and Width
- Adjust the report body height and width by dragging the edges as needed.
Save Report Changes
- Click the 'Save Report' link at the top to save these changes.