Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I am writing a DAX formula, where given the DATEDIFF in days between
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
Solved! Go to Solution.
@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 ()
@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 ()
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 29 | |
| 23 | |
| 23 | |
| 22 | |
| 14 |
| User | Count |
|---|---|
| 48 | |
| 33 | |
| 20 | |
| 18 | |
| 16 |