cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PBILover
Helper IV
Helper IV

Merge and Merge VS new

I have a table from  Source 1, and another detail table from Source 2 in a power BI. In my case  1 row from the table one can have multiple rows in second table.(Primary key - foreign key relationship). I want to combine the data from both the tables as below

Id -Table 1Channel- Table 1Id -Table 2 Type-Table 2Time
1Email1Processed12/04 2.03:00
  1delivered12/04 2.03:05 

 

So my question is shall I use Merge or Merge as new option . As both tables will have millions of records , which approach will be good ? how to avoid duplicate data loading in power BI?

How Merge Vs Merge as new in a power BI works?

Thank you very much in advance .

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @PBILover,

According to your data amount, I do not so recommend you to merge these tables. (they should affect the performance)
You can consider extracting the key fields from two tables as the bridge to link them. Then you can use header table and detail table fields to create data visualizations without any merger operations.

How to Join Many to Many with a Bridge Table in Power BI 

In addition, you can also try to join functions if you needed.

From SQL to DAX: Joining Tables 

Merge Vs. Append In Power BI In Power Query Editor 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @PBILover,

According to your data amount, I do not so recommend you to merge these tables. (they should affect the performance)
You can consider extracting the key fields from two tables as the bridge to link them. Then you can use header table and detail table fields to create data visualizations without any merger operations.

How to Join Many to Many with a Bridge Table in Power BI 

In addition, you can also try to join functions if you needed.

From SQL to DAX: Joining Tables 

Merge Vs. Append In Power BI In Power Query Editor 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Ignite 2022

What's Next at Microsoft Ignite 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Top Solution Authors
Top Kudoed Authors