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

Left Outer Join through Relation ship joining

Hi Team,

Problem : I want to create left outer join with relationship mapping instead of SQL Queries

Steps :

Step1 : When I go to manage relation, select the 2 tables  with their primary id joins and then click on relation many to one and cardinality as both a relation ship is created.

Step2 : When creating Report I can get attributes from both the tables 

Step3 : Problem here is the after extracting meaning exporting  I am not getting the exact count.

Step4 : After some analysis I see that if any attributes are having null values power bi delete that particular rows.

 

Please help us for the solution .

 

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@Anonymous 

This relationship is not something like join in SQL, manage relationship is about filer directions. You may use Power Query instead of relationship and sql query, merge query is your best option.

Tutorial: Shape and combine data in Power BI Desktop - Power BI | Microsoft Docs

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
V-pazhen-msft
Community Support
Community Support

@Anonymous 

This relationship is not something like join in SQL, manage relationship is about filer directions. You may use Power Query instead of relationship and sql query, merge query is your best option.

Tutorial: Shape and combine data in Power BI Desktop - Power BI | Microsoft Docs

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

watkinnc
Super User
Super User

If you are saying that the filter is "both" as in bidirectional, tryncnahing it so it filter a in the right direction--that is, drag from fact to dimension.

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

create a index column for the table with null values for the specific column and check that columns filters steps to avoid it from filtering out null values, 

the index column will make all existing row have a value to work as reference for that exact row, 

also check why its generating null value if its a key column, it shouldnt have null values 

 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




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.

Top Solution Authors
Top Kudoed Authors