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: 
Not applicable

Pick and Match Function (Lookup)

Hi All,

I have a table which has say two columns Date & Day number (this has no relation to normal day numbers). How can I write an expression say in a text box that tells me what day number today is using pick and match functions or any other alternative.

Thank you

H

1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar

You don't need pick and/or match. Try something like this:

=only({<Date={'$(=today())'}>} DayNumber)

If your Data field doesn't contain dates but strings you may need something like:

=only({<Date={'$(=date(today(),'MM/DD/YYYY'))'}>} DayNumber)


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks Gysbert,

Unfortunately, I can't quite get it to work. I have attached some dummy data.

Thanks

Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

Many thanks Gysbert,

Its working perfectly, much appreciated

H