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

Only Aggregate Visible Fields in Report

$
0
0

Hi,

I have a dataset in which I'm am using the "Visibility"group property to hide any Field that has 0 Quantity. I want to only aggregate the Profit & Loss if the Quantity is not zero. However, SSRS is aggregating the P&L columns even if the Quantity is zero. To illustrate, my dataset looks like this:

Security NameQuantityP&L
AAA10050
BBB200100
CCC0125

I would like it look like:

Security NameQuantityP&L
AAA10050
BBB200100
Subtotal300150


But it looks like:

Security NameQuantityP&L
AAA10050
BBB200100
Subtotal300275

Notice how it's aggregating the P&L for Security "CCC" in the Subtotal even though it's not on the report. How can I fix this issue?



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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