Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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

3 Replies
robert_mika
Master III
Master III

Could you add sample of your data?

Not applicable
Author

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

robert_mika
Master III
Master III

Try:

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