Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
knishal
Regular Visitor

Show overdue task

I currently have this formula which shows the amout of days its due by: 

 

OverDueTask = DATEDIFF(TODAY(), Tasks[DueDate]DAY )
 
How can I modify it to show only OVERDUE Task and the day count?
knishal_0-1661430339729.png

 

1 ACCEPTED SOLUTION
PabloDeheza
Solution Sage
Solution Sage

Hi there!
You can use a IF statement, so:

VAR _Days =

DATEDIFF(TODAY(), Tasks[DueDate]DAY ) 

RETURN

IF(

_Days >= 0,

BLANK(),

_Days

)

 

Let me know if that helps!

View solution in original post

2 REPLIES 2
knishal
Regular Visitor

@PabloDeheza works. Thank you

PabloDeheza
Solution Sage
Solution Sage

Hi there!
You can use a IF statement, so:

VAR _Days =

DATEDIFF(TODAY(), Tasks[DueDate]DAY ) 

RETURN

IF(

_Days >= 0,

BLANK(),

_Days

)

 

Let me know if that helps!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.