Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
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
Solved! Go to 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] ) )
Regards,
Cherie
Proud to be a PBI Community Champion
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] ) )
Regards,
Cherie
Using your method, will I have to create a new measure for every subsequent column e.g.
UpdateFirstName, UpdateEyeColour,UpdateShoeSize etc?
Many thanks
Check out the May 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
70 | |
50 | |
47 |
User | Count |
---|---|
45 | |
38 | |
29 | |
29 | |
28 |