Forum Discussion

dawcza3's avatar
dawcza3
Frequent Visitor
9 years ago
Solved

Calculate Age with Direct Query Support

  I'm trying to calculate Age from DateOfBirth. Actually I'm do this with transformation date to age and round down. It's works ok, but it not avalaible to use data in direct query mode. So, is ther...
  • dawcza3's avatar
    9 years ago

    v-ljerr-msft

     

    thanks for replay but actually I do this in simple way :

    Age = ROUNDDOWN(((1,0*(TODAY()-Partner[DateOfBirth]))/365);0)