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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
heatherforman
Frequent Visitor

Image based on slicer selection - broken link

Hello,

I am trying to get an image to appear when the person selected by the slicer is approaching their 25th reunion.

I created a new column using the formula below, and categorized it as Image URL. The viz is a table. The image is saved in a google drive and the access is set to "anyone with the link"

It is working, in that the broken image icon shows up when a person in the 25th window is selected, and nothing shows up when someone outside the window is selected. I just can't figure out why the link is broken. Any ideas?

Thank you!

 

Formula:

25th Image test =
IF('SDO Query'[Reunion Window Ind] = "25th Window", "https://drive.google.com/file/d/1C5D9M8RStdDVK0nYLu_RSgYBjnMbEl-T/view?usp=sharing","")
 
heatherforman_0-1750725974568.png

 


 

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

Hi @heatherforman 

After some Googling, it appears to work if you change the URL to this format, with the image ID following the final forward-slash:

https://lh3.googleusercontent.com/d/1C5D9M8RStdDVK0nYLu_RSgYBjnMbEl-T

The calculated column expression for this URL would then be:

25th Image test =
IF (
    'SDO Query'[Reunion Window Ind] = "25th Window",
    "https://lh3.googleusercontent.com/d/1C5D9M8RStdDVK0nYLu_RSgYBjnMbEl-T",
    ""
)

 

 

Does this work for you?


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

View solution in original post

2 REPLIES 2
OwenAuger
Super User
Super User

Hi @heatherforman 

After some Googling, it appears to work if you change the URL to this format, with the image ID following the final forward-slash:

https://lh3.googleusercontent.com/d/1C5D9M8RStdDVK0nYLu_RSgYBjnMbEl-T

The calculated column expression for this URL would then be:

25th Image test =
IF (
    'SDO Query'[Reunion Window Ind] = "25th Window",
    "https://lh3.googleusercontent.com/d/1C5D9M8RStdDVK0nYLu_RSgYBjnMbEl-T",
    ""
)

 

 

Does this work for you?


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

Yes! It worked, thank you so much!

 

It's actually showing up very tiny, but I'm sure I can adjust the formatting. It's always something 😂

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.