I have a dropdown that references an employee list in SharePoint. When the item / person is selected, there's an image element that brings up the image found in the Picture column. Not all employees have photos though.
Is there some way to display a default image, like the one below, if the Picture Column for the selected item in the SharePoint list is empty?
Hi @anthonys123
An alternative/shorter approach is to call the Coalesce function:
https://learn.microsoft.com/en-gb/power-platform/power-fx/reference/function-isblank-isempty
Coalesce(
PersonPicker.Selected.Picture,
blankuser.image
)
Got it! Took a little finessing, but this works. Thank you!!
If(IsBlank(PersonPicker.Selected.Picture),(blankuser.image),PersonPicker.Selected.Picture)
Hi @anthonys123,
Add your default image in your apps. Then try this formula in the default property :
If(IsBlank(YourPictureColonm), YourDefaultImage, YourPictureColonm)
WarrenBelz
223
Most Valuable Professional
MS.Ragavendar
110
Michael E. Gernaey
89
Super User 2025 Season 1