Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Post Partisan
Post Partisan

Show and Hide an Image based on Conditions in Measure


I want to hide or show a GIF in my report based on a certain true or false critera in a measure I have.

Can this be achieved?

I've seen a lot on showing or hiding visualisations i.e. charts and graphs. However, if I use Insert > Image on the Ribbon, the options in the formatting side panel are limited. I was hoping to be able to control the transparency, but there is no option to do so. 

Is there a workaround? Perhaps embedding it into another visual that does have an FX control for transparency? Can anyone please advise?

Super User
Super User

Hi @amitchandak 

Thank you. I had looked at Matt's vid on this. It's not quite what I'm after. I essentially am already using his method. I have an image that changes per user selection on a drop down filter. Image paths are dynamic and link to photos stored on SharePoint. If an image for the user selection is not available, I already have a card with text 'no image available' that has it's transparency controlled to cover any image underneath from view. What I need is to superimpose my 'SOLD' GIF image over the photo (or make the GIF visible in some way) when the item is actually sold and to not be visible when it is not.

I'll use text in another card if I have to and show that, but I liked the slanted text, style and color of this 'SOLD' image, so had a preference to use it as it just looks nicer.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors