Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
newqlikie
Creator
Creator

Selecting a time period with a trigger used for "select in field"

Hello again,

after I got the perfect help from the community, I have a second problem.

Now I try to select a period beginning with a "startdate" (variable = "vMinDatum") till to an "enddate" (variable = "vMaxDatum").

Screenshot1.JPG

I tried following:

I added a button "Auswahl"and added an action with "select in field" for my field "JARECDAT", which contains each date of my database beginning with 01.05.2009, 02.05.2009 till 27.09.2011.

Screenshot.JPG

I added following "Search String":

='=JARECDAT>=vMinDatum' and '=JARECDAT<=vMaxDatum'

This one is not working.

What do I do wrong?

Any ideas?

Thanks again for your help.

1 Solution

Accepted Solutions
newqlikie
Creator
Creator
Author

Hi Gilles,

thanks for your answer, but it does not work.

I found following solution:

='=JARECDAT >= vMinDatum and JARECDAT <= vMaxDatum'

View solution in original post

2 Replies
Not applicable

hi

the expression should be : ='>=' & [vMinDatum] & '<=' & [vMaxDatum]

You can avoid using a button by adding triggers on both variables on input event

hope this helps

Gilles

newqlikie
Creator
Creator
Author

Hi Gilles,

thanks for your answer, but it does not work.

I found following solution:

='=JARECDAT >= vMinDatum and JARECDAT <= vMaxDatum'