Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Re: Set value when submit form

oh yes, that worked very well this time.


Thank you very much.

Level 10

Re: Set value when submit form



I read this thread and was wondering myself for some time now if another approach could also work, so I took the time to try it out.  


Maybe you can try this one also:

LookUp(Choices(YourList.LookUpField), Id = Gallery1.Selected.ID)
// ourList.LookUpField - change this to your SP list and lookup field

I tried it in a form and with Patch, seems to work both. But I can't guarantee this is a valid approach, maybe Randy or somebody of the PowerApps Team can tell us? 



Super User
Super User

Re: Set value when submit form


Yes, that would work as it would return (from the lookup) the information needed for the column.

However, it is yet another lookup.  Usually not an issue.  In this case, you already have all the information needed in the Gallery (the Id and the Value), so another Lookup would just be another round-trip.

But...Yes - a working option!

Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

Helpful resources


Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!


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

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