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

Condition for group

$
0
0

Hi everyone.

I have a matrix with column group in my report, where column group is month. 

I need 3 rows in this groups: cost of product 1, cost of product 2 and overall cost.

I have items in my database with property, so I wanted to put condition expression in group column.

I've tried this approach:

=iif(Fields!TYPE.Value="a", sum(Fields!COST.Value), 0)

However, I got 0 in columns.

How I can put condition expression in group?

Regards,

Yerkhan


Viewing all articles
Browse latest Browse all 28687


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