web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to tell if a SP Pi...
Power Apps
Answered

How to tell if a SP Picture column is blank?

(0) ShareShare
ReportReport
Posted on by 1,088

I have SP List with a picture column.

I want to determine if a picture has been added to the list or not so in my gallery I can use a default image if not.

 

I have tried:

 

If(IsBlank(ThisItem.PictureColumn), SampleImage, ThisItem.PictureColumn)

and

If(IsEmpty(ThisItem.PictureColumn), SampleImage, ThisItem.PictureColumn)

 

But The Sample Image never appears, even when there is an item with nothing in the Picture Column?

 

So I'm assuming something must be there, even if a picture is not present?  Is there another way I can tell if a picture is actually there or not?

 

Thanks,

Terry

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It looks like you may be missing a closing parenthesis. Try this:

    If(IsEmpty(ThisItem.PictureColumn), SampleImage, ThisItem.PictureColumn)

    ---
    If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up. 

  • Mattw112b Profile Picture
    1,088 on at

    No that is just typing on the forum, the formula in Powerapps in fine and no errors.

    Terry

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    As a test, put a label in the gallery and set the Text property to ThisItem.PictureColumn, see what you get, and let me know.

  • Mattw112b Profile Picture
    1,088 on at

    So, I think it was working, someone had added a picture in SP while I had my app open for editing and so in my app it showed up blank when there was something on SP...

     

    Thanks,

    Terry

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard