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 Name | Quantity | P&L |
AAA | 100 | 50 |
BBB | 200 | 100 |
CCC | 0 | 125 |
I would like it look like:
Security Name | Quantity | P&L |
AAA | 100 | 50 |
BBB | 200 | 100 |
Subtotal | 300 | 150 |
But it looks like:
Security Name | Quantity | P&L |
AAA | 100 | 50 |
BBB | 200 | 100 |
Subtotal | 300 | 275 |
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?