Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have been asked to help a client with an exsting report. In the report there is a measure for which they cannot see the underlyign DAX formula.
The issue (I think) is that the report is based on another report that was copied and that then later was deleted.
The report works fine in the Power BI Service, but we cannot save the file as a PBIX file.
Are there other ways for us to get to the actual DAX query? (wothout having the original Desktop file)
Solved! Go to Solution.
Yes, there are a few ways to retrieve the DAX formula for a measure in a Power BI report:
Query Editor: If the data source is an Excel workbook, you can access the formula using the Query Editor in Power BI Desktop. Go to Home > Get Data > From File > From Excel and select the workbook. In the Query Editor, you can find the formula in the Applied Steps section.
DirectQuery/Live Connection: If the report is using DirectQuery or Live Connection, you can retrieve the formula by connecting to the data source (e.g. SQL Server database) using SQL Server Management Studio or another tool. The DAX formula is stored in the database and can be retrieved using a query.
DAX Studio: If the report is using Import or DirectQuery/Live Connection, you can use DAX Studio to retrieve the formula. DAX Studio is a free tool that can be used to connect to a Power BI report and retrieve the DAX formulas used in the report.
Note that if the original report was deleted, it may not be possible to retrieve the DAX formula without access to the data source.
I am not able to find the DAX expression, the problem we have is that the report is in Power BI Service but wre are not able to save it. And it seems as if the measure is only in the report.
Any other suggestions? @MAwwad
Thanks @MAwwad for a great list, I'll explore these options. Much appreciated 🙂
Yes, there are a few ways to retrieve the DAX formula for a measure in a Power BI report:
Query Editor: If the data source is an Excel workbook, you can access the formula using the Query Editor in Power BI Desktop. Go to Home > Get Data > From File > From Excel and select the workbook. In the Query Editor, you can find the formula in the Applied Steps section.
DirectQuery/Live Connection: If the report is using DirectQuery or Live Connection, you can retrieve the formula by connecting to the data source (e.g. SQL Server database) using SQL Server Management Studio or another tool. The DAX formula is stored in the database and can be retrieved using a query.
DAX Studio: If the report is using Import or DirectQuery/Live Connection, you can use DAX Studio to retrieve the formula. DAX Studio is a free tool that can be used to connect to a Power BI report and retrieve the DAX formulas used in the report.
Note that if the original report was deleted, it may not be possible to retrieve the DAX formula without access to the data source.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
34 | |
26 | |
24 | |
23 |
User | Count |
---|---|
62 | |
52 | |
30 | |
25 | |
23 |