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: 
Not applicable

set analysis

hello

how can i find sales of last six month 

for a given countries=india ,usa,china(in set analysis)

thanks in advance

Labels (1)
3 Replies
robert_mika
MVP
MVP

Could you add sample of your data?

Not applicable
Author

hello robert ,i just need a general expression using set analysis

robert_mika
MVP
MVP

Try:

Sum({$<MonthID = {“>=$(=Max(MonthID) – 5)<=$(=Max(MonthID))”},Country ={USA,India,China} >} Sales)