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 / Read from one excel fi...
Power Apps
Answered

Read from one excel file and write into another

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear all,

 

I am devloping an app that needs to deal with 2 files with different permissions in the same screen. I'll call the first file "User File" and the second "Admin file". The User will have read/write permissions for the User File, but only read permissions to the Admin File. The Admin will have read/write permissions for both.

 

Using Form1, the user will input some data into the app. This data will be written in the User File and a flow will be triggered to notify the Admin that new data is available.

 

Now it's when it gets tricky. The Admin will need to check this data in Form2. Form2 has the same fields as Form1 plus some more, and the fields that are common in both forms are already filled with the info input by the User. The info in those fields needs to be read from the User File. Then, the admin will complete the form with the rest of the info and submit Form 2. The data submitted in Form 2 should be written to the Admin File.

 

Therefore, I need a form that reads info from the User File, but then writes it into the Admin File, which I don't know how to do. Any ideas?

 

Thanks a lot

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    This can be achieved using Patch function. The formula should be something like:

    Patch(Table2,Defaults(Table2),{Title:DataCardValue1.Text, ...})

    DataCardValue1 is the control name in Form2 with the data that you want to update to Title field of Table2. 

     

    Regards,

    Mona

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Mona,

     

    Thanks for your tip (quoted here for ref)

    ---------------------------------------------------------------------------------------------

    This can be achieved using Patch function. The formula should be something like:

    Patch(Table2,Defaults(Table2),{TitleSmiley Very HappyataCardValue1.Text, ...})

    DataCardValue1 is the control name in Form2 with the data that you want to update to Title field of Table2. 

    ---------------------------------------------------------------------------------------------

     

    I managed to do it storing the contents of form1 as an Item when navigating to form2 and it seems to work, bit of a different approach with similar results.

     

    Thanks,
    carajillu_swri

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 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard