Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS Sum group by

$
0
0

Hi,

I have a report like below:

Cat | Sub Cat | Count
 A     
        B         50
        C         40
        D         30
        B         60

Is it possible to sum up the sub categories?

Cat | Sub Cat | Count
 A     
        B         110
        C         40
        D         30

1. tried giving the expression for count as =Sum(Fields!Count.Value,"Category") but this gives me the total count of (50+40+30+60)
2. by giving  =Sum(Fields!Count.Value,"Sub Category") gives me "the value expression for the textrun contains an aggregate function..."

Please help.

Thanks






Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>