Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
How do you rank teams using the RANKX formula? The one we're using keeps returning a value of '1'. We have two teams in the department we're ranking (Strategic Ops and Quick Strike). The individual reps have been ranked, but the teams aren't following suit:
Our formula is the following:
Solved! Go to Solution.
Hi @Alta88 ,
Please try this code to do this:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Alta88 ,
Please try this code to do this:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The expected result is to rank each team in ascending order based on how individual reps' rankings. Right now it returns only a value of '1'. One of the two teams will rank higher than the other per the Reps in each. Here's another version of the data:
| Teams | Rank Rep | Rank Team |
| Strategic Ops | 18 | 1 |
| Strategic Ops | 20 | 1 |
| Strategic Ops | 61 | 1 |
| Strategic Ops | 70 | 1 |
| Quick Strike | 70 | 1 |
| Strategic Ops | 30 | 1 |
| Strategic Ops | 19 | 1 |
| Strategic Ops | 15 | 1 |
| Strategic Ops | 14 | 1 |
| Strategic Ops | 33 | 1 |
| Strategic Ops | 43 | 1 |
| Strategic Ops | 8 | 1 |
| Strategic Ops | 69 | 1 |
| Quick Strike | 20 | 1 |
| Strategic Ops | 90 | 1 |
| Quick Strike | 98 | 1 |
| Quick Strike | 33 | 1 |
| Strategic Ops | 19 | 1 |
| Strategic Ops | 15 | 1 |
| Quick Strike | 72 | 1 |
Hey,
what is the expected result based on the sample data you provided? Not to mention, that a picture can not be easily used to recreate the data to try something. I will not spend time on using screen reader to extract the data from pictures, sorry.
Regards,
Tom
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 38 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |