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: 
Zub
Contributor II
Contributor II

Searching for data for the last month

Hi,

I'm a bit new to qlik and am building a report template. I have created a filter which has a search expression as follows:

= (DueDate >= Date('01/02/2024') AND DueDate <= Date('29/02/2024'))

Is there a way to make this dynamic so that I don't have to hardcode the previous month like above etc?

 

Thanks for any help!

Labels (1)
1 Reply
MatheusC
Specialist III
Specialist III

see it like this

$(=(MonthStart(Date((Today(1))),-1) )) - '01/02/2024'
$(=(MonthEnd(Date((today(1))),-1))) - '29/02/2024'

 

 


Regarts, Matheus


Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!