Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
I would like to modify the background color of my slicer based on user selections within that slicer. While I am aware that an alternative solution involves placing an identical shape underneath the slicer to achieve the same result, I am looking for a solution that avoids this method due to its time-consuming nature.
I've observed that there is an 'fx' button available for configuring the slicer background color, and it allows the use of DAX expressions. However, I encountered an issue with the DAX expression 'IF(ISFILTERED(DIM_PARENT_DEMO[d_LOB]), "#8AD4EB", "#FFFFFF")'; it doesn't seem to work as intended. If anyone has insights into why this might be the case or knows of a solution, I would greatly appreciate the assistance.
Solved! Go to Solution.
We stumbled over that one as well recently. You need to internalize that ISFILTERED is meaningless inside the slicer visual, it only has meaning for the data model that is actually filtered by the slicer. The "second shape" option may be time consuming but it is your only viable option.
We stumbled over that one as well recently. You need to internalize that ISFILTERED is meaningless inside the slicer visual, it only has meaning for the data model that is actually filtered by the slicer. The "second shape" option may be time consuming but it is your only viable option.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!