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 / Cascading dropdown but...
Power Apps
Unanswered

Cascading dropdown but initial drop down isn't related to core record

(0) ShareShare
ReportReport
Posted on by 122

I have a table called Recruitment.  It is for relating people to a unique combination of a site and a study. 

 

In my Dataverse database, I have the following master tables: a People table, a Region table, a Site table and a Study table.

 

Regions can have 1:N Sites

Studies can be at multiple sites and sites can have multiple studies (N:N).  This is accomplished with a Site-Study mapping table.

 

Recruitment is the unique pairing of a Person with a Site-Study combination (thus the identifier of the mapped relationship).

 

When a recruitment record is created, I'd like to allow the end-user to start by selecting a region, then finding a site, then selecting a study.  Ultimately, I want this selection to be tied to a unique site-study record.

 

So my challenge is this: I can put a lookup on my model-driven form but this will just be a lookup to the Site-Study mapping table.  What I really want is to be able to have a dropdown for the region, which would filter the dropdown for the site, which would then filter the dropdown for the study.  Technically, none of these tables have direct relationships to the Recruitment table. 

 

Is this achievable using OOTB functionality or should I be thinking about building a PCF component for this?  If it's the latter, does anyone know of an existing PCF component that would help be accomplish this?

 

 

I have the same question (0)
  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @mhomol ,

    Based on your model, which sounds like the one below...

    dpoggemann_0-1700833096399.png

     

    You will not be able to filter as you expect out of the box.  My suggestion here is you might want to do one of a couple things to provide a nice interface for your users to filter as you need and identify the right Site / Study to relate to the Recruitment.

    Recommended Options

    1. Create an embedded Canvas App that will provide the ability to select the Site or Region from those respective tables and show the related Site Study records that exist.  The user can then select one of these and you could populate the appropriate Site Study field on the Recruitment record.  https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/embedded-canvas-app-add-classic-designer 
    2. Custom Page - You could also create a custom page instead that would basically do similar process but you would handle the full user experience on that page in your model app to create the appropriate recruitment records.  https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/add-page-to-model-app 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard