Forum Discussion
Anonymous
6 years agoNot applicable
Exporting Measures to a text file
Is there a way to "export" all teh Measures/DAX code to a text file from a PBIX file?
- 6 years ago
Hi Anonymous ,
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/
kunalrathi55
3 years agoFrequent Visitor
Steps to export measures from Power BI file.
1. Save the Power BI file as Power BI Template (.pbit)
2. Run the PowerShell script mentioned in this article to export all measures and calculated column expressions from the Power BI template file.