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
cmcgo3
Helper II
Helper II

URL Images Based on Slicer Selection

Hello,

 

I cannot resolve this issue.  I have three tables, Country, State_Province, and City.  Each slicer selection represents an image.  The images for Country show image, but when filtering down to State_province, it remains on top image.  I am not sure if I need a fourth table to create relationship as well as whether tables should be many many, one to many, etc. 

 

 

 Images.pbix 

1 ACCEPTED SOLUTION

Hi @cmcgo3 
You are welcome
If solved your requirement, please mark this answer as SOLUTION. Hit the THUMB UPS 

Thanks
Pijush




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





View solution in original post

7 REPLIES 7
PijushRoy
Super User
Super User

Hi @cmcgo3 

I am not clear about the requirement,
I got the pbix file, can you please share a screenshot of your requirement.
Once you selected Country, the image is changing properly

Please reply

Thanks
Pijush




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





cmcgo3_3-1704638559934.png

I may have an issue with my relationship(s).  I have tried many combinations.

Good Morning,

The "country" filter does work.  When you filter down to "State or Province" image should change, but does not.  The same is true for the "city" filter.  The image remains on country flag no matter what state/province or city is selected.

 

 

cmcgo3_0-1704636041602.pngcmcgo3_1-1704636098629.pngcmcgo3_2-1704636164409.png

 

Hi @cmcgo3 

Please find the attached PBIX file
Use below measure, change it if require
Use the measure in the new card visual. 
Please note, that your all measure are not in the same size.

Measure = SWITCH(
    TRUE(),
    ISFILTERED('City List'[City]),SELECTEDVALUE('City List'[url image]),
    ISFILTERED('State_Province List'[State or Province]),SELECTEDVALUE('State_Province List'[url image]),
    ISFILTERED('Country List'[Country]),SELECTEDVALUE('Country List'[URL]),
    Blank())

 

Image changing as per slicerImage changing as per slicer

 

https://drive.google.com/file/d/1gmW9QJAeJmDJoiXOpCtGw2o0-eV4iI9Z/view?usp=sharing

 

If solved your requirement, please mark this answer as SOLUTION. appreciate your THUMBUPS 👍⬇️

 



Thanks 
Pijush




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





 Good Afternoon Pijush,

 

Thank you so much!!!!!!  It works great!!!

Hi @cmcgo3 
You are welcome
If solved your requirement, please mark this answer as SOLUTION. Hit the THUMB UPS 

Thanks
Pijush




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





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.