Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

maximum value

Hi Experts,

i have to find the customer who has done maximum sales this year and i need to display in text box.

Can somebody help me with the expression please

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this:

FirstSortedValue(Customer, -Aggr(Sum(Sales), Customer))

View solution in original post

2 Replies
Anil_Babu_Samineni
MVP
MVP

Try with this

Sum({<Year, Sales= {"$(=Max(Sales))"}>}Sales)


Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sunny_talwar
MVP
MVP

May be this:

FirstSortedValue(Customer, -Aggr(Sum(Sales), Customer))