Forum Discussion

Power_Be_Eye's avatar
Power_Be_Eye
New Member
6 months ago
Solved

How to Transfer DAX Measures, Calculated Columns, and Relationships Between Two Power BI Datasets

Hi everyone, I have two Power BI datasets that contain the same tables with identical names. I would like to copy all calculated columns, measures (DAX), and the table relationships from one datase...
  • cengizhanarslan's avatar
    cengizhanarslan
    6 months ago

    Tabular Editor is generally safe from a data-security perspective when used normally. It works primarily with model metadata, not the underlying data.

  • m4ni's avatar
    6 months ago

    Power_Be_Eye some other optons you can consider too..

     

    ALM toolkit.  

    This tool compares two datasets and lets you:

    • See differences

    • Select what to deploy between them

    • Push only measures / relationships / columns

    Again, requires XMLA endpoint.

     

    Lastly, TMDL view.

    If you're using the newer model format:

    1. Open the source PBIX

    2. Go to TMDL View

    3. Copy the model definition files

    4. Paste into the target model

    Sharing for reference , HTH.

  • danextian's avatar
    6 months ago

    You can use TMDL

    Paste that into the TMDL view of the other dataset. This will overwrite existing tables and columns and create any new ones that don’t yet exist. Before clicking Apply, remove all lineage tag lines. For calculated columns and measures that exist in the source but not in the target dataset, those will be removed so handling them will require a fairly manual process.