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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.