Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Max of a sum by category

Hi All,

1. I am looking to find max of sum of sales by category. I am using 'Max(sum({<[Expense Category]=>}Sales))' which is not correct of course (I feel like stupid putting this up). I have used set analysis because I do not want this value to be altered by other selections.

2. Is there any way we can create an array of selections and then use it elsewhere?

Thanks.

3 Replies
robert_mika
Master III
Master III

Look at this thread:

Max Value using Aggr Function

Does this help

Could you expand on question 2,please?

Anonymous
Not applicable
Author

It worked !!

So much happiness 🙂

robert_mika
Master III
Master III

Good to hear.

If you happy with the answer could you mark the question as answered ,please?