Forum Discussion

PowerUser14's avatar
PowerUser14
New Member
5 years ago
Solved

Hide and Show visuals based on condition

Hi,  Could you please assist me with hiding and showing visuals based on conditions in Power BI Desktop. I do not want to use the Bookmark functionality or any click event.   Thank you
  • amitchandak's avatar
    5 years ago

    PowerUser14 , Hide and show can be done best on the bookmark.

     

    The other option, which may work. Make the background of visual, font, and font background transparent using conditional formatting measure using field value option.

     

    black =

    If(selectedvalue(table[value]) ="Hide", "#FFFFFF00", "000000")

     

    white =

    If(selectedvalue(table[value]) ="Hide", "#FFFFFF00", "FFFFFF")

     

    use then in color fx with field value option, visual background, font etc.