Forum Discussion

andi2333's avatar
andi2333
Helper I
2 years ago

Rolling calaculation over multiple weeks

Hello,

 

I hope to find some advice on how to solve the following problem:

 

(1) I have a database which records orders. Each order has a status which can move over time ("draft", "placed", "shipped", "delivered"). There is no date log on the status change, hence I cannot tell when an order moved from placed to shipped, etc.

However, every week, a snapshot from the database is taken into a csv file and stored on a sharepoint.

(2) I get a separate report which shows orders being stuck in our supply chain due to whatever reason. Those are usually a subset of the orders in (1) with status "placed".

 

--> I now would like to calculate the % of orders stuck vs open orders (status "placed") over the past weeks and show the numbers in a line chart. 

 

Is this achievable?

 

Thanks!!

 

 

 

1 Reply