Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello Power BI Gurus,
I am new to Power BI and need help to rank my data based on two columns using Power Query.
I have explored ranking in desktop but my boss wants me to use Power Query.
Can anyone help me please?
I am providing some sample data base don which the ranking needs to be done.
ItemName | EndDate |
Recliner | 10/31/2020 |
Chair | 10/31/2020 |
Recliner | 10/31/2020 |
Recliner | 04/30/2020 |
Chair | 11/30/2019 |
Recliner | 01/01/2021 |
Recliner | 04/30/2020 |
Recliner | 10/31/2020 |
Chair | 11/30/2019 |
Chair | 11/30/2020 |
Chair | 10/31/2020 |
Solved! Go to Solution.
Hello @Anonymous ,
You would need to use the concept of grouping and indexing here.
I had a similar requirement and was able to achieve it.
Refer the attached file.See it's helpful for you.
Appreciate your Kudos if the solution helped.
Thank you for your response. Trying your solution.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.