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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Sorted Rows is not recognized in Power Query

Hello PBI Community.

 

I am trying to add a query but I am getting an error in that Expression.Error: The name 'Sorted Rows' wasn't recognized. Make sure it's spelled correctly. 

 

Can you help me with it?

I am actually trying to use an incremental refresh and for that, I am converting my Date/time parameters to synchronized with my Date column, by using said formula. 

 

and I am using this Link. https://docs.microsoft.com/en-us/power-bi/connect-data/incremental-refresh-configure#convert-datetim...

 

Thank you.

MFelix
amitchandak
Greg_Deckler
Super User IV

 

Super User IV

 

Super User III

 

@MFlex

hinaghous_0-1621328041359.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Anonymous,

Power query is steps-based languages, normally its query steps are continuous so the next steps will reference the previous step as the source.

According to the error message, it seems like you direct copy the external query steps. I think you need to enter to 'advanced query editor' to copy the 'previous step' name to replace the 'Sorted Rows' to fix the issue.

14.png

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @Anonymous,

Power query is steps-based languages, normally its query steps are continuous so the next steps will reference the previous step as the source.

According to the error message, it seems like you direct copy the external query steps. I think you need to enter to 'advanced query editor' to copy the 'previous step' name to replace the 'Sorted Rows' to fix the issue.

14.png

Regards,

Xiaoxin Sheng

HotChilli
Community Champion
Community Champion

Replace #"Sorted Rows" text with the name of the previous step. I haven't looked at the logic for the rest of it but that'll get you further

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.