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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
PBILover
Helper V
Helper V

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors
Top Kudoed Authors