Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Button to Select data available weeks to date

Good afternoon

I need to create a button which when pressed selects all of the available weeks for the present year, i.e If I were to press the button today it would select the first 19 weeks, If I press it next week it would select the first 20 weeks.

Within a button you can set an action "select in field" where im using a week of a created date and <=19 in the criteria and this works fine. However using a function like =$(<=week(today())) the button stops working.

Any help would be appreciated.

Regards

Shaun

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi Shaun,

I think I found it:

Try this :          = '<=' & Week(today())

Good luck.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi Shaun,

I think I found it:

Try this :          = '<=' & Week(today())

Good luck.

Not applicable
Author

ooo I like it. That works perfectly.

Thanks