Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I'm trying to link 2 different tables with information in different format.
In one side, I have volumes delivered month and in another side I have a quarterly prices to link.
For me it is not clear how to link the 2 periods. I would like to know if somebody have a good solution for it.
Please see below:
Volumes table:
Product | Month | Volume |
a | 1 | 10 |
a | 2 | 15 |
a | 3 | 20 |
a | 4 | 15 |
a | 5 | 15 |
a | 6 | 15 |
Price table:
Product | Valid from | Valid to | Price |
a | 1 | 3 | 600 |
a | 4 | 6 | 500 |
and the desirable result are the following:
Product | Month | Volume | Price |
a | 1 | 10 | 600 |
a | 2 | 15 | 600 |
a | 3 | 20 | 600 |
a | 4 | 15 | 500 |
a | 5 | 15 | 500 |
a | 6 | 15 | 500 |
I have really appreciate if somebody help me... the problem is how to link between 2 periods with different ranges.
hei
attach is an example
hope its helps you