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 / Change button visibili...
Power Apps
Unanswered

Change button visibility based on table column value

(0) ShareShare
ReportReport
Posted on by 8

Hello.

I have a PowerApp with a form that I submit. I then have a gallery including the submitted forms. I am able to open them and edit them by patching the values with new values by clicking a button.

 

My problem is that I want to show a button based on a single Yes/No value in that table. In the Visible tab of the button I want to show, I have an If() statement that sets the value to true/false based on the value of the column. 

 

I have tried to ResetForm() in the OnSelect of the button that I use to Patch() these values, however, the button is always visible, even though I can see the value change in the table.

 

How can I make this button show/hide upon changing this single value?

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @hagru

    You never need an If function for the visible property. The formula is either true or false.

    Datatable1.Selected.ColumnName = somevalue 

    Is either true or false

  • Hagru Profile Picture
    8 on at

    It still seems like the value doesn't update properly in the Visible property.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @hagru 

    It doesn't have to update, it's either true or false.

  • Hagru Profile Picture
    8 on at

    I want to use the edit form as a bit of a multi-purpose form. I therefore have a button in the form that I want to make invisible when clicking another button. This other button patches the value of a given form column. Depending if this form column is yes/no, I want to show/hide the first button. However, it seems the visibility is stuck on either true or false, and doesn't change when I patch this other value.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard