Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
SemiTransRegion =
VAR OptionsCount = COUNTROWS(ALLSELECTED('Regions'[Region]))
VAR SelectedCount = DISTINCTCOUNTNOBLANK('Regions'[Region])
RETURN
IF(OptionsCount <> SelectedCount,
"rgba(192,255,255,0.2)","rgba(255,255,255,0.2)")
I'm not even sure if each of these VAR is evaluating to "all options" or "selected options", since I can't see their values within the same slicer visual, and if I return the colour and the VAR in separate measures in a table, they do not change in the same way as they must be in the slicer, as I get results in the table that should be useful.
Solved! Go to Solution.
I found a solution using no background for the slicer, with a shape behind with colour defined using ISFILTERED. I believe there is no solution to change the background directly as per the initial spec.
I found a solution using no background for the slicer, with a shape behind with colour defined using ISFILTERED. I believe there is no solution to change the background directly as per the initial spec.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |