Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

hierarchies in load script

Hi

I want to create a hierarchy in my script. I have his table:

salesman city region sales

And I want to create this hierarchy: region -> city -> salesman

I want to use it in a listbox or doing selections

I don' want a ciclic group I need a hierarchy in the scrit.

How can I do it?

Can you give an example of script?

Thanks in advanve

2 Replies
avinashelite

Hi

please find the example script below:

Hierarchy(NodeID, ParentID, NodeName) LOAD

NodeID,

ParentID,

NodeName,

Attribute

FROM table

you need to have a relational table with nodeid and its parent id to achieve the Hierarchy

avinashelite

check this document :