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 / work like excel using ...
Power Apps
Unanswered

work like excel using two table re-edit and re-add

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I am trying to make a like editable gallery using 2 table.

Data is in dataverse so i create a collection for both table.

 

What I would like to do is to create a sales data from item list.

On my item gallery I put text box and combo box and create a sales list(update/collect).

It was not difficult to make a sales list from item list on first time I patch to sales list.

In my item list text box and combo box, I put lookup( form sales list) to Default property.

And try to put update/collect to Onchange property.

But onece I colse my app and try to edit it again i found

It was difficult for me to re-edit/re-add data from item list using same gallery.

OnChange property start to change everything when load.

 

Can someone please tell me how to do this so that I can re-edit and re-add?

 

change.png

Categories:
  • v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you tell me what do you mean about “re-add and re-edit”? How do these two actions fire?

    What is the function on OnChange property? Why you say “OnChange property start to change everything when load”?

    For better understand your issue, please provide more information about (with more screenshots about your formula).

     

    I assume that all your records disappear after re-enter the app, so you cannot do actions on your old data.

    If my assumption is correct, this is a by default feature. Because you keep your data in two collections. Collection keeps temporary data, data inside them will be deleted after you close the app so that you need to re-created these data. Check this article about this collection feature:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/I-lose-the-collection-data-when-closing-the-App/td-p/367411

     

    As a workaround, you can use SaveData() and LoadData() function to save and reload the collection data to/from a local device, then these data will not lose when re-enter the app. For more information about his workareound, you can refer to this article:

    Build offline apps with new PowerApps capabilities | Microsoft Power Apps

    Best Regards

    Allen

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard