Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I want to calculate days of stock based on actual monthly stock data and monthly forecast consumption.
I have calculated this as a running total, where days of stock = number of days for Forecast to be greater than current stock.
Each month there is a new "version" of the forecast data added in the same Database. Currently my model allows me to filter the 'version' of the forecast, and the days of stock updates accordingly
I want to be able to fix the 'version' of the forecast to specific months, so that historical data does not change
e.g.
if Month = Jan, calculate days of stock considering forecast version 6th Feb,
If month = Feb, calculate days of stock considering forecast version 29th Feb,
if month = March, calculate days of stock considering 26th March forecast, and so on
There is not a set rule of +1 month for the forecast, it is simply the version closest to the closure of the month, so I need to be able to define the specific filtered value for each month of stock
Maybe Days of Supply? https://community.powerbi.com/t5/Quick-Measures-Gallery/Days-of-Supply/m-p/635656#M318
Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Hi @Greg_Deckler,
It is in essence the same calculation, I was able to make this work in a different way (e.g. after how many days will my forecast be greater than my inventory)
The problem I have is that each month there is a new version of the forecast, and I don't want previous months to update with the new data
I can change the version of the forecast as a filter, but this will change all months. Instead, i want to 'pin' a version of the forecast to each specific month. I hope this clarifies
Can you share sample data and sample output.
User | Count |
---|---|
125 | |
108 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |