This field is required.
Only these extensions are allowed(.jpg, .JPG, .jpeg, .JPEG, .gif, .GIF, .png, .PNG)
Tags cannot contain the characters ' /, \\, #, ?, or ; >,< '
Only these extensions are allowed(.zip,.ZIP,.pdf,.PDF,.qvf,.QVF,.qvw,.QVW)
If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
How would i show which City as a Value has the highest sales ?
Not the sales number
May be this
FirstSortedValue(City, -Aggr(Sum(Sales), City))
Concat(Aggr(If(Sum(Sales) = Max(TOTAL Aggr(Sum(Sales), City), City), City), ', ')
View solution in original post
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))