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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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

;

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

Labels (1)
0 Replies