Forum Discussion
Anonymous
2 years agoNot applicable
Use cycle For / While for calculating inventory coverage
dear DAX gurus, I have a dataset that shows the inventory projection over the next months, given different demands and the supply planned. I would need to calculate, in each row, which is the cov...
Ashish_Mathur
2 years agoSuper User
Hi,
Show the exact result that you are expecting with an explanation.
- Anonymous2 years agoNot applicable
Hello Ashish_Mathur
the result is calculated manually in the last column "Coverage", which is the difference between the date of the inventory and the date when the stock will be depleted considering the future demand
e.g.: on 9/5/2023, the inventory is 1.000 units. If you sum the demand, without considering the inbound, it will be depleted with the demands on 4/12/2024 -> coverage is 4/12/2024 - 9/5/2023 = 220 days.