Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Zub
Contributor
Contributor

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
Specialist

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!