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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Fabian_MZ
New Member

Power Query: SQL-String does not show up anymore

Until now it was possible to get the SQL displayed that is sent to the server via ODBC.
The moment the query was refreshed, a window appeared with the SQL string to be confirmed.

 

This was possible via Option "Require user permission for native database queries" selected (checkmark set) in

[Data]/[Get data]/[Query options]/[Security].

image.png

 

The window does no longer appear just recently, the query runs directly (although the option is still selected). 

 

How can I now get the SQL string displayed that PQ sends to the server?

 

 

Windows-Excel-Version:

 image.png

2 REPLIES 2
Fabian_MZ
New Member

Hi Stephan,

to import that data is not my problem, I know how that works.

 

But the SQL I send to the server is build up by serveral parameters in PQ. 

So for debugging reasons it is necessary that at I have the option to see the SQL statement _before_ it is send to the server. 

Therfore I need that window to show up again - like it did (and like it should as far as I understand that option).

 

So how can I achieve that?

Anonymous
Not applicable

Hi @Fabian_MZ ,

 

Please refer to the following official document, it introduces how to enter a native database query and how to modify it.

Import data from a database using Native Database Query (Power Query).

 

 

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.