cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Forecast remaining days of current mth with average of current month available data

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:

  • "0310S0" - data till 25th Sep
  • "0110S0" - data till 27th Sept

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

image.png

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:

image.png

 

Here is the link to the pbix file: sample 

 

Thank you in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

11 REPLIES 11
Highlighted
Helper I
Helper I

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.

Highlighted
Super User II
Super User II

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)?

Highlighted

@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.

Highlighted

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)

 

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Rolling-12-Month-Average-result-used-to-Forec...

 

Highlighted

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

Highlighted

@Ashish_Mathur thanks!

Highlighted

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Highlighted

@Ashish_Mathur I noticed the Forecast Quantity Column row total is incorrect. Is there any way to correct this. Thanks

Highlighted

What is incorrect?  Be very clear.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors