Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
Solved! Go to 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.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.