Forum Discussion
Single toggle button to change visuals on all pages
- 10 months ago
This is what I meant with controlling the colors with slicers - Power BI accepts RGB, RGBA, hex and some color names. Again, conditional formatting isn't supported for legends. Slicers also cannot trigger bookmarks
Please see the attached pbix.
- 9 months ago
Hi powerbitogo,
The reason you can’t apply the slicer-based color toggle to your charts is because only certain visual properties in Power BI support conditional formatting. The toggle works when you see the fx option next to settings like Data Colors, Title, or Background. If your visual doesn’t have this fx button for Data Colors, dynamic color changes aren’t possible due to current product limitations. Legend colors also can’t be changed dynamically, even if you create the legend manually with shapes. To use the toggle, you need a measure that returns the selected Hex/RGB value from the slicer and apply it to visual elements that support conditional formatting.
Thasnk you.
I concur with danextian 's approach here. Based on your description, you can consider syncing this slicer across pages (you can use the option to hide).
But let us know if this is not the intended behaviour you're expecting.
I don't mind hiding the slicers in the other pages. I just need the slicer to be on page 1 and when I select either colour A or colour B in page 1 to change the visuals in page 1 and to apply the same change across all pages. Thanks
- danextian10 months ago
Super User
This is what I meant with controlling the colors with slicers - Power BI accepts RGB, RGBA, hex and some color names. Again, conditional formatting isn't supported for legends. Slicers also cannot trigger bookmarks
Please see the attached pbix.
- powerbitogo9 months agoFrequent Visitor
Thanks for your example. I could not apply it to the visual charts.