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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ipponar
Regular Visitor

Forecast accuracy measure - DAX issue with multiple forecasts

Hi guys!

I am pretty new to PowerBI and I keep learning, as we try to move there our reports from Excel.
That's how we work:
We forecast our inbound volume each month for next 6 months. Then, as months pass, we have actual number of calls registered for them and we want to check how our forecast was accurate.

I have a problem with Forecast accuracy measure, I'd really appreciate your hints. It's easy to obtain it in Excel, here is how some part of forecast looks like.

Forecast DateFebruary 2020March 2020April 2020May 2020June 2020July 2020
10.01.202090110120100140130
10.02.2020 115125110140130
10.03.2020  125105130125
10.04.2020   105125120
10.05.2020    130120
10.06.2020     120


And here we have actual numbers of inbound calls:

MonthInbound calls
February 2020100
March 2020105
April 2020130
May 2020110
June 2020125
July 2020120



What I need, is two measures in powerBI - 1) Monthly forecast accuracy (MFA) and 2) Bimonthly forecast accuracy (BFA).

MFA is just Forecast for month/Inbound calls for month, forecasted in previous month.
What's important, forecast number is taken from the previous month forecasted date. It should look like this in Excel.

MonthMonthly Forecast accuracy comments
February 202090%  *forecasted in 10.01.2020
March 2020110% *forecasted in 10.02.2020
April 202096% *etc
May 202095% 
June 2020104% 
July 2020100% 

 

So, for February 2020 the result is 90/100 etc.


And here is BFA, where we check the accuracy for two aggregated months:

MonthForecast accuracy bimonthly 
March 202098%  *forecasted in 10.01.2020
April 2020102% *forecasted in 10.02.2020
May 202096% *etc
June 202098% 
July 2020102% 

 

For example, for March 2020 it's [(90+110)/(100+105)]

We take forecasted in 10.01.2020 number of calls for FEB+MARCH, and divide it by inbound calls for FEB+MARCH.

In PowerBI, due to the fact that there may be multiple forecasts for each months I struggle with finding proper DAX formula.
If I put months in rows, then MFA for each of them should be clear once I simply divide Forecast/Inbound calls, however I don't know how to filter forecast to use only the number from forecast made in previous month.
(So, for March 2020, the forecast number should be taken from 10.02.2020). That's my problem.

BFA seems to be even harder.


Do you have any idea how may I resolve it in PowerBI? 

I don't know how to upload my .xls file with all this data and metrics formulas, please, advise if you'd need it.

Thanks!

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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