Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
greycatathome
New Member

Does the built-in feature for modifying slicer background colors work in power BI?

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.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

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.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

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.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors