Forum Discussion

Mohd_Naim's avatar
Mohd_Naim
Helper II
5 years ago
Solved

Pull All DAX expressions

Hi Guys,

 

Is there any way to pull all DAX expression only used in .pbix into csv or pdf file.

 

Thanks,

Naim 

6 Replies

  • negi007's avatar
    negi007
    Community Champion

    Mohd_Naim  There is workaround to achive this. Using Dax studio, you can copy all the measures that you have created in your dataset

     

    1. Install Dax Studio (https://daxstudio.org/downloads/)

    2. Connect your model to your dataset

    3.  In dax studio select Define all measures to view all measures created by you

     

    • MiCel's avatar
      MiCel
      New Member

      Trying your solution with DAX studio gives me a lot of EXTERNAL_MEASUREs I don't want. Do you know of a solution to only see the measures I've added to a given semantic model I have to use?

       

      • rbartles111213's avatar
        rbartles111213
        Helper I

        Contact Power BI Sentinel (not affiliated with MS). Power BI Sentinel .com I believe. Schedule a demo. Tell them Rick B. said hi 🙂 . You can get all you need and more there!

  • Realize this is old but - 

    1. Open the Dataset\file with measures
    2. External Tools - Dax Studio
    3. Select DMV at top and search "measure"
       

     

    1. Limit Columns - select Measuregroup_Name, Measure_Display_Folder, Measure_Name, Expression from $SYSTEM.MDSCHEMA_MEASURES

       

     

    1. Select "Results" and change it to static.

     

    1. Then select Run and pick the place to save it. Then hit Save.