Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Handling unavailable images from URL

Thanks to the likes of this site, I've found how to incorporate images from URLs into a PBI report. However, I'm completely at a loss how to handle cases where the image doesn't display (because the URLs are generated from a text field, and may not exist). A simple example is below, where the URL is pulling in company logos. Ideally, I'd like to replace the broken-thumbnail image with either a placeholder, or nothing. Does anyone know if this is possible?



Community Support
Community Support

Hi @chrisbaker ,

According to your description, if the image cann't display correctly, you can first save the image in your computer and then insert it by clicking the Image tab under the Insert ribbon.



Best Regards,
Community Support Team _ kalyj


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I feel like you didn't really read the post: this is via automated calls to an API that returns company logos. If the company logo can't be found, nothing is returned. I want to know how to handle that. 

Hi @chrisbaker ,

You means you have already set the Data category Image URL, but the image still cann't display, right?



Make sure special credentials aren't required to access the image file. For example, OneDrive and SharePoint require authentication, so images stored there can't be added  in this way.


But there’s a solution when you need the image stored in Onerdrive/Sharepoint, please refer to the solved case for details:


Best Regards,
Community Support Team _ kalyj


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



I don't really know how much simpler I can make this:


I'm using company names to call an API. If it recognises the company, it returns the image. It displays fine. If it doesn't recognise the company, it doesn't work, and I'd like to handle those cases. 

Super User
Super User

@chrisbaker , If this is dec-2021, then please check issues for any know issue -

or log a new one, few other users also reported this


New Power BI Features
Field Parameters :
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin !! Proud to be a Super User!
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
!! Subscribe to my youtube Channel !!

Sorry I don't understand: this isn't an issue or a bug, it's just asking if there's some kind of error handling for URL image calls.

Helpful resources

June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors