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 am trying to rank all employees by NPS (which is calculated as the average of NPS by row) in a table with the manager alongside the employee name but not included in the ranking group.
From my research I tried the formula below:
Solved! Go to Solution.
If i understand you correctly, you could create measures as below :
avg = CALCULATE(AVERAGE('Table'[NPS]),ALLEXCEPT('Table','Table'[employee])) rank regradless of manager = RANKX(ALL('Table'),[avg],,DESC,Dense) avg2 = AVERAGE([NPS]) rank by manager group = RANKX(ALL('Table'[employee]),[avg2],,DESC,Dense)
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is this problem sloved?
If it is sloved, could you kindly accept it as a solution to close this case?
If not, please let me know.
Best Regards
Maggie
Is this problem sloved?
If it is sloved, could you kindly accept it as a solution to close this case?
If not, please let me know.
Best Regards
Maggie
If i understand you correctly, you could create measures as below :
avg = CALCULATE(AVERAGE('Table'[NPS]),ALLEXCEPT('Table','Table'[employee])) rank regradless of manager = RANKX(ALL('Table'),[avg],,DESC,Dense) avg2 = AVERAGE([NPS]) rank by manager group = RANKX(ALL('Table'[employee]),[avg2],,DESC,Dense)
Best Regards
Maggie
Community Support Team _ Maggie Li
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |