Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
alexpanjhc
Specialist
Specialist

pivot table sort issues

I have a pivot table with 5 dimensions and 4 expressions.

one of the expressions are max(Days Open]). I want to sort by that only based on the last date (8/8/2017) but it does not seem to be working.

I tried to use aggr(max([days open], max(loadDate)) in all the dimensions .


Can you please help?

thanks!

3 Replies
vishsaggi
Champion III
Champion III

I doubt you can use something like

Aggr(Max(OpenDays), Max(LoadDate), ....)

May be try like:

= Aggr(Max({<LoadDate = {"$(= Date(Max(LoadDate)))"} >} OpenDays), Max(LoadDate), EMP_Name...)

alexpanjhc
Specialist
Specialist
Author

Thanks for your reply, Vishwarath, but it is still not sorting it correctly.

vishsaggi
Champion III
Champion III

Is it possible to share some sample data to look into?