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: 
Aditya_Chitale
Specialist
Specialist

How to achieve sorting based on measure in Heatmap

Hi All,

I am trying to achieve sorting based on measure in Heatmap. I am using the chart available in Qlik Visualization Bundle but it is giving me randomly sorted values. I want the sorting in descending order which will provide me a gradient type of look.

But in sorting, I have already sorted based on Month. So, is there any way to sort according measure ?

Thanks & regards,

Aditya

Labels (1)
4 Replies
Anonymous
Not applicable

You could sort the other dimension in the Heatmap by your measure's expression. 

Aditya_Chitale
Specialist
Specialist
Author

There is no other dimension. I have only 1 dimension and 2 measures

 

Regards,

Aditya

Anonymous
Not applicable

Hi,

It must be a misunderstanding, the heatmap is based on 2 dimensions and 1 measure.

ft42_0-1591640937135.png

Could you please share a screen capture?

 

Aditya_Chitale
Specialist
Specialist
Author

Hi,

Sorry for my previous statement. You were right, there are 2 dimensions and 1 measure but I tried adding the measure expression in second dimension as well but it didn't work.

Heatmap issue QlikCommunity.JPG

I used this sorting expression in the second measure:

sum(Aggr_Rec_Val_ML)/sum(total<[CNOD FiscalMonth]>{<[CNOD BucketDays]=>}Aggr_Rec_Val_ML)

 

Regards,

Aditya