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
Anonymous
Not applicable

DAX to SQL Query

Hi,

 

Is there any way to convert a Power Bi DAX query to a SQL query fast - like an online tool/converter?

 

 

3 REPLIES 3
isaac-m
New Member

Hi -- Have you ever gotte an aswer on this.  I Really Really need assistance here.  Thnx

v-gizhi-msft
Community Support
Community Support

Hi,

 

You can use SQL Server Profiler to capture the SQL query when refreshing data on Power BI Desktop.

Reference:

https://docs.microsoft.com/en-us/sql/tools/sql-server-profiler/sql-server-profiler?view=sql-server-v... 

 

Best Regards,

Giotto Zhi

TomMartens
Super User
Super User

Hey @Anonymous ,

 

basically, there is no such tool. But maybe you can try this, create a direct query connection , and trace the query using SQL Server Profiler or DAX Studio: https://www.sqlbi.com/articles/analyze-directquery-requests-using-dax-studio/

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.