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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
uthall
Helper II
Helper II

Table Relations and non matched rows

Hello,

 

I Have 2 related tables.

 

When i add fields from both to a table, rows where items in the first table are not match in the second table appear as blank or no values.

 

When this occurs, i would like to have th row display something like "no value found".

 

For example, both tables are linked by a employee name field. The first table is the "master" employee table, with all employees in the table. The second table contains info on employees. but not all employees have an entry.

 

When the employee name from the first matches an entry in the second table, in want the info from both printed on the row in the table. When no match is found, i want the employee name from the first printed in the table, with "no value" as the value for the second table.

 

Possible?

 

 

1 ACCEPTED SOLUTION
v-huizhn-msft
Employee
Employee

Hi @uthall,

You can add a calculated column in “master” table. I try to reproduce your scenario by creating “master” employee table like the first picture, and the information in second picture.

 
1.png2.png

Then add a calculated column using the formula below. Create a table, select the Employee and column as values, you will get the expected result.

 

Column = IF(ISBLANK(RELATED(Table20[information])),"no value found", RELATED(Table20[information]))


3.png

 

 

Best Regards,
Angelia

View solution in original post

1 REPLY 1
v-huizhn-msft
Employee
Employee

Hi @uthall,

You can add a calculated column in “master” table. I try to reproduce your scenario by creating “master” employee table like the first picture, and the information in second picture.

 
1.png2.png

Then add a calculated column using the formula below. Create a table, select the Employee and column as values, you will get the expected result.

 

Column = IF(ISBLANK(RELATED(Table20[information])),"no value found", RELATED(Table20[information]))


3.png

 

 

Best Regards,
Angelia

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.