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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Data Appending from different servers

I'm importing data from mysql database , from DEV,ITG,PROD environment and creating a single dashboard which will show data of  all the 3 environment. All the tables and columnns in each environment are same but the data is different.

How can I differentiate the data is from a particular environment and how to append the data of all 3 environments.

 

Example:

DEV environment

DB_IDDB_NAMEOWNER
1xyzAman
2ghjaman

 

ITG environment

DB_IDDB_NAMEOWNER
1xyzAman
3asdaman

 

Combined data

DB_IDDB_NAMEOWNEREnvironment Type
1xyzAmanDEV
2ghjamanDEV
1xyzAmanITG
3asdamanITG

 

How to achive the combined data table in power bi(appending two environment data and a column of type)

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

I'd like to suggest you setting advanced t-SQL to add a custom column to store the source table name before you merge these tables, then you can simply combine these table records.

let
    Source = MySQL.Database("server1","table1",[Query="xxxxxx"]),
    Source2 =MySQL.Database("server2","table1",[Query="xxxxxx"]),
    Result= Table.Combine({Source,Source2})
in
    Result

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Is there any way other than combine/append as there are many tables and each time if I combine/append the tables the performance is poor and replication of data is more.

 

Anonymous
Not applicable

HI @Anonymous ,

You can try to do merge operation on the local file(e.g. put load data and merge data steps into excel worksheet), then you can use power bi to get the merged file, it should have better performance to loading data.  (merge operations on the huge amount of file will spend lots of resources and cause the performance issue)

I haven't found methods/options to effectively increase the performance of the query table who contains large amount of records and heavy calculation.
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors