I did not hide the entire rows. I hid just the duplicated values in one column and I need to sum that same column, excluding the hidden values. Thank you very much.
The field having duplicated values that I wanted to hide is SpaceArea This is how I hid the duplicated values from rows on the SpaceArea column:
=IIF(Fields!SpaceID.Value = Previous(Fields!SpaceID.Value),True, False)
Then I need to SUM all the SpaceArea excluding the hidden values.
Once I tried to use the same Show/Hide logic to the Sum expression as per another post of yours, I got an error message. This is what I tried:
=Sum(IIF(Fields!SpaceID.Value = Previous(Fields!SpaceID.Value), Nothing, Fields!SpaceArea.Value))
==> then I got this error message:
previous functions cannot be specified as nested aggregates.