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! Request now

Reply
tomekm
Helper III
Helper III

Calculate average of averages for each case ID

Hello,

 

a) I'm trying to create a calculated column that will calculate the average of already computed averages, for each case ID. Below is my data. The last column is what im trying to get, and it should be responsive to any filters I apply later on.

 

b) In addition I also want to create an overall average calculation for all Cases looked at together, like this: calculation: Overall average for all cases: 20.65 (29.8+11.5/2)

 

CaseAVERAGE for each CaseOverall Average for Case
1a27.6829.8
1b27.6829.8
1c27.6829.8
1d31.9229.8
1e31.9229.8
1f31.9229.8
2a10.511.5
2b11.311.5
2c12.711.5

 

Thank you.

1 ACCEPTED SOLUTION
Cookistador
Super User
Super User

Hello,

 

The following measure should return the average for Case

Overall Average for Case =
CALCULATE(
AVERAGE( YourTable[CaseAVERAGE] ),
ALLEXCEPT( YourTable, YourTable[Case] )
)

 

This measure should return the overall average

Overall Average of Case Averages =
AVERAGEX(
VALUES( YourTable[Case] ),
CALCULATE( AVERAGE( YourTable[CaseAVERAGE] ) )
)

 

Let me know if you need more help 🙂

View solution in original post

2 REPLIES 2
Cookistador
Super User
Super User

Hello,

 

The following measure should return the average for Case

Overall Average for Case =
CALCULATE(
AVERAGE( YourTable[CaseAVERAGE] ),
ALLEXCEPT( YourTable, YourTable[Case] )
)

 

This measure should return the overall average

Overall Average of Case Averages =
AVERAGEX(
VALUES( YourTable[Case] ),
CALCULATE( AVERAGE( YourTable[CaseAVERAGE] ) )
)

 

Let me know if you need more help 🙂

Great! Thank you..

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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