CommunityMember90962
New Contributor

Text Name in Parent Hierarchy

Hi Everyone!

I have a parent hierarchy similar to the table below.

List Top Level Parent Hierarchy
H2 H1
H3 H2
H4 H3

What I am trying to achieve is a text formatted line item that will show the name of each individual list member (I am struggling with multiple parent members). I need the output similar to the table below.

Even though I can indicate that if it is H1 give me H1, give me H4 when it is a child member, but I failed to formulaically distinguish between H3 and H2.

List Item Name TEXT
H4.18 H4.18
H4.17 H4.17
H4.16 H4.16
H4.15 H4.15
H3.e H3.e
H4.14 H4.14
H4.13 H4.13
H4.12 H4.12
H4.11 H4.11
H4.10 H4.10
H4.9 H4.9
H3.d H3.d
H4.8 H4.8
H4.7 H4.7
H3.c H3.c
H4.6 H4.6
H4.5 H4.5
H3.b H3.b
H2.c H2.c
H2.b H2.b
H4.4 H4.4
H4.3 H4.3
H4.2 H4.2
H4.1 H4.1
H3.a H3.a
H2.a H2.a
H1 H1

Thank you in advance!

7 REPLIES7
MarkWarren
Expert

Can you let the Community know what you are trying to achieve here, why you think you need to show the item name in text at every level? Collectively we might be able to advise on the best solution if we work out what you are trying to do.
What I'm hoping is we can find a solution for you that doesn't need text...

CommunityMember90962
New Contributor

Ultimately, I am trying to use that text to be shown in a KPI card (NUX) to dynamically update text when a different selector item is chosen.

Similar to, for exmaple, Text String 1 & H2.2 & Text String 3.

MarkWarren
Expert

You will be duplicating the data shown in the page selectors?
This is at the cost of creating a slow text concatenation calculation.
Is it really needed?
CommunityMember90962
New Contributor

It is really needed.

PaulLemos
Occasional Contributor

If my understanding is correct the requirement is to have the name of the item at all levels in a composite hierarchy.
1. Has anyone ever had problems with this/Has anyone ever done it? (i.e. impacted by an upgrade?).
2.If this were nota composite hierarchy the definitions would be as per the "Simple Hierarchy" screenshots.
3. As this is a composite hierarchy the problem seems to me to be in the Summary method of the module - please see "Composite Hierarchy" screenshots
4. Please see Composite04 screenshot - is this an Anaplan error? It is certainly one of the worst error messages ever!
Please note the Composite module definition - only metadata functions fail with a Summary of Formula. Othjer functions work. Also Sumamry of "First non-blank" and "Last non-blank" work for metadata functions if that helps drive a solution!


obriegr
Certified Master Anaplanner

obriegr_0-1636990973911.png

If you repeat this concept for every list, you can also do something likeProduct Family Attributes.NAME[LOOKUP: PARENT]and have the line item formatted asText.

PaulLemos
Occasional Contributor

I can see this working for a parent but for grandparent and higher level generations I believe this does not meet the need.