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: 
nishanthi_8
Creator
Creator

How to add two rows in a pivot table?

Hi I have attached a sample snapshot where  I have to add the two rows values of hierarchy level 00 and 01 and 05  and 06. How to do so?

so that I will be sorting my data like

00-01

02

03

04

05-06

2 Replies
sunny_talwar

Use a calculated dimension;

If(Match(HierarchyLevel, '00', '01', Dual('00-01', 0),

If(Match(HierarchyLevel, '05', '06', Dual('05-06', 1000), HierarchyLevel))