Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Is there a simple way to convert durations computed from the difference of 2 dates into years, months and days
Solved! Go to Solution.
Hi @gancw1 ,
Please check the soultion in this post.
Solved: DAX to Convert days to Years,months & days - Microsoft Power BI Community
Best Regards,
Jay
Hi @gancw1 ,
Please check the soultion in this post.
Solved: DAX to Convert days to Years,months & days - Microsoft Power BI Community
Best Regards,
Jay
@gancw1 , You have convery
In power Query a new column diff
= [Duration1] - [Duraion 2]
Year=
Duaration.Days([Diff])/365.25
In this manner you have to calculate