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 / Showing or hiding an icon
Power Apps
Answered

Showing or hiding an icon

(0) ShareShare
ReportReport
Posted on by 5

I have two email columns in a SharePoint list (eMail1 and eMail2). I have a toolbar in my app where I have placed an email icon. 

 

What I am trying to do is show/hide the icon if both of the columns are empty for the selected item. Hope that make sense.

 

On the visibility property I am writing this formula:

 

If(IsBlank(mygalleryname.Selected.eMail1), And(mygalleryname.Selected.eMail2), false, true)

 

I'm getting no errors from Power Apps which, makes me think this is a working formula that should hide the email icon if both columns are blank. If either of the columns or both columns are not blank the email icon is shown.

 

What am I missing?

 

Any help is greatly appreciated.

Categories:
I have the same question (0)
  • Verified answer
    Rajkumar_M Profile Picture
    3,747 Moderator on at

    Hi @mcallahan2 

     

    Try this

     

    If( IsBlank(mygalleryname.Selected.eMail1) && IsBlank(mygalleryname.Selected.eMail2), false, true )

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation. 

  • mcallahan2 Profile Picture
    5 on at

    Thank you - Rajkumar_404! That worked for me.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 514

#2
WarrenBelz Profile Picture

WarrenBelz 419 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 295

Last 30 days Overall leaderboard