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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Button showing on all ...
Power Apps
Unanswered

Button showing on all gallery items

(1) ShareShare
ReportReport
Posted on by 13

I have a button in a gallery where the visibility is set based on the text from text input within the same gallery item.

If(galProjects.Selected.'Approval Status'.Value = "Approved",  false, true)
 
this works fine, however, when I choose another item within the same gallery that does not have text = "Approve" the button reappears in all the gallery items, and this allows me to click the button within the already approved item.

Is this the normal behavior? If so, how can I make it so the button only appears for items where the mentioned text input does not = "Approved"?

Categories:
I have the same question (0)
  • Verified answer
    Mitanshu Profile Picture
    1,650 Moderator on at

    Try this code for the Visible property of the button/icon:

     

    If(ThisItem.'Approval Status'.Value = "Approved", false, true)
    

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.

  • PADorPAC Profile Picture
    13 on at

    Thank you!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard