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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Flexible calculation between forecast and actual tables

Hi team,

 

I'm trying to understand how to manage different fact tables for forecast and actual values flexibly.

 

Exemplifying my case, I have the following fact tables:

- 2 distinct tables for actual values (listed for some different areas) of 2 different clusters (say A, B)

- 2 distinct tables for forecast values (as above, listed for different areas) of the same clusters (A, B)

- 1 table for a cluster where actuals and forecast values coincide (cluster C, Actual = Forecast)

TablesTables

 

My dimension tables are:

- Datetime (granularity)

- Areas

 

I need to perform different operations with these data, such as:

- calculate the total actual and forecast for each hour

- calculate the forecast error for each hour at different levels (total error: total forecast - total actual; zone specific error: zone forecast - zone actual)

- evaluate forecast sign (< 0 or > 0)

- evaluate relative and absolute percentage errors...

 

With my poor skills, I used to merge tables, or use poor relationships...Now I see I need a more efficient way to manage this data: what is the best way? Merged table? Calculated table/columns? Only relationships? Could you please help with some suggestions?

 

I provide a sample Excel and Pbix file.

Excel sample 

PBIX sample 

 

thanks 

2 REPLIES 2
Anonymous
Not applicable

Thanks @v-easonf-msft 

 

But how can I calculate the difference between actual and forecast (where the difference must be evaluated hour by hour, and then summed), once I have a single table?

v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

You don't need to create separate actual tables and forecast tables for each cluster.

You can consider adding a new field "cluster" and then append all actual tables/forecast tables together.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors