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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Ykankam
Helper I
Helper I

Multi Condition column

I am writing a DAX formula, where given the DATEDIFF in days between 

Master_Data'[Dispo.ActualDispoDate] and  'Master_Data'[QC_Release_Date_BDS.QC_DATE] is less than or equal to 50 days, the formula returns "on time" or "Late" respectively.
However, there is one unique product that if the 

DATEDIFF in days between  Master_Data'[Dispo.ActualDispoDate] and  'Master_Data'[QC_Release_Date_BDS.QC_DATE] is less than or equal to 60 days, the formula should return the same output i.e. either "on time" or "Late" respectivel.

 

How do I capture this in one single DAX formula? See DAX formula below

 

Ykankam_0-1692282000174.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Ykankam , the comma before  'Master_data[Product]' ="Pembrolizuab" should be and or or

means && and || 

 

In case it is and(&&) , but or condition in brackets ()

 

View solution in original post

2 REPLIES 2
Ykankam
Helper I
Helper I

thank you, @amitchandak . It worked

amitchandak
Super User
Super User

@Ykankam , the comma before  'Master_data[Product]' ="Pembrolizuab" should be and or or

means && and || 

 

In case it is and(&&) , but or condition in brackets ()

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.