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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
gbag3
Frequent Visitor

Suppress Native Database Query warning

 

 

Is there anyway I can suppress below's warning from Power BI?  I have a query that connects to an Oracle database and every time I open Power BI, this warning pops up.  Right now, it is only an eye sore since all I have to do is select Run to suppress the warning.

Query.PNG

Thank you,

Garry

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @gbag3

 

You can find it in Options and then disable it as shown below.

 

Email Pic.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

8 REPLIES 8
JohnLesher
New Member

Can we set this value using a registry entry?  If so, where is the registry key located?

 

John Lesher

Creating a DWORD value with the name DisableNativeDbQueryPrompt and setting the value to 1 will disable native query prompts. The registry path to create this value is in one of the following:

  • 32-bit (on a 64-bit system): HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft Power BI Desktop
  • 64-bit (or 32-bit on a 32-bit system): HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Power BI Desktop

 

Thanks.

JohnLesher
New Member

Can we set this value using a registry entry?  If so, where is the registry key located?

 

John Lesher

Good question.   How can we address this for our users?   

I'm not sure if there is a registry key setting




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

GilbertQ
Super User
Super User

Hi @gbag3

 

You can find it in Options and then disable it as shown below.

 

Email Pic.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Thank you @GilbertQ ! It worked.

 

Garry

Awesome




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
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.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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