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.
Hi, I need to create two different weighted average columns based on different measures in a row.
Sample data:
Name | Measure 1 | Measure 2 | Measure 3 | Measure 4 | Measure 5 | Measure 6 | Measure 7 |
Project 1 | 1 | 4 | 3 | 2 | 1 | 5 | 1 |
Project 2 | 2 | 5 | 4 | 5 | 4 | 1 | 2 |
Project 3 | 3 | 2 | 1 | 1 | 2 | 2 | 4 |
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?
Solved! Go to Solution.
Hi,
Try this
WA 1 = ([Measure 1]+[Measure 2]+[Measure 3])/3
Hi,
How should the weighted average be calculated and what answer are you expecting in each row? What do those measures actually calculate?
Hi,
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |