Forum Discussion
PBI_2K26
Advocate I
6 days agoDynamic default Year Value
Hello ! I'm looking for a way to have a Year slicer that displays all available years, while automatically selecting the current year by default (e.g., 2026 today, 2027 next year). The default selec...
Sergii24
Super User
6 days agoHi PBI_2K26, building on Nasif_Azam suggestion, you can use "Button Slicer" visual, which has a label section
Your value is still the "Year Slicer" and then you add a label to "Year". What you can do next is to turn off "Value" and keep only "Label".
So in backend you're still filtering "Year Slicer" where you have a static value "Currecn Year", which you need. But visually you only show label, which can be dynamic ;)
Good luck with your work! :)