If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
Hi Guys
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))
or
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?
KPI
maybe this:
=Only( Aggr( if( Sum(Sales) = Max( total Aggr( Sum(Sales), City) ), City, Null() ), City) )
May be this
FirstSortedValue(City, -Aggr(Sum(Sales), City))
or
Concat(Aggr(If(Sum(Sales) = Max(TOTAL Aggr(Sum(Sales), City), City), City), ', ')
Hi Aaron,
Try something like
IF(RANK(AGGR(SUM(SALES),CITY) = 1,ONLY(CITY))
Mark