Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi All
I have been struggling this for days.
I wish to forecast the value of a parameter for the remaining days of current month based on average obtained from current month available data.
Using below example:
I have data for two products and their respective available data:
I wish to forecast the the value of both products from their last available data date till end of the month based on their average calculated:
"0310S0" - average calculated from 1st - 25th Sep
"0110S0" - average calculated from 1st - 27th Sep
A desired output would be something like this, where by i would be able to see the total of the available data and the forecasted total:
Here is the link to the pbix file: sample
Thank you in advance!
Solved! Go to Solution.
Hi,
You may download my PBI file from here.
Hope this helps.
Hi could you please share the dax formula.
How does this approach help you at the beginning of the month? Wouldn't a sliding window be better (let's say use a mix of the last 30 days and the same period last year for forecasting)?
@lbendlin that will do as well, meaning the daily average measure will obtain the period from the slicer? and this offer the flexibility to user how much data from the past to be used for calculation.
i like to avoid the same period last year for forecasting.
Have a read through this approach and let me know if that is something you want to implement (at least from a general idea perspective)
Sorry the solution need not be exactly the same as the desired output.
The forecasted result can be on a separate table, as long as its able to give me the total.
Hi,
You may download my PBI file from here.
Hope this helps.
Hi, Could you please share the Dax formula used to calculate this.
Hi,
Download the file from the link i have shared above. The link is active - i just checked.
You are welcome.
@Ashish_Mathur I noticed the Forecast Quantity Column row total is incorrect. Is there any way to correct this. Thanks
What is incorrect? Be very clear.
Hi,
Edit the Dates remaining formula to this
Days remaining = EOMONTH([Date till which sale was recorded],0)-[Date till which sale was recorded]
Hope this helps.
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |