Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.