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

1 Solution

Accepted Solutions
sunny_talwar

May be this:

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

View solution in original post

2 Replies
Anil_Babu_Samineni

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

May be this:

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