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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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)
2 Replies
pravinboniface
Creator III
Creator III

@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).

Qlik1_User1
Specialist
Specialist

Hi @Warghi did you get the solution for this, I have the similar requirement.