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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
tvprk
Regular Visitor

Multiple Databases

Hi Team,

 

I have to fetch combined data from 6 Data bases and create dashboards,all 6 are  SQL DB Servers, I used to do same Using a macro which loops from database-database and fetch me data, but how can i do it in desktop version.

 

Please help

 

Thanks,

T.V.P.Ramakrishna

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

Just create a query for each database. If you need to append or merge them together then create an Append or Merge query after creating your individual queries.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks For the Reply, but while appending  it is taking me to Joins which are done by  matching column values together-- this is creating a wrong Merged Sheet. below is the scenario.

 

Database1  and Database2 both have columns--  Bug, event name, release name. but these  two can not be joined as values in them are  different.  while trying  to merge/append queries is taking Bug.id which is a just number also common in both databases, say if i have 20 rows  in DB A  and 5 Rows in DB B , merge (All joins tried, with Full outer join) is giving me 20 * 5 = 100 Rows. which is very incorrect for analysing  what my expection is  just adding DB B values below DB A Values 20 + 5, and  clubbed table should be like below.

 

Bug      event    release

DB A values

DB B Values

 

Also, i have 118 Databases in my server i used to fetch all record at one click with macro with looping runing into all db's. Expecting same kind of workaround here in Power BI is that possible ?

 

Please help and make me understand if i am wrong .

 

 

 

 

Anonymous
Not applicable

If your two database use the same (or similar) columns, an append should be exactly the 20 + 5.  By your description it sounds like you clicked "Merge Queries" instead of "Append Queries"?

Hi,

 

I am making such report manually and want to automate it. I am new to this field and any help or guidance will be much appreciated. 

 

I have 7 different databases and I have combined them all resulting in a summarised compiled report. I have to send this every month. I was thinking of creating a model and just the data gets refreshed every 30 days. 

 

I was researching on Power BI desktop as we have the license for same. Any directions to proceed?

Hi,

 

I am making such report manually and want to automate it. I am new to this field and any help or guidance will be much appreciated. 

 

I have 7 different databases and I have combined them all resulting in a summarised compiled report. I have to send this every month. I was thinking of creating a model and just the data gets refreshed every 30 days. 

 

I was researching on Power BI desktop as we have the license for same. Any directions to proceed?

Helpful resources

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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