Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
DiegoF
Creator
Creator

Join leaf nodes with respective parent nodes

Hello,

So I managed to get two node tables in which in one of them, I have the "tree" or structure of the nodes, and in the other table I have the last nodes of that table (Leaf nodes).

I would like to make a full table where I have in Column 1, the Distinct Leaf node Values and in Column 2, have one-on-one, all the parents that this node can have. 

So imagine I have this structure of nodes:

DiegoFraj_0-1639989114042.png

 As you can see, the leaf nodes are CM1011, CM1012, CM1021 and CM1022. So I want to have a table which would be something like this:

DiegoFraj_1-1639989247181.png

As you can see, the leaf nodes all are joined with their parent nodes. These are my tables:

Tree nodes (structure):

DiegoFraj_2-1639989380223.png

Leaf nodes:

DiegoFraj_3-1639989395408.png

May you help me with this problem?

Thanks regardless.

0 Replies