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

Any example app for creating Hierarchy?

HI All.

Can any tell me how to create hierarchy or the steps.

Regards,

Helen

4 Replies
raghvendrasingh
Creator II
Creator II

Hi,

Please look into it, it will resolve your concern.

Hierarchy function easy and Efficient with example---

Regards,

Raghvendra

el_aprendiz111
Specialist
Specialist

hello,

hierarchy.png

hier.gif

Anil_Babu_Samineni

Don't create Double threads

getting code in the selection hierarchy ?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
miguelbraga
Partner - Specialist III
Partner - Specialist III

Hey there,

I guess what you really need is all here:

https://help.qlik.com/en-US/sense/3.0/Subsystems/Hub/Content/Scripting/ScriptPrefixes/Hierarchy.htm

Simple example:

In script:

Hierarchy(NodeID, ParentID, NodeName, ParentName, NodeName, PathName, '\', Depth) LOAD * inline [

NodeID, ParentID, NodeName

1, 4, London

2, 3, Munich

3, 5, Germany

4, 5, UK

5, , Europe

];

What you get in straight table:

Che the output in my attached file:

Best regards,

D.A. MB