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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Combining multiple databases into one db

Hello all,

 

I am currently working on 1 server with 23 databses with the same tables and columns. Is there a way that we can consolidate those 23 dbs into one and have their tables be combined or merged so that I can create a consolidated report.

I have already tried searching for ways and also tried using query parameters but I was not able to get it right, can anyone help me on this please.

Any suggestions or help will be very much appreciated.

 

Thanks!

2 REPLIES 2
Anonymous
Not applicable
Anonymous
Not applicable

Leon - 

Have you ever used "Folder as a source" in the Query Editor?  You can probably use the same approach for multiple databases/tables.

 

Essentially what you end up doing is creating a custom function that you then pass the database/table information into and the custom function parses the table.  Then it will ultimately extract all that data into one final table in the Query Editor.

 

Here's a post on the community I found that might answer your question: https://community.powerbi.com/t5/Desktop/How-to-connect-multiple-database-with-same-table-in-Power-B...

 

Hope that helps.

Eric

 

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.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.