Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
QSense
Creator II
Creator II

Calculate range between dates

Hello,

I have commitment date that plan for delivery date. 

In other table I have actual _date for occuring date for delivery.

I have to calculate ranges between these two dates.

For instance : 01 line_item planned date: 01.10.2019 on the other hand vendor completed for this line item in 05.10.2019.

I understtod from quantity. Eket.quantity = cumulative sum EKES.quantity.

Thanks

 

EKET : 

EBELN   |  EBELP  | LINE_ITEM | Quantity | Commitment_DATE

100                  0001                    01              10       01.10.2019(dd.mm.yyyy)

100                  0001                    02              20       09.10.2019

EKES:

 

EBELN   |  EBELP  | DELIVERY_ITEM | Quantity | Actual_DATE

100                  0001                    01                        1          01.10.2019

100                  0001                    02                        7          03.10.2019

100                  0001                    03                        2          05.10.2019

100                  0001                    04                        10         09.10.2019

100                  0001                    05                        5          21.10.2019

100                  0001                    06                        5          22.10.2019

Labels (2)
3 Replies
Anil_Babu_Samineni

What is the expected result you are looking for?

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
QSense
Creator II
Creator II
Author

EBELN   |  EBELP  | LINE_ITEM | Quantity | Commitment_DATE     | NEW_DATE_COLUMN

100                  0001                    01              10       01.10.2019                        05.10.2019

100                  0001                    02              20       09.10.2019                        22.10.2019

QSense
Creator II
Creator II
Author

LINE_ITEM | Quantity | Commitment_DATE     | NEW_DATE_COLUMN

                  01              10       01.10.2019                        05.10.2019

                   02              20       09.10.2019                        22.10.2019