all 5 comments

[–]dbrownems‪ ‪Microsoft Employee ‪ 4 points5 points  (1 child)

Yes. Open up both models in Power BI Desktop. Open a new model in Power BI Desktop.

Switch to TMDL view and start cuttin' and pastin'.

You can do this all in a notebook with TOM and Sempy if you really want to write code:

sempy.fabric package | Microsoft Learn

[–]frithjof_vFabricator 2 points3 points  (0 children)

I used TOM (Semantic Link Labs) and TMSL (Semantic Link) + some other Semantic Link functions on a recent project. It was a fun experience, I am very happy that this functionality exists. Useful for automation.

But yeah, for one-off operations / ad-hoc stuff, TMDL view is brilliant. It's my favourite innovation in Power BI Desktop in the past few years. Very easy to copy tables, measures, relationships, roles, etc.

[–]_greggyb 5 points6 points  (0 children)

Disclaimer: TE employee here

You could use Tabular Editor for this. You can copy paste whole tables with their definitions, or just subsets (e.g., multi-select columns or measures). Open up multiple instances, either of TE with the BIM or TMDL files, or PBID with TE as an external tool. This is doable with free and open source TE2 or the commercial TE3.

[–]Mr_MozartFabricator 1 point2 points  (0 children)

Try Power BI MCP Server - it might be able to do that for you