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
Anonymous
Not applicable

One to Many Join not working

Dear Community !

 

I have two tables: Where, 'Table A' Contains unique client list, while Table B contains related client data, say Client Name, topic_1, topic_2 & topic_3. What I need is Table C, with 'ALL' Clients from 'Table A' mapped to respective rows of Table B, even if some of the Clients (ex: Client_3) don't have a mapping data (i.e., those Clients data missing in Table B).

(P.S: Table C is Min of the values in Table B)

 

Please see attached image:

 

Thanks in advance !

 

Power BI Screen.png

1 ACCEPTED SOLUTION

Hi,

Thank you for your message.

Please check the below picture and the attached file, that I amended.

 

Jihwan_Kim_0-1672887246522.png

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

4 REPLIES 4
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

It is for creating a new calculated table.

 

Jihwan_Kim_0-1672831275933.png

 

 

New Table C =
ADDCOLUMNS (
    DISTINCT ( TableA[Client] ),
    "Param_1", CALCULATE ( MIN ( TableB[Param_1] ) ) + 0,
    "Param_2", CALCULATE ( MIN ( TableB[Param_2] ) ) + 0,
    "Param_3", CALCULATE ( MIN ( TableB[Param_3] ) ) + 0,
    "Param_4", CALCULATE ( MIN ( TableB[Param_4] ) ) + 0
)

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Worked like a charm ! THANK YOU...

 

One more help please: Suppose Table A had 2 more columns (say: 'Topic 1', 'Topic 2'), how to populate those columns also into Table C?

 

Many Thanks in advance !

Hi,

Thank you for your message.

Please check the below picture and the attached file, that I amended.

 

Jihwan_Kim_0-1672887246522.png

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

Exactly what I needed ! THANK YOU !

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.