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.
I have a measure called [Weighted Score] which calculates a percentage - multiplying Result by Weight. There are three weights, depending on the Category:
Category Weight Result Weighted Score
A .4 64.3 25.7%
C .25 66.7 16.7%
E .35 100.0 35.0%
I need an 'Overall Weighted Score' measure which adds the three weighted scores up. So in my example, the total would be 77.4%.
I cannot for the life of me get DAX to do this.
HELP!
Solved! Go to Solution.
Figured it out.
Created three Variances - using Calculate, to manually create the three separate Weighted Scores
Returned var 1 + var 2 + var 3
I'm sure there is a more efficient way to do this, but I got the result I wanted.
Figured it out.
Created three Variances - using Calculate, to manually create the three separate Weighted Scores
Returned var 1 + var 2 + var 3
I'm sure there is a more efficient way to do this, but I got the result I wanted.
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |