Forum Discussion
Return different images based on URL
Hello:
I have a table with a list of agents, the table has a column that has an image url for the agents. Not all agents have an image therefore the field is blank.
I'm using a visual that can pull in an image based on a url field.
I'd like the have the agent image show if there is a valid url in the field, I'd like a different image to show if blank (I'll probably through a "No Image Found" image url out on the web somewhere).
I can't figure out how to do this or how to create a measure that would do this evaluation.
Any help would be appreciated.
Thanks!
Create a blank Image or "No image found" , update that in blank field
or create a new field using isblank and use that image.
Referhttps://community.powerbi.com/t5/Desktop/Getting-Image-URLs-to-display-Image/td-p/216843
https://docs.microsoft.com/en-us/power-bi/service-dashboard-add-widget
1 Reply
- amitchandakSuper User
Create a blank Image or "No image found" , update that in blank field
or create a new field using isblank and use that image.
Referhttps://community.powerbi.com/t5/Desktop/Getting-Image-URLs-to-display-Image/td-p/216843
https://docs.microsoft.com/en-us/power-bi/service-dashboard-add-widget