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
msgilbert
New Member

Queries Metadata Error

Hello,

After installing newer version of Power BI desktop, I'm attempting to Upgrade report to remove the enhanced metadata format error banner showing. I'm getting the following error and am not sure where to go to resolve?

 

Queries Metadata
Failed to save modifications to the server. Error returned: 'The Folder 'Transform File from X' is invalid because the parent folder 'Transform File from X' does not exists in the Model. '.
 
X is just to hide folder name
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@msgilbert , This is smiliar kind of issues after the update that user have faced and has been discuused. (Not same as yours)

You need check for \n  , \" that got added into the scripts.

Refer

https://www.fourmoo.com/2019/12/03/aas-processing-error-error-returned-m-engine-error-microsoft-data...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
msgilbert
New Member

I fixed it by removing all of the transform queries and then allowing it to upgrade report. 

This also worked for me - thank you!!

amitchandak
Super User
Super User

@msgilbert , This is smiliar kind of issues after the update that user have faced and has been discuused. (Not same as yours)

You need check for \n  , \" that got added into the scripts.

Refer

https://www.fourmoo.com/2019/12/03/aas-processing-error-error-returned-m-engine-error-microsoft-data...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
mahoneypat
Microsoft Employee
Microsoft Employee

I haven't faced that error.  But one thing you could try is to start a new query with Combine and Transform to the same content, and then copy the M code from the Advanced Editor and paste into the equivalent lines of the original queries.  Then delete the new ones (no longer needed).

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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