Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
DieterG
Frequent Visitor

Change transparency of color data bar in visual matrix

Hi,

 

While looking for inspiration for my dashboard I came across an image that I would like to implement.

I want to change the transparency of my background percentage. I can achieve this by creating a new measure = "#00FFFF00" and adding it to the conditional formatting. But this fills the entire cell. Then I thought about data bars because they only fill the number. Is there a formula in Dax that allows you to set the transparency of data bars?

 

Thanks in advance

 

picture example.png

picture my dashboard.png

2 REPLIES 2
DieterG
Frequent Visitor

Thanks for the answer, but it should be linked to the percentage. The solution you suggested is static, I assume.

Either way i've fixed it with the databar settings from 0 to 0,000001 so it is always full. And selected a dark color so that the positive and negative colors are more visible. It is works for now.

 

DieterG_0-1709194439937.png

 

Ritaf1983
Super User
Super User

Hi @DieterG 
Unfortunately, there is no option to manipulate transparent with formulas, but you can achieve it with adding other objects like rectangles.
1. Add an object and switch off the border + modify the wanted transparent :

Ritaf1983_0-1708759649095.png

2. Apply conditional formatting to the rectangle fill color:

Ritaf1983_1-1708759713730.png

3. Note that a rectangle needs to be on the front:

Ritaf1983_2-1708759801307.png

 

4. group the objects :

Ritaf1983_3-1708759839161.png

Note that it will be static to the rectangle placement, the user should not change the sort order + use a table to interact with other visuals

Pbix with example is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.