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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Two weighted average columns based on different measures in a row

Hi, I need to create two different weighted average columns based on different measures in a row.

 

Sample data:

NameMeasure 1Measure 2Measure 3Measure 4Measure 5Measure 6Measure 7
Project 11432151
Project 22545412
Project 33211224

 

Weighted average column one: measure 1, 2 & 3  for the respective project in that row 
Weighted avergae column two: measure 4, 5, 6 & 7 for the respective project in that row 

Is this something that can be done in Power BI?

1 ACCEPTED SOLUTION

Hi,

 

Try this

 

WA 1 = ([Measure 1]+[Measure 2]+[Measure 3])/3


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

 

How should the weighted average be calculated and what answer are you expecting in each row?  What do those measures actually calculate?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi,

bi.PNG

WA1 would be calculated for Project 1 by: (1+4+3)/3 = 2.6666

WA1 would be calculated for Project 2 by: (2+5+4)/3 = 3.6666

WA2 would be calculated for Project 1 by: (2+1+5+1)/4 = 2.25

WA2 would be calculated for Project 2 by: (5+4+1+2)/4 = 3

 

Hi,

 

Try this

 

WA 1 = ([Measure 1]+[Measure 2]+[Measure 3])/3


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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