Showing results for 
Search instead for 
Did you mean: 
Super User
Super User

Re: How to hide a Edit.Form as long as no Gallery Item is selected

If the two tables have the same columns then.


ClearCollect(MyCombinedTable, Filter(Table1, SomeColumn = SomeValue)); Collect(MyCombinedTable, Filter(Table2, SomeColumn = SomeValue))


Now MyCombinedTable has all of the rows from both tables that match your query. 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
Level 8

Re: How to hide a Edit.Form as long as no Gallery Item is selected

@Shanescows wrote:

I am guessing something you changed is causing this. No problem, we will ignore it, and make your form act the way you want in this scenario. 


  1. For your Display Form set the Visible property to ShowMyForm
  2. In your Gallery. Change the > icon to be Select(Parent);UpdateContext({ShowMyForm: true})
  3. For the Screen that these items are on: change the OnVisible property for the screen to UpdateContext({ShowMyForm: false})

All done. 


To enhance the app a little I would add a Label that says "please select an item to see the details" and put it in the same spot as the display form. Then set the labels Visible property to !ShowMyForm How Fancy is that?


Does that work for you?




Hi Guru @Shanescows , 


Could you show me how its done? i need the same thing, but i already in view form and need to hide it when user click the edit icon (at the same time show the edit form for them to edit).


Thank you.


Ps. I'm a super noob in powerapss BTW.  


Helpful resources


Power Apps Super User Class of 2020

Check it out!


New Badges

Check it out!


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,248)