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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
julesdude
Post Partisan
Post Partisan

Show and Hide an Image based on Conditions in Measure

Hi,

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?

2 REPLIES 2
amitchandak
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

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors