on 09-21-2022 9:25 AM
I have a public dimension (e.g. Public_Retailer) in my data model, and loaded it into my dashboard.
The structure is like [market -> retailer]
I can definitely access the lowest level of this hierarchy in a calculated dimension by using the formula:
[d/"Sales":Public_Retailer]
But what I want to get is actually just the [market] part of the hierarchy. The formula used above is just capable of returnung the [retailer] as the output.
How can I extract the [market] if it is possible at all?
Thanks.
I don't think you can directly refer to the parent node value of the dimension member in calculated dimension. As a workaround you can create an attribute in the dimension and maintain the same values as parent in it. This attribute will be accessible in the calculated dimension editor. see below.
ROLLUP is an attribute with same value as parents.
Please upvote/accept if this helps.
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.