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
if ([Outcome Date]-[#"Treatment Registrar Date#(lf)(please fill in date format: 1-Jan-2021)"]) >150 then "OK" else "Check"
is not working
Solved! Go to Solution.
Duration.Days([Outcome Date]-[#"Treatment Registrar Date#(lf)(please fill in date format: 1-Jan-2021)"]) >150
Thank you. It working indirectly.
I want to use if condition for that logic
[Date 2] - [Date 1]= result >150 days, "OK", "Check"
Duration.Days([Outcome Date]-[#"Treatment Registrar Date#(lf)(please fill in date format: 1-Jan-2021)"]) >150
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.