# New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

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

Tags (7)
1 Solution

Accepted Solutions
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
Contributor II

## Re: SAimple Set anlaysis

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

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.

Contributor III

## Re: SAimple Set anlaysis

Hello Aaron,

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

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