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 / Related data sources a...
Power Apps
Unanswered

Related data sources at different screens

(0) ShareShare
ReportReport
Posted on by 2

I would like to create 2 screens. The first screen presents data from Excel-table1. When I switch to screen 2 by selecting a record, I would like to present data from Excel-table2 related to selected record. 

 

table1:

ID|name|email

1|Example|example@sample.com

 

table2:

ID|department|position

1|IT|Junior Systems Engineer

1|IT|Senior Systems Engineer

 

Screen1:

List of all employees

 

Screen2:

List of all departments and job positions of selected employee.

 

Is there a way to solve it with PowerApps?

 

Categories:
I have the same question (0)
  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    Yes, you can certainly do that. As long as the second table has a column that identifies the element in the first one (a "foreign key"), you can use a Filter expression in a gallery in the second screen.

     

    For example, in the first screen you would have a gallery showing all items (i.e., its Items property is set to the first table) from the first table, as you mentioned, and when an item is selected, you would navigate to the second screen.

     

    In the second screen, you would filter the second table based on the selected item of the first gallery. You can access properties of controls in any screen, so you can reference the first gallery in the Items property of the second one (assuming that the second table is called 'JobPositions'):

    Filter(JobPositions, ID = Gallery1.Selected.ID)

     

  • moosmutzel Profile Picture
    2 on at

    Hey CarlosFigueira,

    many thanks. This was the missing link 🙂

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard