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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi, I have a table and need to find like Rank(Required Column).
I need to get DAX column like Rank for each Project and Order via Date . For example Project P1 have order A and B and their Date so that for Order A result will be like 1 and 2 and also for B will be 1 and 2 as show below:
for P2:
For P3 there are two order but repeat three times so that output will be
How can achieve using DAX Column
Row data:
Project | Order | Date |
P1 | A | 9/14/2025 |
P1 | A | 9/15/2025 |
P1 | B | 9/16/2025 |
P1 | B | 9/17/2025 |
P2 | C | 5/7/2025 |
P2 | D | 5/7/2025 |
P2 | C | 5/9/2025 |
P3 | G | 7/8/2024 |
P3 | H | 7/9/2024 |
P3 | H | 7/10/2024 |
P3 | G | 7/5/2024 |
P3 | H | 7/6/2024 |
P3 | G | 7/7/2024 |
Solved! Go to Solution.
Hi @Jyaul1122 ,
Thanks for reaching out to the Microsoft fabric community forum.
I have used the DAX code provided by @johnt75 to create the required rank order for your data
Here is the generated output:
Attaching the .pbix file for reference
I hope this information helps. Please do let us know if you have any further queries.
Thank you
Hi @Jyaul1122
As we haven’t heard back from you, we wanted to kindly follow up to check if the suggestions provided by the community members for the issue worked. Please feel free to contact us if you have any further questions.
Thanks and regards
Hi @Jyaul1122
May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.
Thank you
Hi @Jyaul1122 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.
Thank you.
Hi @Jyaul1122 ,
Thanks for reaching out to the Microsoft fabric community forum.
I have used the DAX code provided by @johnt75 to create the required rank order for your data
Here is the generated output:
Attaching the .pbix file for reference
I hope this information helps. Please do let us know if you have any further queries.
Thank you
Heyyy,
this is your column
You can create a calculated column like
Rank = RANK(
ALL( 'Table'[Project], 'Table'[Order], 'Table'[Date] ),
ORDERBY( 'Table'[Date], ASC ),
PARTITIONBY( 'Table'[Project], 'Table'[Order] )
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.