Forum Discussion

speedramps's avatar
speedramps
Icon for Super User rankSuper User
4 years ago
Solved

How to export and import DAX measures from a Report?

How to export and import DAX measures from a Report


Here is the problem statement ….


A data scientist uses Power BI Desktop to create a data model and publishes it to the Power Bi Service.

A developer then uses Power BI Desktop to connect to the shared dataset, creates lots of DAX measures and publishes the report to Power Bi Service. Note the DAX measure are stored in the report and not in the shared dataset.

The data scientist likes the DAX measures and needs to share them. They therefore wants to export then from the report and import them into the Dataset in bulk, rather than copy and paste each measure.

What are the various options and best practice?

Thank you.

  • johnt75's avatar
    johnt75
    4 years ago

    Tabular Editor connects to Power BI Desktop, so both the data scientist and the developer would be able to use it.

7 Replies

  • onurbmiguel_'s avatar
    onurbmiguel_
    Icon for Power Participant rankPower Participant

    Hello, 

    we can use ALM Tollkit to compare (if  you have 2 datasets): 

    http://alm-toolkit.com/

    with this tool you can updated one of dataset in bluk. 

     

    My sugestion is to explorer this option. 

     

    Best regards

    Bruno Costa | Continued Contributor

     

    Did I help you to answer your question? Accepted my post as a solution! Appreciate your Kudos!! 👍

    Take a look at the blog: PBI Portugal 

     

     

  • Tabular Editor 3 can generate a script to create all the measures, calculated columns etc, which you could then run on the base model. Not sure if that functionality is available in Tabular Editor 2

    • speedramps's avatar
      speedramps
      Icon for Super User rankSuper User

      Thank you John75.

      I know Tabular Editor editor can connect to the dataset,
      but can it connect to the report?
      Then export DAX measure in bulk from the Report and import them to a Dataset?

       

      Remeber the quetion is how to export and import DAX measures from a Report.

      Not how to export and import DAX measures from a Dataset to Dataset.  

      Thank you for your valuable time and sharing knowledge, it is very much appreciated.

      • johnt75's avatar
        johnt75
        Icon for Super User rankSuper User

        Tabular Editor connects to Power BI Desktop, so both the data scientist and the developer would be able to use it.

  • onurbmiguel_ Thank you for the reply, but you have given wrong answer to the question. 🙄

    There is only one dataset and the dax measure are in the report.

    Remeber the quetion is how to export and import DAX measures from a Report.

    Not how to export and import DAX measures from a Dataset to Dataset.  

    Thank you