Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select all dates within past year.

Hi,

I am having trouble selecting dates from a field that are from within the past year. I want to select all dates from my "myDate" field that are within the past year with the click of a button. I am able to accomplish similar functionality for a field with integer values. I've attached an example of my problem.

Any help will be greatly appreciated.

Thanks,

Ryan

1 Solution

Accepted Solutions
Not applicable
Author

Hi Ryan,

You don't need an input box. Attached with answer. Please look at the trigger expression in the button.

Thanks

AJ

View solution in original post

4 Replies
Not applicable
Author

Hi Ryan,

You don't need an input box. Attached with answer. Please look at the trigger expression in the button.

Thanks

AJ

MK_QSL
MVP
MVP

Please check enclosed file which will help you to select between two dates...

UPDATE : for your application, you can use as below...

='>='&Timestamp('$(vRollingMonth)')

For MaxDate until today...

='>='&Timestamp('$(vRollingMonth)')&'<='&Timestamp(Today())

Not applicable
Author

Thanks, works like a charm.

Not applicable
Author

Many thanks -- works like a charm.