With the aid of expert guidance from TARGIT, the problem is now located.
A sort on a calculation (hideMultiAge) wronged the calculations.
Both calculations should of course count correctly and now they do too!
Thanks mate.
Now the Visibility agent works correct.Using the Visibility agent corrupts the automatic totals. This tweak solves wrong totals.
Showing right total for the clients:
if allcount(d1, all(c), m1) > 0 then count(0, all(v,r0), m1) else sum(0, 0, m1)
Mind the r0 is used as there are 2 levels of toals. r0 counts the leaf level and not the intermediate (hidden) total level.
Another calculation is used to show all the clients’ time in the visible row.
Edited by user Thursday, March 20, 2014 11:18:05 AM(UTC)
| Reason: Not specified