Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi experts!
How is it possible to get a rank column based on a DateTime column?
Solved! Go to Solution.
Hi,
For duplicates we can modify the last optional parameter of RANKX e.g.
Dense:
Skip:
In addition to this we can add an index column to the table and use that as a secondary ranking:
Proud to be a Super User!
Hi,
Here is one way to do this:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
@ValtteriN : Thanks a lot! Does this work with duplicates? It seems like not. How can we add this aspect into the function?
Hi,
For duplicates we can modify the last optional parameter of RANKX e.g.
Dense:
Skip:
In addition to this we can add an index column to the table and use that as a secondary ranking:
Proud to be a Super User!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |