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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
outatime
Regular Visitor

Left Outer Join Help

hello there,

Need help on how to use the left outer join in DAX.  I can do it in SQL but in DAX, it gives an error saying no common join columns are detected. Basically, the illustration below is what I want to achieve:

 

dax left outer join.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Hi,

 

So equivalent in DAX is create a new table with :

NewTable = NATURALLEFTOUTERJOIN( TabDates , TabTasks)

It should give you expected outcome :

DatesTasks.png

and if you display this in a visual, look at @amitchandak post to display all values, otherwise it will display only dates with values.

Tell us if it works as expected

View solution in original post

4 REPLIES 4
AilleryO
Memorable Member
Memorable Member

Hi,

 

If you Merge both queries in Power Query using JoinKind.FullOuter, you should get the desired outcome.

 

Let us know

I cannot do it in Power Query because the Date table is derived through DAX.

Hi,

 

So equivalent in DAX is create a new table with :

NewTable = NATURALLEFTOUTERJOIN( TabDates , TabTasks)

It should give you expected outcome :

DatesTasks.png

and if you display this in a visual, look at @amitchandak post to display all values, otherwise it will display only dates with values.

Tell us if it works as expected

amitchandak
Super User
Super User

@outatime , On is join them on date use date from the first table rest of the column from other table and use this option - For date

 

ShowItemwithoutdata.JPG

 

Or try new tables with joins

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.