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
aishak12
Helper IV
Helper IV

Displaying Null values in relationship

All, 

 

I have two tables

 


Table 1

Location

 

Table 2 

Location, Value, 

 

 

Now I want to create a table matrix that includes ALL locations in Table 1 + Table 2. 

 

If table 2 does not have a location to match table 1. The row should look like this.

 

Location1               Location2                Value

New York                 (blank)                  (blank) 

 

 

I created a Many to Many relationship but this is not showing NULL values. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@aishak12 , left join in Power query merge 

 https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Natural left join in DAX

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

 

Join A and B, plot data from both in visual with this option on the column on A

ShowItemwithoutdata.JPG

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@aishak12 , left join in Power query merge 

 https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Natural left join in DAX

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

 

Join A and B, plot data from both in visual with this option on the column on A

ShowItemwithoutdata.JPG

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.

Top Solution Authors