Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kukszi
Helper I
Helper I

Calculating Forecasting Accuracy

Hi there,

 

I am doing a rolling sales forecast every month, and I would like to measure the accuracy of my previous forecasts. What I would like to achieve is the following: currently, we are in the August forecasting cycle, and my July sales figures are actuals. I would like to measure how accurately I estimated the sales when I was doing the forecast for the month of July in the June forecasting cycle.

 

The demo file is saved here.

 

The "Matrix" tab shows that from Product A, in the 2022.06 forecasting cycle I have estimated 160.66 unit sales for the month of July. Now in August I know that the actuals for July were 175.43 units, so I have under-estimated the sales.

 

On the "Accuracy" tab I have a slicer where I can select that the current cycle is August, and I'm analyzing the July sales and comparing it with the forecast I made in June forecasting cycle.

 

I have two measures: "Previous forecast" (looking for the value of 160.66 for Product A) and "Actuals" (looking for the value of 175.43 for Product A). I have tried to play around the REMOVEFILTERS and FILTER functions, but couldn't figure out how to get the right values.

 

What's the best way to get the correct values in these two measures so I can continue the accuracy calculation?

 

Thanks,
kukszi

1 ACCEPTED SOLUTION

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

7 REPLIES 7
parry2k
Super User
Super User

@kukszi the number in your example doesn't match with the pbix file, for 2022.06, the total for product A 1493.26, where you are getting all these 160.66 and 175.43 numbers?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi @parry2k ,

 

Thanks for looking into my file. You are right, the full-year number is 1,493.26 units in the June forecasting cycle, but what I'm interested in is the July number from the June forecasting cycle (forecast before the period) and the July number from the August forecasting cycle (when it is already actualized). See the highlighted values on the below screenshot:

kukszi_0-1660947852381.png

 

Thanks,

kukszi

 

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/

Hello Ashish,

 

Good day! Possible to share the solution again? I have similar issues and am hoping to find a solution to calculate forecast accuracy.

 

Thank you

Hi,

I do not have that file,  Share some data to work with, explain the question and show the expected result.


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

This is perfect, thank you very much, @Ashish_Mathur!

You are welcome.


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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.