I have the following Table with a rowgroup Category 1 and Category 2.
Nou I want to create a expression for Amount 2 that needs to sum only the amounts with category2 is 6.
The expression for Amount2 is:
=Sum(IIF(Fields!Category2 = 6, Fields!Amount.Value,0))
But when I copy / past this expression in the Total field. I get a #Error.
How can I make a expression which only sums the fields for Amount2 with Category2 = 6.
Looking forward to your replies.