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 / visible with if statement
Power Apps
Answered

visible with if statement

(0) ShareShare
ReportReport
Posted on by 355

Hi,

 

I have a button that should only appear when the status is High, user is in the area "Escalate"  and there is a person tagged to Senior Sponsor and Owner. 

 

At the moment the contact DisplayName can be blank yet the button will appear is status and area are valid! Tried various variants and still get the same behaviour! Any idea? Thanks!

 

If(DataCardValue209.Selected.Value = "High" And GalleryHeader.Selected.Name = "Escalate" And !IsBlank(Senior_x0020_Sponsor.DisplayName) And !IsBlank(Owner.DisplayName), true, false) 

 

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

    Hello @Coopedup ,

     

    Try using labels and see each condition for itself what is its result to debug where your problem resides.

    An example would be for the formula of the text property of one label : "" & (DataCardValue209.Selected.Value = "High") 

     

    This way, you can see at each time which condition doesn't get you the result you want and try to build from there..

     

    Regards

  • Coopedup Profile Picture
    355 on at

    @Anonymous Thanks for the prompts!

    I'm still figuring out all the ways to work with drop lists and to get this to work I had to work with the drop list/user contacts from their datacardvalue's.

     

    If(DataCardValue209.Selected.Value = "High" And GalleryHeader.Selected.Name = "Escalate" And !IsBlank(DataCardValue198.Selected.DisplayName) And !IsBlank(DataCardValue40.Selected.DisplayName), true, false) 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard