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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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 ()

 

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

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 ()

 

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.