March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |