cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
manojsv16 Regular Visitor
Regular Visitor

How the SQL Query generated by using Direct Query in Power BI?

Hello All,

 

Can anyone please help me understand how the SQL statement generated When using Direct Query.  Is Power BI is creating the SQL Statement based on the visuals and conditions we apply in report or the direct query connector creates the query depends on the database. 

 

We are connecting TDV Studio using custom connector.  TDV Studio has request log where it will store the SQL Query request from Power BI. Facing a lot of issues in SQL Query generated by Power BI like missing paranthesis, missing/incorrect alias name.  Please help me whether the SQL Query generated in Power BI or Custom connector. How can i get the query log in Power BI.

 

I would appreciate any suggestions

 

Thank you!!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How the SQL Query generated by using Direct Query in Power BI?

Hi @manojsv16 ,

 

You can use DAX studio to check the query. Please refer to this third - party bolg. Or you can use sql profiler to work on it.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: How the SQL Query generated by using Direct Query in Power BI?

Hi @manojsv16 ,

 

You can use DAX studio to check the query. Please refer to this third - party bolg. Or you can use sql profiler to work on it.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 235 members 2,716 guests
Please welcome our newest community members: