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 / Populate dropdown whil...
Power Apps
Unanswered

Populate dropdown while joining multiple tables based on SQL Server datamodel

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello reader,

I'm a student that is currently working with Power Apps. I created a SQL server database with 3 different tables
TEAMS > Joins on TEAM_ID with TEAM_PLAYER

PLAYER > Joins on PLAYER_ID with TEAM_PLAYER
TEAM_PLAYER > Has the foreign keys TEAM_ID and PLAYER_ID

 

Within Powerapps I have 2 dropdowns that I am going to use. One to select a certain team, and another dropdown for selecting players in their connected team. So I basically want to select a team and than select players that are in that team. I checked if these 2 dropdowns can be combined in a nested dropdown, but could not find if this was possible).

Right now I working with the 'Depends on' function to get somewhere, but the problem is that I still have an extra step with setting up my 'Join'. I need to go from TEAMS(team_name, teamid) --> TEAM_PLAYER(team_ID, player_ID) --> PLAYER(player_id)

MitchelFontys_0-1638966696321.png

I tried a lot of different UI options and checked the internet + youtube for solutions, but the problem is that nobody wants to do multiple joins. The tables are connected to each other in SQL server with primary and foreign keys.

Can somebody give me a hint on what to do next? Thank you! 🙂

With kind regards,

Mitchel



 

 

Categories:
  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    Hi @Anonymous 

    The way I would approach this is to create a SQL Server view that joins Team_Player with Player.

    You can then set the Items property of your dependent dropdown to this view, and configure it to depend on your cbboxTeams dropdown in the same way that you're doing now.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Good idea! I don't know why I have not thought about this solution. I'm going to try this. Will let everybody know if this is a good way to handle this problem.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard