Text Name in Parent Hierarchy

Hi Everyone!

 

I have a parent hierarchy similar to the table below.

 

ListTop LevelParent Hierarchy
H2H1 
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.18H4.18
H4.17H4.17
H4.16H4.16
H4.15H4.15
H3.eH3.e
H4.14H4.14
H4.13H4.13
H4.12H4.12
H4.11H4.11
H4.10H4.10
H4.9H4.9
H3.dH3.d
H4.8H4.8
H4.7H4.7
H3.cH3.c
H4.6H4.6
H4.5H4.5
H3.bH3.b
H2.cH2.c
H2.bH2.b
H4.4H4.4
H4.3H4.3
H4.2H4.2
H4.1H4.1
H3.aH3.a
H2.aH2.a
H1H1

 

Thank you in advance!

Tagged:

Answers

  • 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...

  • 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.

  • 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?
  • It is really needed.

  • obriegr_0-1636990973911.png

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