Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Mohd_Naim
Helper I
Helper I

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 

2 ACCEPTED SOLUTIONS
negi007
Community Champion
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

 

dax copy.png




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

v-yingjl
Community Support
Community Support

Hi @Mohd_Naim ,

You could export to a Power BI Templates file and open it with text.

Here is the document for your reference.

https://visualbi.com/blogs/microsoft/powerbi/exporting-measure-column-formulas-power-bi/

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4

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"
     

rbartles111213_0-1697656690875.png

 

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

     

 

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

rbartles111213_2-1697656690877.png

 

  1. Then select Run and pick the place to save it. Then hit Save.
v-yingjl
Community Support
Community Support

Hi @Mohd_Naim ,

You could export to a Power BI Templates file and open it with text.

Here is the document for your reference.

https://visualbi.com/blogs/microsoft/powerbi/exporting-measure-column-formulas-power-bi/

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

negi007
Community Champion
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

 

dax copy.png




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Thanks @negi007,  let me check.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.