Forum Discussion
Transparency changes background color
- 5 years ago
Hi Anonymous
You can create a measure with below code
Measure = "rgba(0, 0, 0,0.5)"Now use it as formula in your background color
Thanks,
Samarth
This two textboxes has the same color, but diffrent Transparency. Changing transparency in a visual changes the color. My issue is that I need to keep the color of my visuals matching but I also need to have Transparency at 50% for one of the visuals.
Maby some one knows how much 1% of transparency changes the color so I can compensat the hex or somthing?
Hi Anonymous
You can create a measure with below code
Measure = "rgba(0, 0, 0,0.5)"Now use it as formula in your background color
Thanks,
Samarth
- Anonymous5 years agoNot applicable
Intressting, but I don´t understand were/how to use it as a formula in the background color. I´ve tride fx and use the messure there?
- Samarth_185 years agoCommunity Champion
Yes just click on the "FX" of the background option for the visual which you want to change:-
and select measure as field value
Note:- You can pass your RGB color accordingly and for transparency you can pass value at last. Like i have mentioned 0.5 for 50%.
- Anonymous5 years agoNot applicable
I clearly I´m missing something, can´t hit ok here. meassure is exat copy of yours.
- Anonymous5 years agoNot applicable
Ok Samarth_18 you´r solution works if i add the measure to the dataset that I´m connected to but not if I build the measure in the report.
So my problem are solved, thanks a bunch 👍