Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

SUM of count distinct

$
0
0

RoadWayType    FeeSchedule  PaymentAmount   ARCount

Intersection        xxxxxx               2300                             2

Duct                       xxxxxx               2400                          2

Intersection        xxxxxx               2300                             3

Flyover                  xxxxxx               2400                           5

_____________________________________________

 Totals                                                                              12

___________________________________________

 

I have a count distinct column. – ARCount. =CountDistinct(Fields!RoadWayNumber.Value)

 

In the total row below I need to show 12, I tried like SUM(=CountDistinct(Fields!RoadWayNumber.Value))

 

And it is not working, it shows just 2.  what should I be doing instead?


Viewing all articles
Browse latest Browse all 1418

Trending Articles



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