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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
v-yiruan-msft
Community Support
Community Support

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

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

View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@Lindebjerg , check if error can help

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.