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
The 1-20 would stay the same as each team goes up/down.
Solved! Go to Solution.
Hi @Fedup
Try visual calculation
Row =
IF ( ISATLEVEL ( [Team] ), ROWNUMBER ( ORDERBY ( [Sum of Points], DESC ) ) )
Format the calculation to whole number
As we haven't heard back from you, we would like you to please share the sample PBIX file shown above? This will help in understanding your scenario and providing an accurate solution.
Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support
Hi @Fedup
Try visual calculation
Row =
IF ( ISATLEVEL ( [Team] ), ROWNUMBER ( ORDERBY ( [Sum of Points], DESC ) ) )
Format the calculation to whole number
Hi,
This visual calcution measure works
S. No. with vis calc = if(ISATLEVEL([Presenter]),ROWNUMBER(ROWS,ORDERBY([Date Presented],ASC)))
Alternativel, this measure will work
S. No. = ROWNUMBER(ALLSELECTED(Data),ORDERBY(Data[Date Presented]))
Hope this helps.
Hi @Fedup use this dax measure to get the correct order
Position =
RANKX(
ALL(Team),
CALCULATE(MAX(Team[Points])),
,
DESC,
DENSE
)
Results:
Thanks
You need to create a measure and it should have correct Table and column name. Then use it in the table visual.
Create a measure:
Select Table -> Right Click -> New Measure -> Pest the code
Note: You can not directly run measure in DAX Query View, the format is littlebit different.
Thanks
You can use a visual calculation as below:
Hi @Fedup, you mean as a fixed index that shouldn't change as their ranking changes?
If you don't have anything that you can order it by to maintain the order you predefined (e.g. not sorted by Name alphabetically) you can only really do this via Power Query Editor:
Hi @Fedup
Position =
RANKX(
ALL('Teams'),
'Teams'[Points],
,
DESC,
DENSE
)
If this response was helpful in any way, I’d gladly accept a 👍much like the joy of seeing a DAX measure work first time without needing another FILTER.
Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop 🌀.
If this response was helpful in any way, I’d gladly accept a kudo.
Please mark it as the correct solution. It helps other community members find their way faster.
Connect with me on LinkedIn
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 |
|---|---|
| 55 | |
| 34 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 71 | |
| 38 | |
| 35 | |
| 25 |