Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Column [Status] has either Completed, Overdue, or Coming Due
I want to create a new column named Days Overdue that only uses Overdue from the Status Column
If it is Overdue, then count the days between TODAY and the [Due Date]
If Completed or Coming Due, leave it blank.
Thank you!
Solved! Go to Solution.
@racheljeska
add below calculated column to achieve this:
Days_Overdue = IF( [Status] = "Overdue", MAX(0, DATEDIFF(TODAY(), [Due Date], DAY)), BLANK() )
Learn Power BI free:
Hi @racheljeska
Try this:
DaysOverdue =
IF ( [Status] = "Overdue", DATEDIFF ( TODAY (), [Due Date], DAY ) )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hi @racheljeska
Try this:
DaysOverdue =
IF ( [Status] = "Overdue", DATEDIFF ( TODAY (), [Due Date], DAY ) )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
@racheljeska
add below calculated column to achieve this:
Days_Overdue = IF( [Status] = "Overdue", MAX(0, DATEDIFF(TODAY(), [Due Date], DAY)), BLANK() )
Learn Power BI free:
The Due dates are in the past
But that new column is saying 0 for Over due days
I took out
MAX(0,
And I think it works now. Thank you!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |