Thanks ojones, I’ve tried it. DATEADD is more flexible indeed. But it didn’t help. Reason was that in slicer I used date from Sales table in slicer. When I changed this slicer to Dates[Date] both functions DATEADD and SAMEPERIODLASTYEAR works correctly.