Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show the day of month with max values

Hi all,

I have a problem that I cannot solve.. I have a simple pivot with

Month,

Day,

Column A

And i would like to show in the pivot just the day of this particular month where 'Column A' has the max value..in this case I would like to show for August just the day 27

pivot.PNG.png

Do you have suggestion how to do it??

I have tried with MAX( AGGR (COUNT(....), Month, Day)))

but I dont have the expected result..

Thx to all

4 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try FirstSortedValue() like this

=FirstSortedValue(Date, -Sum([Column A]))

Hope this helps you.

Regards,

Jagan.


fdelacal
Specialist
Specialist

IN PROPIERTIES

SORT

YOU CAN ADD SORT BY EXPRESSION ....in day....

THEN CHEK AND ADD (THE EXPRESSION OF COLUMN A) PUT DESCENDING

HOPE THAT HELPS YOU

israrkhan
Specialist II
Specialist II

TRY BELOW...

=if(aggr(rank(sum([Column 1])),Day)<=1,[Column 1])

Gysbert_Wassenaar

Close. Try if(count(ColumnA)=max(total <Month> aggr(count(ColumnA),Month,Day)),count(ColumnA))


talk is cheap, supply exceeds demand