Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Calculate difference between two month

I have  following Columns with in a table    StartMonth         EndMonth                     Jan-2017               Mar-2017                 Nov-2017             Mar-2018                 want d...
  • AlB's avatar
    AlB
    7 years ago

    Anonymous

     

    It looks like you can actually use something much simpler like:

     

    NewColMonthDiff=
    1+ DATEDIFF(DATEVALUE(Table1[StartMonth]), DATEVALUE(Table1[EndMonth]),MONTH)