2 Replies Latest reply: Sep 16, 2014 7:42 AM by Arno Koopmans RSS

    Between / subquery /intervalmatch(?) issue

      Hi there,


      I have a load script issue and I cannot find the solution in Qlik Load language. In SQL this is super easy, with a subquery or someting, but I can't find the right solution.


      Here's my case.


      I have a table with costprices. When there is a new costprice, there will be a new line and the enddate will be filled out in the old recordline.




      Now I also have a orderline table.




      In the orderline table, I want to put the costprice of that time. As said, in SQL I would use a subquery or so and in QV I tried things with intervalmatch, but it didn't work out.How can I get the right costprices?


      Thanks in advance!