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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Finding values related to a date closest to a given date

Hi All,

I would like some help with the following problem.

The data structure is

ID Date Value

0 2009-01-01 9
1 2009-07-01 12
2 2009-10-01 29

When provided a certain date (Date A), I need to find a date closest Date A and the associated value.

For example, if provided date is 2009-08-01, then the chart should show the Date and Value of ID=1.

I think I need to perform some set analysis, but do not how to go abouts. Any help will be appreciated! Thanks!

1 Reply
disqr_rm
Partner - Specialist III
Partner - Specialist III

See enclosed - you will get an idea.

Let me know if this gives you what you are looking for.

Rakesh