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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
syasmin25
Helper V
Helper V

Merging Query in increasing rows

Hello, 

I am trying to merge two tables to get 3 columns from the other table and it is creating 4 additional duplicate rows (in the actual report, which has led to more than 2 million rows). I have created a sample here and it even did the same thing to that. I was wondering if somebody could help me out here. I am doing a left outer join and have made sure that the tables do not have duplicates beforehand. 

I am attaching screenshots of my sample file here, 

Attendance Table:tbruh.PNGClasses Table:
tbruh.PNG

 Merge Tables tbruh.PNG

 

 

 

7 REPLIES 7
camargos88
Community Champion
Community Champion

Hi @syasmin25 ,

 

Are you merging them with unique id's per row ?

If not they are gonna replicate the rows from the outer table.

 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



In the original file, I have created a ID.Bellperiod index column in both the tables and I am trying to merge based on that.

@syasmin25,

 

Can you share a sample of it on a PBIX ? 

So we can take a look.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



I do not have the option to do that here.

@syasmin25 ,

 

You can use GoogleDrive/OneDrive/DropBox.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



I figured it out. It was an issue within the database.

Hi, can you tell me what happened exactly with your database? looks like I have similar issue with you.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.