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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
juancaneu
Contributor II
Contributor II

In an expression, find a specific record in a table

Hi!

In a chart expression, I want to get a specific record in a table.

The table contains two fields: [date], [value].

Example:  2016-11-12, 120

                2016-11-13, 145

                2016-11,14, 208

              

Using today's date, I want to get the corresponding value in the table. (If today is 2016-11-13, I want to get the value 145.

Thank you in advance for your help.

Labels (1)
1 Solution

Accepted Solutions
Nicole-Smith
MVP
MVP

You can use an expression like this:

sum({<date={'$(=today())'}>}value)

I've also attached an example file.

View solution in original post

2 Replies
Nicole-Smith
MVP
MVP

You can use an expression like this:

sum({<date={'$(=today())'}>}value)

I've also attached an example file.

juancaneu
Contributor II
Contributor II
Author

Nicole:

Thank you for your precise and quick answer. I wish you a nice week!