Forum Discussion

NidhiBhusari's avatar
NidhiBhusari
Icon for Helper IV rankHelper IV
5 years ago
Solved

Difference between two date values that are in text format.

Hello, I have two rows having year values named as START YEAR and END YEAR. But these values are in text format. Can anybody please help me in calculating difference between these two values. ...
  • ryan_mayu's avatar
    5 years ago

    NidhiBhusari 

    you can create a column.

    Column = if('Table (2)'[endYear]="\N",blank(),int('Table (2)'[endYear])-'Table (2)'[startYear])