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: 
raadwiptec
Creator II
Creator II

month

I need data for Previous month plus current month until today?  any suggestion

12 Replies
sunny_talwar

May be something like this in your set analysis:

{<DateField = {"$(='>=' & Date(MonthStart(Today(), -1), 'YourDateFieldFormat') & '<=' & Date(Today(), 'YourDateFieldFormat'))"}>}

raadwiptec
Creator II
Creator II
Author

hi sunny

I need it over a button not on the chart..

I created 2 variables current and previous month but its not working.

sunny_talwar

Would you be able to share what you have thus far?

raadwiptec
Creator II
Creator II
Author

hi sunny,

its a big report.. iam just adding this addition button as adhoc for users. I created 2 variables

=Month(AddMonths(date(Today()),-1)) - Previuos month

=Month(Today()) as Current Month

Both works. in button individually . But I need the report display as until today and February..

sunny_talwar

Are these buttons making selection? Are you looking for a button which selects Previous month till today?

sunny_talwar

Something like this?

Capture.PNG

raadwiptec
Creator II
Creator II
Author

yes something like that

raadwiptec
Creator II
Creator II
Author

can u tell me what you have used to combine these 2