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: 
Not applicable

Hierarchical Sum

Dear,

I want to create a pivot table in which i need to show a hierarchy and their sum. i have tow different tables one have device information and other one is for hierarchy like below.

DeviceLevelQty
DvcA15
DvcA16
DvcA18
DvcA15
DvcB1225
DvcB1255
DvcB2236
DvcB2259
DvcC13110
DvcC23115
DvcC33210
DvcC43266
Level 1Level 2Level3
DvcADvcB1DvcC1
DvcADvcB1DvcC2
DvcADvcB2DvcC3
DvcADvcB2DvcC4

And i want my result like this

Level1Level1SumLevel2Level2SumLevel3Levle3Sum
DvcA24DvcB180DvcC1110
DvcC2115
DvcB295DvcC3210
DvcC4266

Please guide anyone to achieve this.

1 Reply
Not applicable
Author

any update