cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aschwinb
Frequent Visitor

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
v-monli-msft
Community Support
Community Support

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

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

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
v-monli-msft
Community Support
Community Support

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

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

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (74,662)