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: 
ZoeM
Specialist
Specialist

Using Text Box Action to select range of Dates

Hi Community.

I need to create a text box that will have an action to select all items between a range of dates.

E.g. Select all items to be manufactured a week from today (One Week Out), Two weeks Out 4 Weeks Out etc...

The result will be 4 text boxes with actions: (1 Week, 2 Week, 3 Week, 4 Week).

Thanks for all your help!

Labels (1)
4 Replies
PabloTrevisan
Partner - Creator II
Partner - Creator II

Hi Zoe,

Use this script in the LOAD statement:

You should set the period .. I used current date -5 to 1 week for example

fab1.jpg

The result on dashboard:

filter.jpg

I hope this solves your problem.

ZoeM
Specialist
Specialist
Author

Thanks for looking into this Pablo. I ended up creating the buckets in Alteryx as I could not find a way to do it in QVW. However, I would like to know the syntax in Set Analysis that could allow me to calculate the dates without alteirng the script.

PabloTrevisan
Partner - Creator II
Partner - Creator II

I had understood that what you wanted was a way to create the periods. Sorry for not being able to help you. I did not quite understand your return, but if the topic was closed please mark it as the right answer. thank you.

ZoeM
Specialist
Specialist
Author

Thanks Pablo.