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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Kimber
Helper III
Helper III

How can I have an image with a transparent background on a button?

I've created a blank button and am using an image containing transparent areas for the background. However, the transparent portion of the image isn't transparent in the button. If I adjust the button's fill transparency, the whole image becomes transparent. In the picture below, the blue line should touch the edges of the tab instead of disappearing behind the margins of the button. 

Kimber_0-1733245295076.png 

I can apply a fill color independently of the image, but I can't adjust its transparency independently. Is there a workaround for this?

Kimber_1-1733245415633.png

Kimber_2-1733245543737.png

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from Selva-Salimi , please allow me to provide another insight:

Hi, @Kimber 

Indeed, based on my practical tests, if you insert a blank and then add an image within it, the system will treat your image as part of the fill.

vlinyulumsft_11-1733458681995.png

vlinyulumsft_12-1733458719564.png

Therefore, the image's transparency will change along with the fill's transparency.

vlinyulumsft_6-1733458593207.png

However, we can directly insert the image:

vlinyulumsft_7-1733458593207.png

In this way, when you adjust the background transparency, it will affect only the background and not the image itself.

vlinyulumsft_8-1733458603045.png

And it also has the same action function as inserting a button:

vlinyulumsft_9-1733458603046.png

Here's my final result, which I hope meets your requirements.

vlinyulumsft_10-1733458611618.png

Please find the attached pbix relevant to the case.

 
Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
 

Best Regards,

Leroy Lu

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

View solution in original post

3 REPLIES 3
Selva-Salimi
Super User
Super User

Hi @Kimber 

 

have you tried bring forward, bring to front options?! I can not find out which button did you use and add this picture on your button?!

 

SelvaSalimi_0-1733249141763.png

 

If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.

Yes, I have tried changing the order of the layers, but my design requires the background of the button to be transparent. It seems crazy that I can set a the background color for the button and overlay an image with transparency on top of it, as in the yellow and blue button I posted, but I can't then set the background color's transparency.

Anonymous
Not applicable

Thanks for the reply from Selva-Salimi , please allow me to provide another insight:

Hi, @Kimber 

Indeed, based on my practical tests, if you insert a blank and then add an image within it, the system will treat your image as part of the fill.

vlinyulumsft_11-1733458681995.png

vlinyulumsft_12-1733458719564.png

Therefore, the image's transparency will change along with the fill's transparency.

vlinyulumsft_6-1733458593207.png

However, we can directly insert the image:

vlinyulumsft_7-1733458593207.png

In this way, when you adjust the background transparency, it will affect only the background and not the image itself.

vlinyulumsft_8-1733458603045.png

And it also has the same action function as inserting a button:

vlinyulumsft_9-1733458603046.png

Here's my final result, which I hope meets your requirements.

vlinyulumsft_10-1733458611618.png

Please find the attached pbix relevant to the case.

 
Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
 

Best Regards,

Leroy Lu

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors