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 / Nested Dropdowns in a ...
Power Apps
Unanswered

Nested Dropdowns in a Canvas App

(0) ShareShare
ReportReport
Posted on by 15

I feel like I'm missing something very simple.

I have built a model driven app, and am using the same data fields to build user-friendly forms in Canvas Apps.

All I want to do, is place one drop down that identifies locations, then another drop down that only lists associates assigned to that location.

Dropdown 1: 'Which PP Branch DD'
Table:  'Company Locations'
Item formula:  Filter('Company Locations', 'Company Locations (Views)'.'Performance Personnel Locations')

 

Dropdown 2: 'Which Associate DD'
Table: 'Associate Info'
Item formula:   
Filter('Associate Info','PP Branch Assigned'= 'Which PP Branch DD'.Selected.Value)

          
What is the correct approach?

On a side note: I tried to assign the Associate Info table to the 'Which Associate DD' drop down in the Canvas Spp, but when I use the Depends On function, the key field I need, 'PP Branch Assigned' doesn't appear.  I think it's because it is a lookup field and the other lookup fields in that table don't appear as an option either.

I have the same question (0)
  • Bcoussens01 Profile Picture
    10 on at

    There are many ways to achieve the same outcome in a Canvas or Custom Page (in a MDA) this is the approach I use: which is very flexible and really is just like any other filter...  When you select the first Option set a variable or attribute with he value. the second lookup should use an if statement that checks if this value is set, if its not... the Lookup is disabled, if true, then the value is used to filter the items returned in the second lookup.  this model work well for me. 

  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    I don't have exactly your business model. I used as an example 2 tables from Dataverse - Business Units and Users. So when in Dropdown1 I select a particular business unit the second dropdown should show only users that belong to the selected business unit. Here is the "Items" formula I used:

    Filter(
     Users,
     'Business Unit'.'Business Unit' = Dropdown1.Selected.'Business Unit'
    )
  • Bcoussens01 Profile Picture
    10 on at

    To confirm you filter works first use the same filter on a simple gallery to confirm the correct records are returned, if that works then apply the filter to the dropdown and If the issue persists then its not the filter its how you are implementing it on the dropdown, you can also tell the dropdown to use the gallery as the source so you can follow the steps along the way, much easier way to learn too. 

     

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