NATURALLEFTOUTERJOIN Function (DAX)

How does the NATURALLEFTOUTERJOIN function (DAX) work?

The NATURALLEFTOUTERJOIN function (DAX) performs an inner join of a table with another table. The tables are joined on common columns (by name) in the two tables. If the two tables have no common column names, an error is returned.

NATURALLEFTOUTERJOIN Formula Syntax

NATURALLEFTOUTERJOIN (
     <leftJoinTable>, <rightJoinTable>
)

How do you use the NATURALLEFTOUTERJOIN function?

The NATURALLEFTOUTERJOIN function can be used to get all the data from left table and only matching records from right table.

Related Blog Posts

Related Support Forum Posts

Maintain Forecast DAX Calculation in Different Context
DateDiff to only calculate number of work days
Dax Calculation question

Considerations when using the NATURALLEFTOUTERJOIN function

There is no sort order guarantee for the results.

Columns being joined on must have the same data type in both tables.
The columns used in the join condition are only columns with the same data lineage or with the same name and no data lineage corresponding to physical columns of the data model.

Strict comparison semantics are used during join. There is no type coercion; for example, 1 does not equal 1.0.

Related Video Tutorials

Formula examples using the NATURALLEFTOUTERJOIN function

= NATURALLEFTOUTERJOIN(CustomerDetails,CustomerSalary)

= NATURALLEFTOUTERJOIN(‘Now’,’Before’)

Related Course Modules

Ultimate-Beginners-Guide-To-PowerBI

DOWNLOAD


Download our comprehensive DAX Formula Reference Guide as perfect companion as you learn how to use DAX formulas within Power BI.


Download DAX Formula Reference Guide