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
Birdjo
Resolver II
Resolver II

Native database query dangers

Hello,

This is what I get sometimes when using SQL statements in Power BI or Excel. 
Does anyone know if there are any real dangers for the data source database while using this method to get data?!

ndq.jpg

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Birdjo

 

In the Power Query Editor, the native database query will be passed to database and executed directly, every time you change the Query (like you pass a different parameter or change it in some other way), it will be treated as a "New". This is potentially dangerous. Also if you have any alter clause, it will change the database direct which is not safe.

 

Regards,

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.