Forum Discussion

benvett14's avatar
benvett14
Frequent Visitor
6 years ago
Solved

Transparent Data Color

I am trying to put a transparent visual on top of a card so that my end user can drill through the card. I need to make the data color transparent and thought using a field value as the color would a...
  • amirshiloh's avatar
    amirshiloh
    3 years ago

    since there is a bug in the color settings (can't enter a value as long as #FFFFFF00) it can work if you set the value of transparancy as a measure and than select this value using field vaue at the shape background color function as follows:

    create a measure : 

    mask_transparency =IF([Filter_Selected],”#FFFFFF00″,”#FFFFFF”)

    set the backgound using the field value : 

    see also : Control the visibility of the PowerBI visuals based on condition