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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Assign criteria during script load based on conditions

Hello,

I have two tables, deliveries and tariffs.

   

DeliveryKG
12345612
23456788
345678105
45678969

For the tariffs there exist weight buckets with lower and upper limits. They determine which price is assigned. 

   

TariffLowerLimitUpperLimitPrice
A0202
B21403
C41604
D611005
E1001506

In the end I would like to see that each delivery is assigned the correct price:

 

DeliveryKGDeliveryPrice
123456122
234567885
3456781056
456789695

Best would be to make this assigment during the loading of the script.

(The example is a very simplified version, you can imagine^^)

Can you help me setting this up?

Thanks and Kind regards

Philipp

2 Replies
vinieme12
Champion III
Champion III

see this post the concept and working remains the same

IntervalMatch

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

Interval Match Feature/Function

Example for IntervalMatch function

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.