cancel
Showing results for 
Search instead for 
Did you mean: 
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



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

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



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

Announcements
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors