cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User IV
Super User IV

@ADRICHECKIN , Delete duplicate as suggest by @MFelix .

 

Also you need a concatenated column in both tables to join

 

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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

3 REPLIES 3
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

Super User IV
Super User IV

@ADRICHECKIN , Delete duplicate as suggest by @MFelix .

 

Also you need a concatenated column in both tables to join

 

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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Super User III
Super User III

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
secondImage

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

secondImage

Power BI Women

Join our monthly meetings and learning sessions.

secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors