Hi,
I have a dataset in SSRS report. The dataset has two columns Category and Product.
(Note: DataSet is not attached to a table/matrix)
Requirement: I need to calcuate the number of rows in each category and then findout the maximum number among the row count for each category.
For Ex:
Category |
Product |
Category1 |
Prod-a |
Category1 |
Prod-b |
Category2 |
Prod-c |
Category3 |
Prod-d |
Category2 |
Prod-e |
Category1 |
Prod-f |
Category3 |
Prod-g |
No. of rows in Category 1: 3
No. of rows in Category2: 2
No. of rows in Category3: 2
Maximum number among (3,2,2): 3
Thanks
NC