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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ADRICHECKIN
Frequent Visitor

Tables relation 1 to many

Hi team,

 

Want to make a relation between 1 to many from Table_B to Table_A.

In TABLE_B there are duplicated values.

 

How can I detect this duplicated values from Table_B? ( real table has many rows..)

Any other solution?

 

 

TABLE A TABLE B
CLIENTORDERREFREVEN CLIENTORDER
AP100XX100 AP100
AP100ZZ110 AP101
AP101XX120 BA102
AP101YY130 BA102
BA102BB140   
BA102CC150   

 

thanks,

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@ADRICHECKIN , Delete duplicate as suggest by @MFelix .

 

Also you need a concatenated column in both tables to join

 

Key = [Client] & "-" & [Order]

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Icey
Community Support
Community Support

Hi @ADRICHECKIN ,

 

Is this problem solved?

 

If it is solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If not, please let me know.

 

 

Best Regards,

Icey

amitchandak
Super User
Super User

@ADRICHECKIN , Delete duplicate as suggest by @MFelix .

 

Also you need a concatenated column in both tables to join

 

Key = [Client] & "-" & [Order]

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
MFelix
Super User
Super User

Hi @ADRICHECKIN,

 

On the query editor select all row from table b and remove duplicates that should clean the information. 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.