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 / Cascading dropdown bas...
Power Apps
Answered

Cascading dropdown based on other list

(0) ShareShare
ReportReport
Posted on by 5

Hi Guys,

I need some help with cascading dropdown list in PowerApps.

 

I have 3 lists:

  • NewEmployeeForm_Departments
    where I have only one Title column with departments description
  • NewEmployeeForm_Positions
    where I have one title column with job positions description and one lookup column connected with departments list
  • NewEmployeeForm
    many different columns and two lookup columns connected to departments and positions lists

I've prepared PowerApps form to third list, but unfortunately I'm not able to filter positions based on departments.

 

I tried two following scenarios:


  1. Department
    Choices(NewEmployeeForm.Department)
    Position
    Sort(Distinct(Filter(NewEmployeeForm_Positions;Department=DataCardValue2.Selected.Value);Title);Result)

    And this works fine - filter works. Unfortunately when I submitting the form Position column is empty. And it makes sense, because I am referring to the different list (NewEmployeeForm_Positions)

  2. Department
    Choices(NewEmployeeForm.Department)
    Position
    I tried with something like below, but probably it isn't good approach:
    Filter(Choices(NewEmployeeForm.Position);Department.Value=DataCardValue2.Selected.Value in NewEmployeeForm_Positions.Department)

    Could you Guys point me to correct way to achive that goal?
    Many thanks. 
Categories:
  • LRVinNC Profile Picture
    2,297 on at

     Take a look at Shane Young's video on cascading dropdowns which will take you step by step through the process - https://www.youtube.com/watch?v=pkZG2boN7jQ

  • Verified answer
    R3dKap Profile Picture
    1,594 on at

    Hi @Shibato,

    If I understand your situation:

    • NewEmployeeForm_Departements
      • Title
    • NewEmployeeForm_Positions
      • Title
      • Department (lookup to Departments)
    • NewEmployeeForm
      • many columns
      • Departement (lookup to Departements)
      • Position (lookup to Positions)

    In you form for the NewEmployeeForm list, once you have chosen a value for the Department field, you want to filter the list of values in the Position field according to the Departement field value.

    If that's what you want to achieve, here is how you have to do it... In the Items property of your Position field, put the following code:

    Filter(
    Choices(NewEmployeeForm.Position),
    Id in ShowColumns(
    Filter(NewEmployeeForm_Positions, Department.Id=DataCardValue2.Selected.Id),
    "ID"
    )
    )

    Tell us if this works for you...

    Emmanuel

     

  • Shibato Profile Picture
    5 on at

    Hi Guys,

    @R3dKap your solution works perfect. Big thanks for your help Smiley Happy

    @LRVinNC thanks for your suggestion.

     

    Have a great day. 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard