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
Jonakam01
Regular Visitor

Expression.Error: Evaluation resulted in a stack overflow and cannot continue

Please help with a workaround solution. I am trying to create a new query in an already existing report by using the GetData >Blank Query>Advance Editor. So I am using a data querying (which combined 2 tables from sharepoint folders) and transformation (Cleaning/moddelling) script from previous successful project/report. Each time I try to run this script into this existing report Power Query returns Expression.Error: Evaluation resulted in a stack overflow and cannot continue. I tried different solutions found on this forum but they don't seem to suit my issue. Below is the content of the script:

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Jonakam01 ,

 

Please refer to this similar thread:

https://community.powerbi.com/t5/Desktop/Expression-Error-Evaluation-resulted-in-a-stack-overflow-an...

https://community.powerbi.com/t5/Power-Query/Data-Flow-PowerQuery-Error-Evaluation-resulted-in-a-sta...

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PhilipTreacy
Super User
Super User

Hi @Jonakam01 

No script was included in your message.

Try breaking your query into parts.  Just try the code that gets the tables from Sharepoint.  Does that work?

If so, then add the transformation steps.

You may need to manually create the transform steps if your copy/pasted code breaks the query.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

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.

Top Solution Authors