Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
nikula22
Contributor
Contributor

Search String Select in Field with multiple limitations

Hello all!

After searching through this community and google I am unable to solve my problem.

I would like to be able to select certain weeks depending on the current week.

At the moment my Search String command is the following:

='>=' & (Week(today(2))-12), which returns all above the week 26 at the moment.

But what I would actually want to achieve is at current week (38) to select only weeks 26 to 37.

So '>='  & (Week(today(2))-12) and '<' & Week(today(2)).

Unfortunately, this seems impossible at least with the current approach, any tips on this?

2 Replies
swuehl
MVP
MVP

How does your search string really looks like? I guess it should look like

= '>='  & (Week(today(2))-12) & '<' & Week(today(2))

nikula22
Contributor
Contributor
Author

Thank you Stefan!

You have been most helpful, I did not really know how this should be defined and this solution worked perfectly.