Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reg:How to peroform Hierarchy?

Hi All, Wishes to all of you.I am having a scenario in that I have to make a list box with Hierarchy of Region,Area Id & Country.I found

some of exapmle in community in that all mention of using ID ,which is numeric.In that case in my table there is no numeric fields.Is it possible to create hierarchy with out numeric fields.? so how to do the same.Let me know.

Thanks & Regards

Jai

6 Replies
amars
Specialist
Specialist

Look for HierarchyBelongsTo() function.

Not applicable
Author

Ya I tried,But itz nt working

SunilChauhan
Champion II
Champion II

hi, jai

hope this will help u

hierarchy(Region,Area Id,Country,,Country,ColumnName,'|');

Load

Region,

Area Id,

Country

from [tablename];

good luck

Sunil Chauhan
Not applicable
Author





Hi ,

My script is like this.After reloading I could not able to find the solution

hierarchy

(REGION,ID,NAME,,NAME,treeview,'|')

LOAD

NAME

,

ID

,

REGION

FROM

C:\QlickView_StandardCosting\DW_QVD\D_DataArea.Qvd(qvd)

I have atatched my screen shot also

;





SunilChauhan
Champion II
Champion II

hi jai,

load your data like this

tab1:

Load

......

from table;

hierarchy(.......)

Load

resident tab1;

reload it and in list box -> properties->general->Check show as treeview and with seperator |

good luck

Sunil Chauhan
Not applicable
Author

Hi Tom,

Thnx for your kind reply.I am trying from yestred day itself.. [:'(] Bt could not able to get the solution....Here with am sending

data file.The way which is present in xls file I need to list out in list box...Kindly do the needful...Bcoz I am running out of time..... Sad