02-09-2017 10:24 PM
I have the following measure where it returns the diserable result:
LYTD asOf Today = CALCULATE([TOTAL REVENUE], DATEADD('Calendar'[Date], -1, YEAR), 'Calendar'[Date] <= TODAY()-335)
How can i make the last part (<= TODAY()-335) automatic?
The effect that i would like is to aytomatically find today's date for last year without subtracting the number of days manually.
02-14-2017 09:58 PM - edited 02-14-2017 10:00 PM
Please check the link below, this should help you to get the desired result.