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
raghuveerhegde
New Member

Error_With_DATEDIF_ Excel_Vs_Power Bi

Dear Team,

 

We could see the result of DATEDIF is showing the different result compare to Excel Vs Power Bi.

 

To test you can start date ( Date -1 ) range from 6-Jan-96 to 18-Jun-96 and end date for all the rage is Today (Date - 2).

 

raghuveerhegde_0-1704968579495.png

 

 

3 REPLIES 3
raghuveerhegde
New Member

Thank you for work around solution , but it again impact during leaf year and all. 

Microsoft suppose to be fix this issues of DAX formula, as they created this DAX formula for the same purpose. but its not giving the expacted result.

 

raghuveerhegde_0-1704987313233.png

 

 

PaulMac
Helper IV
Helper IV

Hi @raghuveerhegde 
Try this:

Years Passed = 
QUOTIENT( TODAY() - 'Sheet1'[Start Date], 365.25)

PaulMac_0-1704978337408.png

Hope that works for you 

Paul

Thank you for work around solution , but it again impact during leaf year and all. 

Microsoft suppose to be fix this issues of DAX formula, as they created this DAX formula for the same purpose. but its not giving the expacted result.

 

raghuveerhegde_0-1704987471334.png

 

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.