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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
wyanjaspew
Frequent Visitor

NATURALLEFTOUTERJOIN

 
3 REPLIES 3
azakir
Resolver I
Resolver I

As @tamerj1 mentioned, deleted "DEFINE" and replace EVALUATE with a RETURN. Basically, the key is, you're defining a variable which can then be passed as an argument and returning the named variable. 

@azakir 
Yes, when using Power Bi desktop you don't use DEFINE and EVALUATE as defining and evaluation is automatically performed by the engine. However, that would be required when using DAX Studio.

tamerj1
Super User
Super User

Hi @wyanjaspew 

Delete DEFINE 

In line 14 you need to specify the name of the column like "Product Name", 'Product'[Product]. Same foe line 15

Delete lines 18 and 19

Replace EVALUATE in line 21 with RETURN 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors