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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Mike_Mace
Resolver I
Resolver I

overdue in days 28 / 90 / 180 / 356 - last one doesn't work

I use formula

Overdue 28d = IF(DATEDIFF(DATEADD([Created].[Date], 28, DAY), TODAY(), DAY) >=0, "Yes", "No")
i repeat for 90, 180, 356 days
 
The overdue percentage should reduce at time increases but at 356 days the percentage increases again.
I crosschecked formula and all other percentages are correct. 356 should be 3% - anyone can say why formula is missbehaving
I've done a few trials and the formula starts to missbehave at around 295 days356days overdue wrong356days overdue wrong
1 ACCEPTED SOLUTION
Mike_Mace
Resolver I
Resolver I

Discovered that the wrong reading appeared when the dates at DATEADD function did not exist in the dates column. I created a relationship with a Calendar date table and issue was resolved.

View solution in original post

1 REPLY 1
Mike_Mace
Resolver I
Resolver I

Discovered that the wrong reading appeared when the dates at DATEADD function did not exist in the dates column. I created a relationship with a Calendar date table and issue was resolved.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors