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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
Can someone please help with the following - I need to Rank Customer ID by SalesDate Desc.
The Fact table I have has more than 10K customers and each has multiple sales records in the same day. Same day sales shall be ranked the same rank.
Solved! Go to Solution.
Hi @hassanh2
You can add calculated column with DAX Formula:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Hi @hassanh2
Did you download my linked file?
I checked it again now, and the results are correct...
Hi @Ritaf1983
Thank you for your support, but unfortunately the DAX you sent didnt return the result what I was looking for. In some cases the rank started from 2, also sometimes the rank was not consistent 1,2,4,7,...etc. I tried by adding Dense to your DAX but still didn't solve the issue.
Hi @hassanh2
You can add calculated column with DAX Formula:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Hi @hassanh2
Did you download my linked file?
I checked it again now, and the results are correct...
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 172 | |
| 107 | |
| 92 | |
| 54 | |
| 46 |