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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Vickchan
Regular Visitor

Error in date sort from query editor

Error is found in date sort from query editor in PowerBI desktop.

As a result, i need to perform sort in descending order in data view.

However, i cannot vlookup date correctly for the sebquence steps.

 

My data have 56000 rows, would it be the root cause of date sort error in PowerBI desktop? 

 

pls help

  

date sort in query editordate sort in query editor

Error in date sort in data viewError in date sort in data viewError in date sortError in date sortCorrect date sort after addiional sort in data viewCorrect date sort after addiional sort in data view

1 ACCEPTED SOLUTION
ebeery
Solution Sage
Solution Sage

@Vickchan to my knowledge, you cannot (and should not) rely on the sort order of a table loaded into Power BI from Power Query, due to the way the Vertipaq compression works.

 

See this similar answer here:

https://community.powerbi.com/t5/Desktop/Problem-with-sort-order-changing-after-load-into-model/m-p/... 

 

I would really recommend you take a different approach here, one that doesn't rely on a sort order for downstream processing.  

View solution in original post

1 REPLY 1
ebeery
Solution Sage
Solution Sage

@Vickchan to my knowledge, you cannot (and should not) rely on the sort order of a table loaded into Power BI from Power Query, due to the way the Vertipaq compression works.

 

See this similar answer here:

https://community.powerbi.com/t5/Desktop/Problem-with-sort-order-changing-after-load-into-model/m-p/... 

 

I would really recommend you take a different approach here, one that doesn't rely on a sort order for downstream processing.  

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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