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 / Excel (more than 1 table)
Power Apps
Answered

Excel (more than 1 table)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,651 Most Valuable Professional on at

    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.

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    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 Power Platform Member Profile Picture
    Microsoft Employee on at

    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

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    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 Power Platform Member Profile Picture
    Microsoft Employee on at

    Perfect Smiley Happy 

    Thanks!!!

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 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard