I understand your expectation, but i also understand the frustration of the system to meet your requirement.
Assuming on your screenshot, there are Total CC and Total CC H2 on both row and column, and you want to show the division from one of them, i can say that the system will be totally confused on what to choose. Even if the division for both of them are the same.
I never have encountered requirement like this before, so i can only state my opinion without research.
Original Message:
Sent: Tue October 21, 2025 04:18 AM
From: Steven Rowe
Subject: Using String Attribute Look-ups in Rules at the C level and interaction with Hierarchies
Hi Def,
Yes, both rows and columns are hierarchies of the Cost Centre dimension.
My expectation of the rules is that they should return the Division of one of the Cost Centres, it's understood why it doesn't as it is having to deal with a tuple but I would point out that if we use DB('}ElementAttributes_CostCentre', !CostCentre, 'Division' ) to do the look-up it does appear to default down to the N level in the tuple if there is one in it. So there is already some kind of choice making taking place.
I did test being explicit about the hierarchy but this doesn't really work as that means that hierarchy has to be in the view. My customer and, in fact, all customers of PA have the ability to create hierarchies on an ad-hoc basis and they should be able to do so without breaking the rule calculations.
------------------------------
Steven Rowe
Original Message:
Sent: Mon October 20, 2025 09:02 PM
From: Def Marshal
Subject: Using String Attribute Look-ups in Rules at the C level and interaction with Hierarchies
Hi
Based on your last cube screenshot, what dimension is in the column section? Is it the hierarchy of CostCentre dimension?
And what is your expectation on the rules? I guess it makes sense for the system to not calculate because it doesn't know which division to use. Also did you specify in the rule to use which hierarchy when you lookup the division?
------------------------------
Def Marshal
Original Message:
Sent: Mon October 20, 2025 01:32 PM
From: Steven Rowe
Subject: Using String Attribute Look-ups in Rules at the C level and interaction with Hierarchies
Hi,
I have come across an issue with the interaction of attributes, rules and hierarchies that I have been unable to workaround.
I have a relatively simple KPI where I need to average the value by the number of working days in the period for C level Periods only.
Each Cost Centre belongs to a Division of the business, different Divisions have a different number of working days and so I need to look up the division of a Cost Centre in my rule.
This gives me a rule like this.
['Measure':'Measure':'M Total for Av']=N:['Measure':'Measure':'Measure'];
['Measure':'Measure':'Measure']=C:
#Allow to add up on the N level periods
If(ELLEV( 'One Year', !One Year )= 0 , stet,
#Else calculate the average
['Measure':'Measure':'M Total for Av'] \
DB('Period Properties', DB('}ElementAttributes_CostCentre', !CostCentre, 'Division' ), !One Year, 'Days in Period' )
);
and a result that looks like this.
------------------------------
Steven Rowe
------------------------------