Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
gerrycastellino
Creator III
Creator III

question on unbalanced hierarchy

I have a hierarchy that is unbalanced.

So I could have in my hierachy leaf nodes anywhere from level 2 to level 6.

Now I need to join NodeName in my hierarchy structure to another table,  but only display in a pivot chart  up to the relevant leaf level.

How can I build a dynamic dimension list that knows how to  display a leaf at the right level and not beyond that.

##############################################################

Hierarchy(NodeId, ParentId, NodeName, , ,NodePath,|, NodeDepth)

LOAD

Node as NodeId,

Parent as ParentId,

NodeName as NodeName,

NodeName as REP_SUB_BS_ITEM,

IS_LEAF,

PRIORITY   

    

FROM

;

##############################################################

0 Replies