Forum Discussion

RMV's avatar
RMV
Helper V
8 years ago
Solved

datesadd(datesmtd) issue

Hi,   I have a calculated column to get the total amount in a month from last year from a transactional table, to be compared with the MTD figure in the current year in a visual. The formula appli...
  • Ashish_Mathur's avatar
    8 years ago

    Hi,

     

    Try this measure (not a calculated column formula)

     

    =CALCULATE(SUM('Transation'[Amount]),SAMEPERIODLASTYEAR(DateCalendar[Date]))

     

    Does this work?