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
chall069
Frequent Visitor

Run multiple different queries on one database

Hi,

 

I need to run multiple different queries on one sql database in Power BI. Right now I am planning on creating a new connection to the database to run each query. This will take me a fair bit of time to do. Is there anyway to run all of these queries in one connection?

 

Thank you

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

in short, no.

 

What you should consider is disabling parallel load of tables. Otherwise you may overwhelm your SQL server during refresh.

View solution in original post

3 REPLIES 3
negi007
Community Champion
Community Champion

@chall069 Since each query that you run will create a new table. I hope this is waht you want to run multiple queries that will generate multiple tables in powe query window. 

 

Can you try below. 

1. Create your first query by connecting to the SQL DB.

2. for remaining queries you follow below steps

 

negi007_0-1615089406843.png

 

2. You just copy paste  server name and DB then paste your sql statement in the box below.

negi007_1-1615089449561.png

 

using above steps you may be speed up of your running sql queries. Let me know if it works for you.

 

 




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



Proud to be a Super User!


Follow me on linkedin

lbendlin
Super User
Super User

in short, no.

 

What you should consider is disabling parallel load of tables. Otherwise you may overwhelm your SQL server during refresh.

Thank you

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.