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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
krecks1234
Regular Visitor

Datediff for a day gives different values

Hi there,
I have a calculated Table with different dates in there.
DateDiff.PNG

I have now three different columns which calculates the Datediff between them.
1. Is in Second
2. Is in Second / (24 * 60 * 60)
3. Is in Days
 
My question is now how Power BI is handeling the Datediffs for Days.
DateDiff 2.png
 
As you can see some Datediffs in days are getting 1 even if the seconds are the same.
 
kind regards
1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @krecks1234 ,

 

You can refer to this Example.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Icey
Community Support
Community Support

Hi @krecks1234 ,

 

You can refer to this Example.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.