Report Portal

Correct calculate of age in DAX from birthday

By answering to a student question I realized we often used a wrong calculation of customers age in DAX, and the simple solution is to borrow the same technique used in Excel, using INT and YEARFRAC rather than DATEDIFF or other divisions by 365 or 365.25.

Read more...

 

Tags: dax, tabular

 

2007-2015 VidasSoft Systems Inc.