Forum Discussion

fabio_abbiati's avatar
fabio_abbiati
New Member
4 years ago
Solved

Design line graph with weekly subtotal from record with differential quantity

Dear All,

 

I have a lot of records with the single quantity (eg. warehouse movements) and I would like to publish a line graphic with the total of each week (eg. weekly stock).

My problem is that I only have the weekly movements and not the week stock.

 

Example:

Week 1 (begining)100
Week 215
Week 3-5
Week 47
Week 5-20
Week 630
Week 78
Week 87
Week 9-30
Week 10-5

 

If I create a line graph with this data, I get something like below:

This is not what I need beacuse on week 2 my stock was 115 (previous 100 + 15), on week 3 my stock was 110 (previous 115 - 5), on week 4 my stock was 117 (previus 110 + 7), ...

 

I would like to get a graph like below:

 

Could anyone give me a tip to obtain the second type of graph?

How could I manage the data?

 

Thank you

Fabio

2 Replies