Forum Discussion
Single toggle button to change visuals on all pages
- 9 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.
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.
Thanks for your example. I could not apply it to the visual charts.