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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.