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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ecabanas
Creator II
Creator II

Select the nearest value

Hi,

I'm using a Item rate cost table:

ItemIdProveedor_TarifaTarifaTarifa_IdFromTo
10357267PROV000391,2610357267-4237001/01/2016
10357267PROV000411,3410357267-4240101/02/2016

In the Item sales analysis table apart from sales, units etc, I would like to know the "nearest" rate from the selected date on top

     2016-07-08_11h01_38.png

For example for July 2016 The selection should be rate 1/2/2016= 1,34   and for 15/1/2016= 1,26

Many thank's guys

1 Reply
Colin-Albert
Partner - Champion
Partner - Champion

Have a look at this post  IntervalMatch and Slowly Changing Dimensions

and the item on Creating an Interval from a Single Date

Creating a Date Interval from a Single Date