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! Learn more

Reply
ovanslyke
Frequent Visitor

AP aging Report using DATEDIFF, do not want the formula to round up

Hello,

 

This is my current formula which I believe is giving me my issue:

 

Aging = datediff(Append1[Invoice Date(EST)],today(),DAY)

 

It's that datediff rounds the number up. I do not want it to do this. For example the invoice is aged 90.33 days. I want it to fall into my 75-90 bucket, right now its goig into my 91 +.

 

What do I need to add to my formula to make it work as I am expecting? Thank you!

 

 

1 ACCEPTED SOLUTION

In place of my old formula, I tried as you suggested. This is a copy and paste of what I had in Power BI:

 

Aging = DIVIDE(DATEDIFF(Append1[Invoice Date(EST)];TODAY();MINUTE);1440)

 

It came back with a syntax error for this-  ;

 

Once I changed the ; to a , then it worked for me!

 

Thanks for the fast reponse!

 

 

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@ovanslyke

 

Hi, try with this:

 

Column = DIVIDE(DATEDIFF(Table1[Date],TODAY();MINUTE),1440)




Lima - Peru

In place of my old formula, I tried as you suggested. This is a copy and paste of what I had in Power BI:

 

Aging = DIVIDE(DATEDIFF(Append1[Invoice Date(EST)];TODAY();MINUTE);1440)

 

It came back with a syntax error for this-  ;

 

Once I changed the ; to a , then it worked for me!

 

Thanks for the fast reponse!

 

 

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.

Top Solution Authors