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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

1:1 Relationship

Hello, 

 

Say I have a table as follows:

Index No      Cost

1                    10

2                    20

3                    30

4                    40

 

I have another table as follows:

Index No      Remarks

1                      AA

2                      BB

 

I have created a 1:1 relationship via the index no column. I now want to merge the tables so that there's a remarks column for each index number. If the index number has a remark then the remark shows otherwise the row is left empty. 

1 ACCEPTED SOLUTION
VahidDM
Super User
Super User

Hi @Anonymous 

 

Add a new column and use the below formula:

Remark Column = RELATED('Table 2'[Remarks])

 

Output:

VahidDM_0-1655689550303.png

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hello, 

 

Say I have a table as follows:

Index No

I think you posted this by mistake. I answered your previous post, please have look and remove this post.

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 




VahidDM
Super User
Super User

Hi @Anonymous 

 

Add a new column and use the below formula:

Remark Column = RELATED('Table 2'[Remarks])

 

Output:

VahidDM_0-1655689550303.png

 

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!! 

Badges.jpg

LinkedIn | Twitter | Blog | YouTube 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.