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
v-hashadapu thank you but this: "point it to the exported folder, and your model will open. " is prompting to do erver connection:
and after clicking "Yes" it is pointing to:
If i will click "No" i will have tables inside:
but after changing Model Name within Model Property it is not doing anything. Power Bi desktop is still called "Untitled" and new semantic model is not created in Fabric environment.
Best,
Jacek
- v-hashadapu10 months agoCommunity Support
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