Showing results for 
Search instead for 
Did you mean: 
New Member

Issue with editting records by form


I have got gallery in my app, which displays the view from SQL. (the view contains Id from base table and properties from related tables). I have added also the form to edit this record - the form mode is edit and item property is lookup formula, with statement like below:

LookUp('Table', RecordId = Gallery.Selected.RecordId). When I run preview of the application - it works. I can edit the records. But when i publish the app or open app editting once time again it stops to work.

When I delete the form and add once time again, it works only in app preview - when I publish it, the issue occurs again.

Do you know what can causing the issue?

Community Support
Community Support

Hi @dk2 ,


Please try to change the formula to:


If the issue persists, try to create the app from Start from data > SQL and test.




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (4,997)