Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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)