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

View all the Fabric Data Days sessions on demand. View schedule

Reply
DionTN
Helper II
Helper II

Calculate average of calculated table

I have a table with averages. Now i want to have the average of the averages in another table and fill the row.

DionTN_0-1661408099941.png

 

So in the last table i need 7.63.

The function i use is:

 

 

Kolom = IF(webgraph[Category] = "Lichaamssamenstelling", var a = AVERAGE(calctable[BodyComp2]) return a)

 

 

Anyone who can help me?

 

 

BTW, I also need to do this for other rows. So I need to add elseif webgraph[Category] = "Cardio" a=average(calctable[cardio2])

2 REPLIES 2
amitchandak
Super User
Super User

@DionTN , Usually when need avg or Avg in Grand total Assume body Comp2 is an average measure

 

AverageX(values(Table[FullName]), [body Comp2])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  Unfortunately still got the 7.31. Used this function:

 

Kolom = IF(webgraph[Category] = "Lichaamssamenstelling", AVERAGEX(VALUES(calctable[Fullname]),[BodyComp2])

 

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
Top Kudoed Authors