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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

d3 dynamic tree layout-qs issue

I am trying to make hierarchy chart. I already have 9 hierarchy levels in my table. But it is not working since I don't have depth as a field and when I am trying to use Hierarchy function, it is taking forever to load the data. What should I do? Is there any way to make hierarchy chart without using the hierarchy function? I already have all the data in my table.

1 Reply
Anonymous
Not applicable
Author

Hi Apurva,

Use this Formula and will get Depth From this.

Hierarchy(NodeID, ParentID, NodeName, ParentName, NodeName, PathName, '\', DepthNew)


I think u have nodeID,parentID,Nodename,Parent Name

Insert  "PathName, '\', Depth"  as it is you will get Depth automatically.