Did you select multiple year values in the slicer? The SELECTEDVALUE only returns a single value. When multiple values are selected or none value is selected, it will return the alternative value. When you select a single year value, it works well.
I created a sample file, see if there is any difference from yours.
Regards, Community Support Team _ Jing If this post helps, please Accept it as the solution to help other members find it.