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

Top N report Total row not correct

$
0
0
I have a simple report that does something like show me the Top 30 Customers by Revenue - with a grand total then at the bottom for the top 30 customers.  For some odd reason, my grand total at the bottom does not show the total for my top 30 customers, it shows the total for all customers.  Am I missing something silly?

Here is what I do:

Using a Tablix, I inserted a group called "Customer" based on Customers.  Added a filter to this group that basically does a Top 30 on the revenue field:

Expression: =Sum(Fields!ContractValue.Value, "Customer")
Operator: Top N
Value: =30

The report so far works great and shows my top 30 customers by revenue....

On the "Customers" group I then "Add Total After" to get a total line at the bottom of my table.  Only problem is the totals does not add up - it shows totals for all Customers (and not just my top 30).

How do I get the total line to only display the total for my top 30 customers?


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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