Forum Discussion
How to copy existing semantic model ?
- 10 months ago
Hi jaryszek , Thank you for reaching out to the Microsoft Fabric Community Forum.
Sorry for the confusion and lack of clarity in my earlier answer. When you export a semantic model to TMDL and then open it in Tabular Editor, you’re only loading the metadata locally. Renaming the model in Model -> Properties -> Name changes the definition, but it doesn’t actually create a new model in Fabric or inside Power BI Desktop. That’s why nothing shows up in your workspace after renaming.
To truly create a new semantic model in Fabric, you need to deploy the TMDL back to a server. Open the exported TMDL folder in Tabular Editor, rename the model, then go to File -> Save to Database…. When prompted, enter your Fabric workspace’s XMLA endpoint and give it a new database name. This pushes the model to Fabric as a brand new semantic model alongside the original.
If your goal is to use the model in a PBIX instead, open a new PBIX in Power BI Desktop, launch Tabular Editor from External Tools and then copy or import your TMDL model into it. Saving the PBIX afterward will preserve the cloned model inside the file.
Get started with Tabular Model Definition Language (TMDL) | Microsoft Learn
Use Tabular Model Definition Language (TMDL) view in Power BI Desktop - Power BI | Microsoft Learn
Hi jaryszek , hope you are doing great. May we know if your issue is solved or if you are still experiencing difficulties. Please share the details as it will help the community, especially others with similar issues.