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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
ajsjoshua
Specialist
Specialist

Sales data only less than current month

Dear all,

I have sales data for 5 years 2013 to 2018.

Now i want to show sum(Sales) only for the years 2015,2016,2017 and for months less than current month

since the current month is August

i want to show sum of sales of 2015(Jan to July),2016(Jan to July),2017(Jan to July)

Regards,

Joshua.

Labels (1)
4 Replies
ValeriyaBartosh
Partner - Contributor III
Partner - Contributor III

hello,

you can create flag

Screenshot_4.png

and then use this field in set analysis sum({<flag={'1'}>}Sales)

andrey_krylov
Specialist
Specialist

Maybe just select months and years in listboxes...

ValeriyaBartosh
Partner - Contributor III
Partner - Contributor III

точняк)

andrey_krylov
Specialist
Specialist