Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
aaronnayan
Creator III
Creator III

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
Ralf_Heukäufer
Partner - Creator III
Partner - Creator III

Hello Aaron,

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

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

View solution in original post

3 Replies
isorinrusu
Partner - Creator III
Partner - Creator III

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

isorinrusu
Partner - Creator III
Partner - Creator III

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.

Ralf_Heukäufer
Partner - Creator III
Partner - Creator III

Hello Aaron,

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

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