Total Row Count for Grouped Values in SSRS 2008

前端 未结 2 636
情书的邮戳
情书的邮戳 2021-01-04 08:25

I have a report that displays names of all accounts and activities performed under each of them.

AccountName: ABC Corp Activity: Installation

I want to grou

相关标签:
2条回答
  • 2021-01-04 08:45

    You can put CountRows() in an expression within a group and it will show the row count for each grouping.

    0 讨论(0)
  • 2021-01-04 08:46

    You can add a total row for the Account group and give your total field the expression CountRows("AccountGroupName"), to count the Activity detail rows for each Account group.

    You can also put the total value at the level of the group row / group header.

    More details about Function CountRows could be found here: http://msdn.microsoft.com/en-us/library/ms156330(v=sql.100).aspx

    0 讨论(0)
提交回复
热议问题