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

hierarchy in script

Hi All

i tired search in community  i am bit confused with Node Id and Node Name , Parent Name etc

Can  any help me on hierarchy in list box.

Hierarchy ( employee Manager , employee in reporting hierarchy format).



I have  data as follows


employee      manager

Uday            sagar

krishna         uday

sumanth     Sagar

pavan         saritha

please help on this

11 Replies
Anonymous
Not applicable
Author

Or even this.

test:

load * Inline

[

employee,manager

Sagar,

Uday,Sagar

krishna,Uday

sumanth,Sagar

saritha,

pavan,saritha];

node:

Hierarchy (employee,manager,Node, NodeParent, Node,NodePath, '/', NodeDepth)

Load employee,manager,employee as Node

Resident test;

drop table test;

Anonymous
Not applicable
Author

Can you  close the thread if you got your answer so that we need not open this thread to answer.