web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

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:
I have the same question (0)
  • timl Profile Picture
    36,415 Super User 2025 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard