Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Sort date in ascending order by Category using power query

Hi, I would like to know how to sort date in terms of Category, in the ascending order.

Category Date

A              Date 1

A              Date 2 (Earliest)

A              Date 3 ( Latest)

 

B              Date 4(Latest)

B              Date 5(Earliest)


C              Date 6(Latest)

C              Date 7(Earliest)
C              Date 8

 

and so on....


Thank you.

 

 

1 ACCEPTED SOLUTION
Payeras_BI
Solution Sage
Solution Sage

Hi @Anonymous ,

If I understood you correctly. First sort Category Order.Ascending and then Date Order.Descending.

Payeras_BI_0-1612776844309.png

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

View solution in original post

2 REPLIES 2
Payeras_BI
Solution Sage
Solution Sage

Hi @Anonymous ,

If I understood you correctly. First sort Category Order.Ascending and then Date Order.Descending.

Payeras_BI_0-1612776844309.png

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain
Anonymous
Not applicable

Yes. Sorry if i didn't phrase my question properly. Category is okay. Just that the date is in ascending order but the solution is there. Thanks!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors