Forum Discussion
RMV
8 years agoHelper V
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...
- 8 years ago
Hi,
Try this measure (not a calculated column formula)
=CALCULATE(SUM('Transation'[Amount]),SAMEPERIODLASTYEAR(DateCalendar[Date]))
Does this work?
RMV
8 years agoHelper V
Hi Ashish_Mathur,
I got the problem. It's because of the data.
Sorry to bother you.
Thanks anyway. I will keep in mind your suggestion next time.
Ashish_Mathur
8 years agoSuper User
You are welcome.