I guess you didn’t read the whole question. What about the slicer and the static year. ? I need to calculate all record for that year without using the slicer. I am using the slicer for other items on the page.
Sales in Range =
CALCULATE(
SUM( Sales[Revenue] ),
FILTER(
Dates,
[Date] >= DATE(2020,01,01) &&
Dates[Date] <= DATE(2020,12,31)
)
)
Tweak the filter as needed.
Select the slicer, go to Format → Edit Interactions. Your visualisations will have icons at the top right now. Select “None” for the visualisation you have put this measure in, the slicer will not effect it.