Creating cascading dropdowns in Power Apps can significantly enhance the user experience by filtering options based on previous selections.
Here’s a step-by-step guide to help you set up this.
Perquisites
Use a SharePoint list or any other data source to store your hierarchical data (Master Data).
I am going to demonstrate cascading dropdown functionality using the following controls.
- Dropdown Control
- Combo box Control
- Combo box with text box control
Dropdown Control

I used a Dropdown control to create a cascading effect. Based on the selected value in the Segment dropdown, the Country dropdown will be filtered. Then, based on the selected value in the Country dropdown, the Product dropdown will be filtered. Finally, based on the selected value in the Product dropdown, the Sale Price textbox will be set.
Note. Source Master lists all columns as single-line text.
Destination Try list structure is as follows: all columns single line text except Sale Price Currency Data type.

- Segment Dropdown Configuration
- Item Property
Distinct('Financial Dummy data',Segment) - This sets the items in the Segment dropdown to be distinct values from the ‘Segment’ column in the ‘Financial Dummy data’ table.
- OnChange Property
Reset(ddCountry);Reset(ddProduct);Reset(txtSalePrice) - When the Segment dropdown value changes, it resets the Country dropdown, Product dropdown, and Sale Price textbox to their default states.
- Update Property
ddSegment.Selected.Value - This updates the Segment dropdown with the selected value.
- Item Property
- Country Dropdown Configuration
- Item Property
Distinct( Filter( 'Financial Dummy data', Segment = ddSegment.Selected.Value ), Country ) - Update Property
ddCountry.Selected.Value
- Item Property
- Product Dropdown Configuration
- Item Property
Distinct( Filter( 'Financial Dummy data', Segment = ddSegment.Selected.Value && Country = ddCountry.Selected.Value ), Product ) - Update Property
ddProduct.Selected.Value
- Item Property
- Sale Price Text box Configuration
- Default Property.
- The LookUp function in Power Apps is used to find the first record in a table that matches a specified formula.
LookUp( 'Financial Dummy data', Segment = ddSegment.Selected.Value && Country = ddCountry.Selected.Value && Product = ddProduct.Selected.Value, ' Sales' )
2. Combo box Control

Let's see how to do Cascading dropdown using combo box control, code will remain the same only the control will change in this case.
Note. The database master table named VisTbl_Country_States has the table schema below from which we are fetching cascading data.



Amit KumarPosted Sep 5, 2024, 12:17 PM
Very nice it is very helpful blog.