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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
JrBIAnalyst
Frequent Visitor

Identical semantic models, but only one has an error

I made some minor changes to a semantic model and republished it. It started giving me errors. First, "This dataset includes a dynamic data source." Great, I can fix that, and did. Then, "Could not resolve query definition. This error often happens after the Column or Entity was renamed or deleted."

 

So, I took the same semantic model, published it to the same workspace under a different name (think ModelName_test), and it refreshes just fine.

 

My initial instinct is to delete the semantic model and try again, but I can't because it is referenced by another report (not one of mine, unfortunately), and therefore can't be deleted.

 

So... what would you do next?

1 ACCEPTED SOLUTION

Hi @JrBIAnalyst 

please try below points.
In your PBIX file, temporarily add back the removed column, even if it's just a dummy or blank column with the same name and type. Then, publish the file again using the exact dataset name to replace the old one. This should allow the Service to accept the publish without errors, as the schema will match what is expected. Once everything is stable, you can use Tabular Editor or the XMLA endpoint to safely remove the unused column from the dataset object, preventing issues with downstream reports.

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Thanks.

View solution in original post

7 REPLIES 7
v-priyankata
Community Support
Community Support

Hi @JrBIAnalyst 

Thank you for reaching out to the Microsoft Fabric Forum Community.
@collinq @FBergamaschi Thanks for your inputs.

As requested by the users, please provide the details they asked for so we can analyze what happened and work towards resolving it. We are happy to assist you.

Hi @JrBIAnalyst 
Kindly share the requested details so we can analyze the issue and work towards a resolution. We’ll be glad to assist you.

Hi @JrBIAnalyst 

please try below points.
In your PBIX file, temporarily add back the removed column, even if it's just a dummy or blank column with the same name and type. Then, publish the file again using the exact dataset name to replace the old one. This should allow the Service to accept the publish without errors, as the schema will match what is expected. Once everything is stable, you can use Tabular Editor or the XMLA endpoint to safely remove the unused column from the dataset object, preventing issues with downstream reports.

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Thanks.

Hi @JrBIAnalyst 

Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.

collinq
Super User
Super User

Hey @JrBIAnalyst ,

As @FBergamaschi  metnioned, perhaps a column was renamed?  Or, did you delete a column OR, did you delete or rename the dataset?




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




FBergamaschi
Solution Sage
Solution Sage

IN the minor changes you made to the semantic model, did you cancel any column or table?

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

Yes, I did remove a column.  But the underlying issue is that for some reason, having removed the column results in the data model no longer publishing correctly. That's the part that I really need help with. Given that I can't delete the data model because of its downstream use, how do I force the new model to publish correctly?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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