Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
hbuchetmann
Contributor III
Contributor III

Filter all dates equal and smaller current date

Greetings,

i have a question regarding following problem:

I have a simple table with a date field named Dat_LS and several other fields showing articels which have been delivered to customers and their amount.

Dat_LS shows the date, on which the article is delivered to the customer.

Dat_LSLS_NumberArticleDescriptionAmount
28.Okt.159000001Test16,3
27.Okt.159000083Test32
26.Okt.159000096Test67
25.Okt.159000106Test64

What i want to do now but fail to acomplish by myself is to create a listbox or button, which selects all date equal or smaller to the current date.

Lets say its today, 27.10.2015. When i click  the button, a filter should be applied to only show all the articles delivered until the 27.okt.15. (something like [select all dates <=today()])

Can anyone offer an idea how to realize this?

1 Reply
hbuchetmann
Contributor III
Contributor III
Author

I have found the solution in another post:

The correct Syntax for the Trigger in the listbox is

='=Dat_LS<=today()'

If i want to only Show the dates until yesterday:

='=Dat_LS<=(today()-1)'

The Post with the original answer can be found here:

Re: Show Dates Less Than or Equal to Selection

Thanks to Brandon Breitling for the easy solution, and sorry for opening a new post to an already solved Problem.