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
dandamudisanjay
Regular Visitor

MergingQueriesbeforeRelationships

Hi All, 

 

I'm looking to merge query without duplicates and failing miserably. Could you please help?

 

table 1 contains ID and table 2 contains same ID but can contain multiple times. 

 

Output what i'm wanting is only to see table 1 data where table1.ID is also present in table2.ID without any duplicate rows. 

 

Any help with this is greatly appreciated. 

 

Regards

Sanjay

1 ACCEPTED SOLUTION

Hi @dandamudisanjay ,

 

You can do it:

Capture.PNG

 

After, just drop the File2 Column.

 

If you consider it as a solution, please mark as a solution and kudos.

Ricardo



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

Proud to be a Super User!



View solution in original post

2 REPLIES 2
dandamudisanjay
Regular Visitor

 

File 1

ID

NAme

1

a

2

b

3

c

4

d

5

e

 

File 2

Transaction ID

ID

Total

2345

1

5

13343

2

10

5656

3

15

2345

1

100

13343

2

232

909

2

876

 

 

Output

 

ID

Name

1

a

2

b

3

c

 

Hi @dandamudisanjay ,

 

You can do it:

Capture.PNG

 

After, just drop the File2 Column.

 

If you consider it as a solution, please mark as a solution and kudos.

Ricardo



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

Proud to be a Super User!



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.