Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

aaronnayan
Contributor

SAimple Set anlaysis

Hi Experts

How would i write

To show -

The Highest number of sales (field) made from which City (dimension)?

----------------------------------------------------------------------------------------------

// ie       SUM( {$<Max(Sales )] = {"*"} >}City)??????

Thanks Guys

1 Solution

Accepted Solutions
hf-group
Contributor III

Re: SAimple Set anlaysis

Hello Aaron,

without an set analysis clause i think you can also write:

max(aggr(sum(Sales),City))

3 Replies
isorinrusu
Contributor II

Re: SAimple Set anlaysis

max({<City={'YourCity'}>} Sales)

isorinrusu
Contributor II

Re: SAimple Set anlaysis

If you want to show the max sales of each city, you'd create a chart with City as the dimension and max(Sales) as the expression.

hf-group
Contributor III

Re: SAimple Set anlaysis

Hello Aaron,

without an set analysis clause i think you can also write:

max(aggr(sum(Sales),City))