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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Relationships with missing data

screenie.png

Hi all. I need to create a relationship connecting table 1 and table 2.

If I create a link using only ID 1, some data will be lost. Likewise for ID 2.

Is there a way of using both ID 1 and ID in table 2 to link to Table 1?

Thank you

1 ACCEPTED SOLUTION

Hi @Anonymous

 

After splitting the first table. You may set the relationships as below. Then you may create a measure to get all the FirstName.

UpdateFirstName =
IF (
    MAX ( '1(1)'[First Name] ) = BLANK (),
    MAX ( '1 (2)'[First Name] ),
    MAX ( '1(1)'[First Name] )
)

1.png

 

Regards,

Cherie 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
PattemManohar
Community Champion
Community Champion

@Anonymous Hmm, you can split the first table into two separate tables (FirstName and ID1) (FirstName and ID2). Then link the table2 to these two tables by ID1 and ID2.




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

Proud to be a PBI Community Champion




Anonymous
Not applicable

screenie2.png

Unfortunately your solution provides this. The first Name and Last name should show all data from both columns

Hi @Anonymous

 

After splitting the first table. You may set the relationships as below. Then you may create a measure to get all the FirstName.

UpdateFirstName =
IF (
    MAX ( '1(1)'[First Name] ) = BLANK (),
    MAX ( '1 (2)'[First Name] ),
    MAX ( '1(1)'[First Name] )
)

1.png

 

Regards,

Cherie 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-cherch-msft

 

Using your method, will I have to create a new measure for every subsequent column e.g.

UpdateFirstName, UpdateEyeColour,UpdateShoeSize etc?

 

Many thanks

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.