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: 
jduluc12
Creator
Creator

Hierarchy with Path delimiter

Hi,

I have field in the table.

it has data like

A

A:B

A:B:C

A:B:C:D

A:B:C:D:E

A:B:C:D:E:F

I want to create a hierarchical table for this field.

How can i do that?

2 Replies
Anonymous
Not applicable

You can use something like that:

FULL_FILES:

LOAD

     FullPath,

     SubField(FullPath, ':', -1 ) as NodeName,

     SubField(FullPath, ':', -2 ) as ParentNode

Resident ***** ;

After that you can use the hierarchy function do do whatever you want.

(Assuming the naming are unique and could be used as ID)