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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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
Super User
Super User

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors