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

month

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

Labels (1)
12 Replies
Chanty4u
MVP
MVP

sunny_talwar
MVP
MVP

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
MVP
MVP

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
MVP
MVP

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

sunny_talwar
MVP
MVP

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