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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Forecast Accuracy: Calculate the Category average based on percentages subcategories

Hello friends,

I'm struggling with this issue for like a month, anybody could help me please?

I have two tables:
Forecast Table:
Account
Category 
Subcategory
SubSubcategory
Forecasted Value

Actual Table:
Account
Category 
Subcategory
SubSubcategory
Actual Value

I would like to calculate my forecast accuracy in two methods (like in the simplified table below) :
- Weighted Average Accuracy (easy, I got this)
- Non Weighted Average of the Subcategory Accuracies (in yellow)

lorenzo_cassina_3-1666028525858.png

 

After this, I need to be able to filter the results by "Account" with a slicer on my dashboard.
This will allow me to understand how well the Account has forcasted for each Category, Subcategory and the third is a KPI that kind of average the two.
I think this could be done with some DAX VAR or GROUPBY but didn't manage to do make it right now.. Any ideas folks?
 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Is [Weighted Average Accuracy] a measure?

Try this formula:

measure = averagex(filter(table,table[category]=selectedvalue(table[category])),[Weighted Average Accuracy])

 

Best Regards,

Jay

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

Is [Weighted Average Accuracy] a measure?

Try this formula:

measure = averagex(filter(table,table[category]=selectedvalue(table[category])),[Weighted Average Accuracy])

 

Best Regards,

Jay

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors