Discussion board where members can get started with Qlik Sense.
How would i show which City as a Value has the highest sales ?
Not the sales number
Go to Solution.
May be this
FirstSortedValue(City, -Aggr(Sum(Sales), City))
Concat(Aggr(If(Sum(Sales) = Max(TOTAL Aggr(Sum(Sales), City), City), City), ', ')
FirstSortedValue(City , Sum(Sales))
I need it to show the city that has the highest sales
what object type are you using?
=Only( Aggr( if( Sum(Sales) = Max( total Aggr( Sum(Sales), City) ), City, Null() ), City) )
Try something like
IF(RANK(AGGR(SUM(SALES),CITY) = 1,ONLY(CITY))