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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.