Hi,
I want to use an image as default in a gallery based on the condition if there are any attachments included in the item. If yes, then I want to show the first image from this attachment. If no attachment has been added to the item, I want to use a default image.
I gave the default image an OnSelect property = Set(varBild; No Attachment). Second is the image name uploaded to PowerApps.
I tried to implement the following Image property in the gallery:
If(IsEmpty(First(ThisItem.Anlagen).Value);varBild;First(ThisItem.Anlagen).Value)
But the default image is not showing?! Where is the issue here? I would be thankful for support!
