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

Link/connect external excel file (in onedrive for example) to excel file behind application

Hey!

I want to link fields of an external excel file to fields in the excel file behind my application (so that for example a recorded timestamp (because a start button is clicked) is recorded AND in the excel file behind the powerapp but also to another (online/offline) excel file. In that way, other people could view these timestamps without opening the excel file behind the application (which would stop the app from working).

Since connecting 2 fields of 2 excel files saved in onedrive/sharepoint doesn't work, I am searching for another solution.

Thanks in advance!

Aschwin

3 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support Team
Community Support Team

Re: Link/connect external excel file (in onedrive for example) to excel file behind application

Hi @Aschwinb ,

 

First of all, please understand that you cannot create new columns from PowerApps. PowerApps can only manage data inside the data sources. So, you need to first created all the columns you need from the data source side, then you could add/edit data to these data sources like excel tables.

 

Regards,

Mona

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.

View solution in original post

Aschwinb
Level: Powered On

Re: Link/connect external excel file (in onedrive for example) to excel file behind application

Thanks for the answer!

 

So it isn't possible to update a value in a cel from the excel file behind the powerapp (with a value that comes from another excel file)?

View solution in original post

Community Support Team
Community Support Team

Re: Link/connect external excel file (in onedrive for example) to excel file behind application

Hi @Aschwinb ,

 

You can update Table1(in Excel file1) using data from Table2(in Excel file2). Just use Patch function, use a formula like below:

 

Patch(Table2,Defaults(Table2),{Column1: DataCardValue1.Text, Column2: DataCardValue2.Text})

 

DataCardValue1/2 could be the text controls' names that store the data from Table1.

 

Regards,

Mona

 

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.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Link/connect external excel file (in onedrive for example) to excel file behind application

Hi @Aschwinb ,

 

First of all, please understand that you cannot create new columns from PowerApps. PowerApps can only manage data inside the data sources. So, you need to first created all the columns you need from the data source side, then you could add/edit data to these data sources like excel tables.

 

Regards,

Mona

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.

View solution in original post

Aschwinb
Level: Powered On

Re: Link/connect external excel file (in onedrive for example) to excel file behind application

Thanks for the answer!

 

So it isn't possible to update a value in a cel from the excel file behind the powerapp (with a value that comes from another excel file)?

View solution in original post

Community Support Team
Community Support Team

Re: Link/connect external excel file (in onedrive for example) to excel file behind application

Hi @Aschwinb ,

 

You can update Table1(in Excel file1) using data from Table2(in Excel file2). Just use Patch function, use a formula like below:

 

Patch(Table2,Defaults(Table2),{Column1: DataCardValue1.Text, Column2: DataCardValue2.Text})

 

DataCardValue1/2 could be the text controls' names that store the data from Table1.

 

Regards,

Mona

 

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.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,837)