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

Max in pivot table

Hi every one,

Cd    Pid         txt  year     Id      max(sales)

E       1872       C     1      111     1000

E  .    1872       C     1      222     20000

Above is pivot table. I need max(sales) from the above.

Result:

E  1872  C  1  222   2000

Thanks

2 Replies
miguelbraga
Partner - Specialist III
Partner - Specialist III

Hey there,

I guess there is a problem between your pivot table and your desired result.

Regards,

MB

sunny_talwar

Where are you looking to get that row in? Pivot table itself or in a text box object?

May be like this in the pivot table:

If(Max(Sales) = Max(TOTAL Sales), Max(Sales))

Assuming Cd, Pid, txt, year, Id are all dimensions.