Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to show highest sales city Name in text object

hi guyys,

i m able to get highest sale value in text --- =max(Aggr(sum(Sales),City)) ... But i want to show the Name of the City

right now its showing a Highest sales Amount.. kinldy inform how to do this

5 Replies
sunny_talwar

May be try this:

=FirstSortedValue(City, -Aggr(Sum(Sales), City))

Not applicable
Author

Thankss

alexandros17
Partner - Champion III
Partner - Champion III

Write

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

let me know

sunny_talwar

Did it work??

alexandros17
Partner - Champion III
Partner - Champion III

Do as sunindia wrote ... it works