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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Multi-Level Hierarchy

Hello,

I am trying to display a multi-level hierarchy listbox by using the 'Hierarchy load' technique that looks like this:

Business Development ->Worldwide Sales ->Americas -> US Repair -> Korea Repair

Following is the script:

Group:



Hierarchy

(GROUP_ID, RELATED_GROUP_ID, GROUP_NAME, PARENT_NAME, GROUP_NAME, [Group Hierarchy]

)

LOAD

RELATED_GROUP_ID

,

GROUP_ID

,

RELATED_GROUP_NAME

,

GROUP_NAME

,

RESOURCE_NAME

RELATED_GROUP_ID is the Parent ID and GROUP_ID is the child ID.

//......................................................................................................................

My issue is that it is able to get the list box in the desired manner. However, it gets only one Resource_Name value from each hierarchy and totally excludes the others in the load.

Any ideas?





1 Solution

Accepted Solutions
Not applicable
Author

I figured it out! All I had to do was load the Resource ID and Resource Name as a separate table joined to the Group ID.

Amit

View solution in original post

2 Replies
Not applicable
Author

Just to elaborate, suppose there are 10 resources available at Business Development -> Worldwide Sales -> Americas level, it will only bring the first resource and exclude the rest 9.

Amit

Not applicable
Author

I figured it out! All I had to do was load the Resource ID and Resource Name as a separate table joined to the Group ID.

Amit