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 / PowerApps write to mul...
Power Apps
Answered

PowerApps write to multiple excel spreadsheets

(0) ShareShare
ReportReport
Posted on by 4

Hi everyone,

 

This is my first time using PowerApps so very unfamiliar with it. I wanted to know if it was possible to write to multiple excel spreadsheets from a singular App. I know you can connect to different data sources, but can you re-write back to them?

 

So this is the flow that i would like to happen, when i select a name and add comments in the app, i want it to write back to the correspnding excel spread sheet.

 

Does this make sense?

 

Regards

Toby

Categories:
I have the same question (0)
  • LanceDelano Profile Picture
    on at

    PowerApps can write to multiple data sources.  Just add the second data source and then connect up your controls to the data source, in particular, that you want to update.  

  • Toby_GS Profile Picture
    4 on at

    is there a video tutorial that i can use to help me understand that better?

     

    Thanks 

    Toby

  • LanceDelano Profile Picture
    on at

    There are a several youtube videos out there on working with multiple data sources.  So, it depends on what you want to emphasize.  Use this search string "working with multiple datasources in powerapps".  Then, take a look for what might help you best.

  • Toby_GS Profile Picture
    4 on at

    the videos i watched showed how to draw data from multiple lists and then push data back to a masta form, but i couldn't find a video or tutorial which would write back to individual data sources.

     

    So the ideal flow i am trying to create is this situation:

    - 1 powerapp

    - multiple excel files each with different names

    - In powerapps select name (these names are based on the individual excel files)

    - write a comment and then powerapps writes it back to the invididual excel file based on my name selection.

     

    So as an example, i have an excel file named 'Peter', In the PowerApps, i have a drop down named 'Peter' and when i write a comment and submit, it writes into the excel file named 'Peter'. I have another excel file named 'Julie' and in the same PowerApps, i have can now select 'Julie' add a comment and it writes back to the 'Julie' excel file.

     

    Thanks for the help.

     

    regards

    Toby

  • Verified answer
    LanceDelano Profile Picture
    on at

    So, in the place where you do an update of the data you can include more than one patch statement by separating them with semi-colons.   So,

     

    Patch(...) ;  // here is the first patch statement to your first data source

    Patch (...)  // here is the second patch statement to your second data source.

     

    You can also wrap the statements to check that the first patch was successful before you allow the second patch statment to proceed by checking the return value.  This article may help with more details.

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-forms#browse-records

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard