Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |