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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
gaiusgw
Helper III
Helper III

Hide image not found icon

I would rather that the broken link icon did not display if there is a file not found. Is there a way to make it so it is blank instead of displaying the icon? 

gaiusgw_0-1679596711783.png

 

1 ACCEPTED SOLUTION

Ahh, you are just pre-empatively creating the URL and it may or may not exist.  I thought you were getting broken images because you didn't have a URL for certain products.

Unless you can source the actual valid URLs instead of creating them, I'm not sure how to surpress/or swap out the broken image.  There are 3rd party Matrix/Image visuals out there, perhaps one of them won't show that broken icon.

View solution in original post

6 REPLIES 6
cassidy
Power Participant
Power Participant

The way I deal with it is to have a literal "Image Missing" image hosted and have it replace any missing images.

 

In Power Query, any time your imagelink field is null, insert the link to an image that is whatever you want.

Thanks for suggestion. Do you mean transform data and make the url column have iferror? I am a novice for any extra detail would be awesome. 

I do mean that, except I think I do Transform Column > Replace Values step on the url column that says "replace null with (your no image link)". 

 

Or you could create a new custom column with "if imagelink = null then (your no image link) else imagelink".

So there is another bit of info worth mentioning. The images links are created like this; 

 

Table.AddColumn(#"Renamed Columns1", "Merged", each Text.Combine({"https://www.website.com/images/", Text.Trim([STYLE]), ".jpg"}), type text)

 

So the link is created whether the ftp has the image loaded or not. So all rows in the data have a link. Do your solutions above apply in this case? 

Ahh, you are just pre-empatively creating the URL and it may or may not exist.  I thought you were getting broken images because you didn't have a URL for certain products.

Unless you can source the actual valid URLs instead of creating them, I'm not sure how to surpress/or swap out the broken image.  There are 3rd party Matrix/Image visuals out there, perhaps one of them won't show that broken icon.

Yeah that's what I thought. Figured it was a long shot for it to validate the URLs. Thanks for your help

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors