Forum Discussion
TWijnen90
2 years agoNew Member
SAMEPERIODLASTYEAR returns values from this year
Hi, I'm using SAMEPERIODLASTYEAR to compare the number of incoming mails per month to the same month the previous year, but it appears to add the numbers from this year to last year. The set-...
- 2 years ago
Adjust your DAX as...
CALCULATE( [Totaal], SAMEPERIODLASTYEAR(tbl_date[Date]), tbl_date[Year] = YEAR(TODAY()) - 1 )
amustafa
2 years agoSolution Sage
Adjust your DAX as...
CALCULATE(
[Totaal],
SAMEPERIODLASTYEAR(tbl_date[Date]),
tbl_date[Year] = YEAR(TODAY()) - 1
)