Forum Discussion

powerbitogo's avatar
powerbitogo
Frequent Visitor
9 months ago
Solved

Single toggle button to change visuals on all pages

Hi,    Seeking to see if any user had success in creating a single toggle button on main page to change visual colours to apply across all pages eg. change a blue visual to red visual on page 1 and...
  • danextian's avatar
    danextian
    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.

  • v-sgandrathi's avatar
    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.