In a QVD file, I store data in incremental load: I store only news data or data which have been updated.
This is my QVD content:
Order | Status | DATE1 | DATE2 | Delay | INSERT_DATE |
0000053287 | A | 16.09.2013 | 16.09.2013 | 0 | 16.09.2013 |
0000053307 | A | 16.09.2013 | 24.09.2013 | >1 | 16.09.2013 |
0000053308 | A | 16.09.2013 | 17.09.2013 | 1 | 16.09.2013 |
0000053316 | A | 16.09.2013 | 16.09.2013 | 0 | 16.09.2013 |
0000053307 | C | 16.09.2013 | 24.09.2013 | >1 | 20.09.2013 |
0000053308 | C | 16.09.2013 | 17.09.2013 | 1 | 20.09.2013 |
0000053336 | A | 17.09.2013 | 20.09.2013 | >1 | 20.09.2013 |
0000053341 | A | 17.09.2013 | 17.09.2013 | 0 | 20.09.2013 |
0000053355 | A | 17.09.2013 | 18.09.2013 | 1 | 20.09.2013 |
0000053388 | A | 18.09.2013 | 18.09.2013 | 0 | 20.09.2013 |
0000053415 | A | 18.09.2013 | 24.09.2013 | >1 | 20.09.2013 |
0000053459 | A | 19.09.2013 | 19.09.2013 | 0 | 20.09.2013 |
0000053355 | C | 17.09.2013 | 18.09.2013 | 1 | 24.09.2013 |
0000053388 | C | 18.09.2013 | 18.09.2013 | 0 | 24.09.2013 |
0000053524 | C | 20.09.2013 | 24.09.2013 | >1 | 24.09.2013 |
0000053542 | A | 23.09.2013 | 23.09.2013 | 0 | 24.09.2013 |
0000053641 | A | 24.09.2013 | 24.09.2013 | 0 | 24.09.2013 |
0000053642 | A | 24.09.2013 | 25.09.2013 | 1 | 24.09.2013 |
I need a bar char with the count of Delay by INSERT_DATE, like the bar chart below:

But for ’20.09.2013’, I also want to take in consideration old orders (inserted at 16.09.2013)
For ’24.09.2013’, I want to take in consideration old orders (inserted at 16.09.2013 and at 20.09.2013).
So I tried to select the option to accumulate data. But if an order has been updated, the delay is counted twice.
For example the delay for this order is counted twice:
0000053307 | A | 16.09.2013 | 24.09.2013 | >1 | 16.09.2013 |
0000053307 | C | 16.09.2013 | 24.09.2013 | >1 | 20.09.2013 |
And I don’t want this.
So I’m expected this result:
| 0 | 1 | > 1 |
16.09.2013 | 2 | 1 | 1 |
20.09.2013 | 5 | 2 | 3 |
24.09.2013 | 7 | 3 | 4 |
Could someone tell me if it’s possible, and how to make it?
In advance thank you