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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Dynamically Dysplay Image

I installed the Visual 'Image Viewer'. I have a filter with 3 options and each selected option changes the image displayed in Visual. However, there is a catch, when there is no option selected in the filter, Visual shows an image (first or last), but I need that when nothing is selected, Visual does not display any images. As you can see in the images, when there is no selection, Visual displays the image of 'dislike'. Has anyone ever experienced this ?

 

dislike.png

 

like.png

 

Without.png

 

3 REPLIES 3
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous,


is your problem solved?
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


OwenAuger
Super User
Super User

Hi @Anonymous 

 

If you need to ensure that an image is displayed only if a single selection is made on the slicer, you could do something like this:

  1. Create a measure like this, replacing SlicerTable[SlicerColumn] with the column being used on the slicer.

 

Slicer single selection = 
INT ( CALCULATE ( HASONEVALUE ( SlicerTable[SlicerColumn] ), ALLSELECTED () ) )​

 

This measure returns 1 only if a single selection is made on the slicer (I'm assuming there are always at least 2 options available).

  • Place this measure as a visual level filter on the Image visual, set to "Show items when the value is 1"

 

Does that work for you?

Regards,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

try this Measure:

Selected Image = SELECTEDVALUE(Images[Image],"https://upload.wikimedia.org/wikipedia/commons/c/ca/1x1.png")

You may download my PBIX file from here.
Hope this helps.

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


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