Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
100 | |
100 | |
80 | |
77 | |
66 |
User | Count |
---|---|
134 | |
106 | |
104 | |
85 | |
73 |