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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Strange thing with merging 2 tables

Hello community members, 

 

I have the following situation; 

1 table contains 82K rows

1 table contains 4K rows

In both tables I have a matching column

 

When I start the merging proces, I see this image below... (80402 of 81819 rows in first table)

 

Sander84_0-1619079713972.png

 

 

When I hit the OK button, I get about 340K of rows...

Is this normal? I would think the max number of rows stays 82K...

 

Hope someone can provide me with an answer.

 

Best regards,  

 

Sander

1 ACCEPTED SOLUTION
Anonymous
Not applicable

So,

New303 = 80k rows
New304 = 4k rows


I'm going to assume that Header_referentienummer on both tables contains duplicate values?

So when you merge New304 Values from column "Header_referentienummer" are matching multiple rows on both tables.

Consider the following:
Table A
ID      val1

a

100

a

200


TableB
ID      val2

a

50

a

60

 


Merged using the ID, gives a Many to many values merge because there are duplicate values in each column, so the end result is the following:
ID       val1   Val2

a

100

50

a

100

60

a

200

50

a

200

60

Karlos_0-1619108953075.png

See how just one duplicate value doubles our data range? If we were to have 3 it'd triple it and so on... 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

So,

New303 = 80k rows
New304 = 4k rows


I'm going to assume that Header_referentienummer on both tables contains duplicate values?

So when you merge New304 Values from column "Header_referentienummer" are matching multiple rows on both tables.

Consider the following:
Table A
ID      val1

a

100

a

200


TableB
ID      val2

a

50

a

60

 


Merged using the ID, gives a Many to many values merge because there are duplicate values in each column, so the end result is the following:
ID       val1   Val2

a

100

50

a

100

60

a

200

50

a

200

60

Karlos_0-1619108953075.png

See how just one duplicate value doubles our data range? If we were to have 3 it'd triple it and so on... 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors