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

Pivot table with range dimension

Hi Dear comunity

I need made a Pivot table with a range dimension. This is the original datatable

AgeClassSubClassValue
10AA1100
20AA2200
30CC2300
60DD1400
90FF2500

The desired pivot table is:

Range (Age)Value (Sum (Value))
From 0 to 15100
From 16 to 30500
Up to 31900

Thanks !!

2 Replies
Nicole-Smith

danielact
Partner - Creator III
Partner - Creator III

Just use some nested if statements to set it up however you want.

If(Age<=15,'From 0 to 15',if(Age<=30,'From 16 to 30','Up to 31')) would work for your dimension. The expression would just be sum(value)