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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.