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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Lindebjerg
Frequent Visitor

Error handling with Image URL

In PowerBI I'm showing pictures, but sometimes the image URL is broken, because the picture doesn't exists. In these cases, I would like a default picture shown instead. Is tha possible and how? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Lindebjerg,

I'm afraid that there is no better way to determine if the image under this image URL exists, and if it doesn't, it just doesn't display properly. You can refer to the following blog if you are simply dealing with errors using try... otherwise...
Error handling

IFERROR in Power Query Using TRY OTHERWISE

Handling Errors

yingyinr_0-1635233191679.png

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Lindebjerg,

I'm afraid that there is no better way to determine if the image under this image URL exists, and if it doesn't, it just doesn't display properly. You can refer to the following blog if you are simply dealing with errors using try... otherwise...
Error handling

IFERROR in Power Query Using TRY OTHERWISE

Handling Errors

yingyinr_0-1635233191679.png

Best Regards

amitchandak
Super User
Super User

@Lindebjerg , check if error can help

https://docs.microsoft.com/en-us/dax/iferror-function-dax

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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