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 6 measures based on which I am generating a ranked scoring (meaning, based on the value of the measure a rank is assigned which acts as its score, to get the overall score/rank). Measures are as follows:
Measure1 (Units Handled): [UH] = DIVIDE(SUM(Fact_Table1[Units]), SUM(Fact_Table1[Hours]))
Hi @RavitPBI ,
You can simplify these measures by putting them into a measure by definition
Measure =
Var _UH_Score = RANKX(ALLSELECTED('Dim_Organization'[Organization_cd]),[UH],, ASC)
Var _CPU_Score = RANKX(ALLSELECTED('Dim_Organization'[Organization_cd]), [CPU],,DESC)
Var _Delta_UH_Score = RANKX(ALLSELECTED('Dim_Organization'[Organization_cd]),[Delta_UH],, ASC)
Var _Delta_CPU_Score = RANKX(ALLSELECTED('Dim_Organization'[Organization_cd]),[Delta_CPU],, DESC)
Var _Overall_Score= (_[UH_Score + _CPU_Score + _Delta_UH_Score + _Delta_CPU_Score) / 4
Var _Overall_Rank = RANKX(ALLSELECTED('Dim_Organization'[Organization_cd]), __Overall_Score)
return _Overall_Rank
Here is a link of related contents, hoping to help you:
https://www.sqlbi.com/articles/how-to-compute-index-numbers-at-top-speed/
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |