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

Current Month

I want to reference the current month in my expression, so that I can sum sales that are current month -1,-2 etc

Can this be done?

Labels (1)
21 Replies
Not applicable
Author

Thanks. works perfect.

srini
Creator
Creator

Hi Swuehl,

I have tried this expression for my data to sum till date forecasting. but it is not working it is only showing 0.

 

My Data:

YearMonthUnits
2019Mar100
2019Apr200
2019May300
2019Jan100
2019Dec100
2019Aug100
2019Jan100
2019Feb100
2019Apr200
2019Sep300
2019Oct200
2019Mar300

 

Expression: sum({<[Month]={"<=$(=Month(today()))"}>}[Units])

 

but gives 0