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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
amitkala17
Regular Visitor

left join in Report

Hello,

 

i have two query in my report and i am trying to implement left join, here is the scenario,

i have a main table called Emp, and one other table Organaziation, i want to see all the record from emp and only matching record from Organaziation,

at the moment it is showing only the matched record.

Please suggest

5-17-2017 3-48-08 PM.png5-17-2017 3-51-20 PM.png

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @amitkala17,

Based on my test, NATURALLEFTOUTERJOIN doesn’t work in this scenario.

In Query Editor, click on the Emp table, then select “Merge Queries as New” to merge the two tables, then expand the orgname column in the merged table. It doesn’t impact on your current tables using the merge query feature to get expected result.
1.PNG2.PNG3.PNG

Thanks,
Lydia Zhang

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

Hi @amitkala17,

Based on my test, NATURALLEFTOUTERJOIN doesn’t work in this scenario.

In Query Editor, click on the Emp table, then select “Merge Queries as New” to merge the two tables, then expand the orgname column in the merged table. It doesn’t impact on your current tables using the merge query feature to get expected result.
1.PNG2.PNG3.PNG

Thanks,
Lydia Zhang

hii 
@amitkala17 
I Create a report This type of merge (left join),Report Locally working good but i published on Workspace(web cloud) ,Sheduled Refresh(Update) is not working.You have any idea pls give it.

image.png

 

Thanks Dear,

 

i got this one, 

what i understood is by default all queries are linked with inner join, and if we have a requirement of left/right join we need to create a seprate query.

correct me if i am wrong.

 

spuder
Resolver IV
Resolver IV

hi @amitkala17

 

unfortunately this is the wrong place for your project.

 

You better use the Query Editor (Power Query) and merge the tables. There you can choose which join type you'd like to have.

 

example.jpg

Hello,

 

i do not want to use merge query,

so it mean query's support only inner join? 

 

5-17-2017 5-29-52 PM.png

 

empno & fname is from Emp table & Orgname is from Organazation Table,matched record is appering in the last, and organization that does not have employee are appearing in top.

but what i want is to get all employee and only matching org ,if no match org will be null

OK. Understand try the DAX Function =NATURALLEFTOUTERJOIN()

where will i add this function?

check out this video, it better explains how to control the SQL that Power BI automatically creates...https://www.youtube.com/watch?v=UgqVSEoj4BM

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.