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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.