I have a report which aggregates data from a detail report. Basically, the Area of a building. Those are grouped into two categories, top, and bottom.
For the bottom group, if a parameter is met, they are included in the sum.
For the top group, it does the same thing, just groups at a higher level.
There are a few grouped in the bottom group which sum is 0, which is fine, but the issue is the top level then returns a 0 as well for some reason, instead of sum of the rest of the values.
The expression is =iif(Fields!Included.Value = 1,sum(Fields!Area.Value),0)
I can't figure out why it works in all but two of the top groups.