Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
rish_sai
Contributor III
Contributor III

How to create hierarchy levels in qlikview

Hi,

In my databases I have columns like Org1ID,Org2ID,Org3ID,Org4ID,Org5ID at back end script  I want to combine all columns  make it has hierarchy , can any one help me out to do this Plz.

Thanks in Advance...

8 Replies
Not applicable

Hi Rish,

Can you elaborate on what is it exactly you're trying to achieve?

rish_sai
Contributor III
Contributor III
Author

I have columns like this

Org1ID,Org2ID,Org3ID,Org4ID,Org5ID instead of creating  hierarchy at frontend , I want to create those Columns come under one hierarchy columns at back end script

MarcoWedel

maybe you could create a concatenated field like

LOAD *,

          Org1ID&'/'&Org2ID&'/'&Org3ID&'/'&Org4ID&'/'&Org5ID as OrgID

From YourSource



and use a listbox with the "Show as Tree View" option enabled (using / as separator)


hope this helps


regards


Marco

QlikToFindOut
Creator
Creator

Hi Marco,

I found this method to be incredibly useful and visually, it created what I need but in doing so, I've found that none of the fields are selectable. The entire box is just grey. Any ideas?

My table structure is of a similar build to the original post creator's.

EDIT: The only selectable field is the lowest level.

QlikToFindOut
Creator
Creator

Hi,

This unfortunately did not work. In those links, the user assumes that their hierarchy is already somewhat built.

For my case, it's like:


Level5, Level4, Level3, Level2, Level1


If I use your suggestion above, only the lowest level is selectable. Trying to have it such that all levels are selectable.

MarcoWedel

please post a sample application to demonstrate

QlikToFindOut
Creator
Creator

Hi,

Re: How to create a listbox hierarchy from a table with many columns?

I posted everything in full detail here.