Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Unable to filter by Date

Hi,

I am trying to filter data by specific date. However, it ends up showing full set despite of $ in the front.

I tried many different ways:

SUM({$<[DATE(TRANSACTION_DATE,'MM/DD/YYYY')]=[DATE(TODAY(1),'MM/DD/YYYY')]>} QUANTITY)

SUM({$<[INDAY(DATE(TRANSACTION_DATE,'MM/DD/YYYY'),DATE(TODAY(1),'MM/DD/YYYY'),0)]>} QUANTITY)

It ends up showing full set unless I use Date filter.

Please help.

Thanks.

1 Solution

Accepted Solutions
maxgro
MVP
MVP

sum({$ <TRANSACTION_DATE={"$(=Today())"}>} QUANTITY)

o r

sum({$ <TRANSACTION_DATE={"$(=date(Today(),'MM/DD/YYYY'))"}>} QUANTITY)

the format of the 2 dates should be the same

View solution in original post

2 Replies
maxgro
MVP
MVP

sum({$ <TRANSACTION_DATE={"$(=Today())"}>} QUANTITY)

o r

sum({$ <TRANSACTION_DATE={"$(=date(Today(),'MM/DD/YYYY'))"}>} QUANTITY)

the format of the 2 dates should be the same

Not applicable
Author

That works. Thank you.