Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi
I'm after some help to convert the below excel formula so I can create a custom column in my Power BI query
=IFS(
AND(ISNUMBER([@[Date Completed]]),ISBLANK([@Status])), "Missing status",
[@Status] <> "completed", "",
ISBLANK([@[Date Completed]]), "Missing completed date",
AND(ISNUMBER([@[Date Completed]]),[@[Date Completed]]<=[@[Due Date]]), "Completed on time",
TRUE, "Completed late"
)
Solved! Go to Solution.
Hi @siddrow
Thanks for reaching out to us.
You can try this measure
Measure =
SWITCH(TRUE(),
MIN('Table'[Status])=BLANK(),"Missing status",
MIN('Table'[Status])<>"completed","",
MIN('Table'[Date Completed])=BLANK(),"Missing completed date",
MIN('Table'[Date Completed])<=MIN('Table'[Due Date]),"Completed on time",
"Completed late"
)
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @siddrow
Thanks for reaching out to us.
You can try this measure
Measure =
SWITCH(TRUE(),
MIN('Table'[Status])=BLANK(),"Missing status",
MIN('Table'[Status])<>"completed","",
MIN('Table'[Date Completed])=BLANK(),"Missing completed date",
MIN('Table'[Date Completed])<=MIN('Table'[Due Date]),"Completed on time",
"Completed late"
)
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi
Please see below.
Due DateDate CompletedStatusComment
| 1/01/2022 | 1/01/2022 | Completed | Completed on time |
| 1/01/2022 | 31/12/2021 | Completed | Completed on time |
| 1/01/2022 | Completed | Missing completed date | |
| 1/01/2022 | 2/02/2022 | Completed | Completed late |
| 1/01/2022 | 3/03/2022 | Missing status | |
| 1/01/2022 | 31/12/2021 | Blabla | |
| 1/01/2022 |
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |