Cascading Dropdowns in PowerApps (2024)

Cascading Dropdown in PowerApps means one dropdown control value depends on the previous selection in a hierarchy, i.e., when a user picks an option from one dropdown control, the values filter in another Dropdown control.

In PowerApps, there are some situations where we want a cascaded dropdown; hence in this blog, we will discuss how to create cascading dropdowns in PowerApps using the SharePoint list as a data source.

Here we have two SharePoint lists with the following name:

1. Employee Department

2. Employee Details

In the Employee Department list, we have a column as Title, which is a single line of a text column, and it will store the name of the different departments as shown below image.

Cascading Dropdowns in PowerApps (1)

Employee Details is another SharePoint list where we have two columns as EmployeeName, which is a single line of text and will store the name of the employees and Another Column is a department column, which is a lookup column and looks to Employee Department List for displaying the name of the departments, as shown in below image.

Cascading Dropdowns in PowerApps (2)

In this scenario, we want two dropdowns in the PowerApps; when I select the department’s name from the first dropdown, the other dropdown should automatically populate the names of the employees in that corresponding department. To achieve this functionality, below are the following steps.

1. In PowerApps, I have added two drop downs as Employee Department and Employee Name. I have added the data source as Employee Department and Employee Details.

Cascading Dropdowns in PowerApps (3)

2. For the Employee Department dropdown, I have assigned the formula

Distinct (Employee_Department, Title)

Cascading Dropdowns in PowerApps (4)

3. For the Employee Name dropdown, I have assigned the formula

Filter(Employee_Details,Department.Value = ddnDepartment.Selected.Result).Title

Cascading Dropdowns in PowerApps (5)

4. After Saving and publishing the app, the result will look like this

Cascading Dropdowns in PowerApps (6)

Conclusion:

In the above blog, we discussed how to create cascading dropdowns using a SharePoint list as a data source and depending on the business need; we can implement it in the PowerApps.

Cascading Dropdowns in PowerApps (7)

I hope you found this blog helpful.

Cascading Dropdowns in PowerApps (2024)
Top Articles
Latest Posts
Article information

Author: Arline Emard IV

Last Updated:

Views: 6554

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Arline Emard IV

Birthday: 1996-07-10

Address: 8912 Hintz Shore, West Louie, AZ 69363-0747

Phone: +13454700762376

Job: Administration Technician

Hobby: Paintball, Horseback riding, Cycling, Running, Macrame, Playing musical instruments, Soapmaking

Introduction: My name is Arline Emard IV, I am a cheerful, gorgeous, colorful, joyous, excited, super, inquisitive person who loves writing and wants to share my knowledge and understanding with you.