cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Excel (more than 1 table)

Hi everyone

 

I have 2 diferent tables on Excel:

> Courses

> Attendees

 

How can I connect the 2 tables (ID Course) and start to build a PowerApp?

 

I am starting to take my first steps... 

 

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Hi @Anonymous ,

Could you describe more clearly about "connect these two tables"? what function that you want?

If you want to filter table2 based on table1's Course ID, you could try:

Filter(table2,Course ID in table1.Course ID)

If you want to combine table1 with table2, you could try:

ForAll(table2,Patch(table1,LookUp(table1,Course ID=table1[@Course ID]),{fieldname1:fieldname11,fieldname2:fieldname22,...})
//fieldname1 and fieldname2 is fields in table1, fieldname11 and fieldname22 is fields in table2
//in this way, table1 will be updated with the data of table2

 

Best regards,

Community Support Team _ Phoebe Liu
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

5 REPLIES 5
Highlighted
Dual Super User III
Dual Super User III

If you want the Excel tables to be Read/Write you'll need to store them on OneDrive or OneDrive for business.  If they are Read only then you can store them in various places.  Once you've decided how to use them then create the appropriate Excel connector and choose the storage location, the excel file and the two tables.  They will then show as data sources in your application.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Highlighted
Community Support
Community Support

Hi @Anonymous ,

Could you describe more clearly about the function that you want?

In PowerApps, there's no direct way to connect two tables.

However, you could read or write items based on two tables.

 

The first step is to format your excel file.

All your data should be formatted to table. Or else, it can not be used in PowerApps.

 

Secondly, connect data source.

If you just want to read your excel files, you could select "import from excel" or "one drive".

If you want to update records, I suggest you update your excel files to one drive, and then choose one drive when connecting data source.

Please note that you need to connect with these two tables. 10153.PNG

 

Thirdly, design your app. You could "connect tables" in this step.

Read/Write based on these two tables.

 

 

Best regards,

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Anonymous
Not applicable

Thanks for your help 🙂

 

I want to connect this two tables using Course ID.

Maybe Excel is not the best way to store data Smiley Frustrated

 

 

Capturar.PNG

Highlighted

Hi @Anonymous ,

Could you describe more clearly about "connect these two tables"? what function that you want?

If you want to filter table2 based on table1's Course ID, you could try:

Filter(table2,Course ID in table1.Course ID)

If you want to combine table1 with table2, you could try:

ForAll(table2,Patch(table1,LookUp(table1,Course ID=table1[@Course ID]),{fieldname1:fieldname11,fieldname2:fieldname22,...})
//fieldname1 and fieldname2 is fields in table1, fieldname11 and fieldname22 is fields in table2
//in this way, table1 will be updated with the data of table2

 

Best regards,

Community Support Team _ Phoebe Liu
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

Highlighted
Anonymous
Not applicable

Perfect Smiley Happy 

Thanks!!!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (11,658)