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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Greatest by grouping i.e sql=> sum ... group by

  Hello Everyone,

I have a chart as the one that's pictured.  It's a Sales vs Month chart.  What I would like to do is find ask the following question using Set Analysis: "Given the current selection, find the greatest "sales by month" value."

I know what I would do in SQL, which is I would SUM over Sales, and then GROUP BY Month, Blah, and Blah.  But I'm know that won't cut it here.

Any help is greatly appreciated.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

max(aggr(sum(Sales),Month))


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

max(aggr(sum(Sales),Month))


talk is cheap, supply exceeds demand