Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Warghi
Contributor
Contributor

Parent-Child Hierarchy

Hello,

I hope you can help me with this topic.

I have a table with Epic, and each Epic has its Epic-ID and its Parent-ID (the ID of its parent) as you can see in the table:

Warghi_0-1710318419941.png

I wanted to build a Parent-Child Hierarchy between the column (Epic-ID) and (Parent-ID), to be able to see the children from an epic, not only the parent.

I used this script to do the hierarchy thing:

Warghi_1-1710318602710.png

can you please tell if this script does the needed task?

and if yes, how can see the children when clicking on the Epic-ID, should I use a second table for that?

Thank you very much.

Best Regards,

Warghi

 

Labels (4)
1 Reply
pravinboniface
Creator II
Creator II

@Warghi Hierachy is useful if you have a depth greater than 1.  If you only have one level, meaning, all the children (Epic-ID) are only one level below the parent (Parent-ID), you may be better off building a table for the children with the parent key (Parent-ID).