Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
I would need some help with a column ranking names in a table.
The problem is that the customers can change the ResourceName but the ResourceID will stay the same.
I need to rank the ResourceName-s, grouped by the ResourceID-s, and the freshest/newest to have the Rank number 1 for every ResourceID group.
Any help would be much appreciated.
See the example data and an added expected Rank result column in it.
ExampleFileCanBeDownloadedHere
Many thanks,
Roland
Solved! Go to Solution.
https://www.dropbox.com/s/5g55kwxdws7i6pm/rfarago.pbix?dl=0
https://www.dropbox.com/s/5g55kwxdws7i6pm/rfarago.pbix?dl=0
Thank you @Jihwan_Kim ,
This looks like exactly what I was looking for. I guess the Max Starttime is not someting difficult. I will try this tomorrow at work!
Kind Regards,
Roland
@Anonymous , A new column like
rank = rankx(filter(Table, [resource id] = earlier([resource id])), [resourceName],,desc,dense)
But I doubt you will get same order
Thanks @amitchandak ,
Yes, the problem is that I need it to be in order by the starttime. :S
As it can be changed the same day and I need the freshest to be the number 1.
I was thinking somehow to get the MAX of the ID row involved in the formula as that is an autoincrement, so the same day the highest ID for every ResourceID to be the number 1 rank... That might rank it the same way I need.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 51 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |