03-27-2023
10:07 AM
- last edited
2 weeks ago
by
JackLacava
My Cube view has entities in rows. One of the rows is a sum of several entities ( E#A1+E#A2+E#A3). In the 4 columns I have Actual, Budget, Variance and Variance%. Variance and Variance % being calculated from the two first columns. Works fine except for the row that is a sum of several entities. For this row I believe the variance-columns displays the variance for the first entity (E#A1). How can I solve this? Can I set calc order anywhere?
Solved! Go to Solution.
03-28-2023 07:54 AM
Use Row Overrides on your two columns (Var mkr and Var %). You should be able to just copy the exact Member Filter you have in Member Expansion 1 and paste that into the Row Overrides below. Then just put the name of the row(s) you need to override in the Row Range.
03-27-2023 01:02 PM
Hi CAroline,
Can you post the definition of that column, please...? In theory, if you're referring to column values through CVC, it should reference the summed value.
03-28-2023 07:28 AM
In theory yes, but I don't think it references the summed value - I have had problems with this before. The definitions are for column 3: GetDataCell(CVC(actual)-CVC(budget)):Name(Var mkr) and for column 4: GetDataCell(VariancePercent(CVC(actual), CVC(budget))):Name(Variance %) It works for all rows escept for the row that instead of one Entitymember has the definition GetDataCell("E#DK+E#FR+E#SF"):Name(Other Entities)
03-28-2023 07:45 AM
Hi - look at my comment below from yesterday. Your response to Jack confirms my thought of needing an override. Basically, you have two GetDataCell functions intersecting with each other. The override should resolve your issue.
Let me know if that does the trick!
03-27-2023 01:46 PM
The variance column looks incorrect (Var mkr showing -27). This typically means that you need to use a column or row override in the report.
03-28-2023 07:46 AM
OK, what would that column override look like? And in that case I suppose I could not combine column and row templates because I would have to hard-code the override?
03-28-2023 07:54 AM
Use Row Overrides on your two columns (Var mkr and Var %). You should be able to just copy the exact Member Filter you have in Member Expansion 1 and paste that into the Row Overrides below. Then just put the name of the row(s) you need to override in the Row Range.
03-28-2023 09:07 AM
Thanks! It works - not sure why though, is it that by setting it as an override I set the calc order in the CV so that these columns are calculated after the rows?