cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
maruthi216
Helper III
Helper III

Populating a value in drop down based on values from 2 other drop downs (Cascading)

Hello Experts,

I am new to powerapps, learning from your forum, thanks for your support.

I am developing an app similar to below.. but was struck with an error.

I have 4 Sharepoint Lists.

  1. PAMFR(Title/Manufacturer).
  2. PADEVICES(Manufacturer/Device).
  3. PAMODEL(Manufacturer/Device/Model).
  4. PA_ACCESS(Manufacturer/Access)

My Requirement: when I select Manufacturer in dropdown1, I should get the Device in dropdown2 and model in dropdown3 and access in dropdown4.

 

But I am getting the “error” as attached. Also I attached screenshots of my sharepoint lists.

Any help would be of a great help.

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @maruthi216 ,

Could you please share a bit more about the formula you typed within the Items property of the Dropdown1_1?

Could you please share a bit more about the data type of the "Manufacturer" column in your PADEVICES, PAMODEL and PA_ACCESS lists? Is it a Choice type column or a Single text type column?

 

Based on the issue that you mentioned, I think there is something wrong with it. I have made a test on my side, please consider take a try with the following workaround:

Set the Items property of the Dropdown1 to following:

Distinct(PAMFR, Manufacturer)

 

set the Items property of the Dropdown2 to following:

Filter(PADEVICES, Manufacturer = Dropdpown1.Selected.Result)

if the "Manufacturer" column in your PADEVICES list is a Choice type column, please modify above formula as below:

Filter(PADEVICES, Manufacturer.Value= Dropdpown1.Selected.Result)

If you changed the Title column in your PADEVICES list into  "Manufacturer", please modify above formula as below:

Filter(PADEVICES, Title = Dropdpown1.Selected.Result)

then set the Device column as Display column value within the Dropdown2.

 

set the Items property of the Dropdown3 to following:

Filter(PAMODEL, Manufacturer = Dropdpown1.Selected.Result)

if the "Manufacturer" column in your PAMODEL list is a Choice type column, please modify above formula as below:

Filter(PAMODEL, Manufacturer.Value= Dropdpown1.Selected.Result)

If you changed the Title column in your PAMODEL list into  "Manufacturer", please modify above formula as below:

Filter(PAMODEL, Title = Dropdpown1.Selected.Result)

then set the Model column as Display column value within the Dropdown3.

 

set the Items property of the Dropdown4 to following:

Filter(PA_ACCESS, Manufacturer = Dropdpown1.Selected.Result)

if the "Manufacturer" column in your PA_ACCESS list is a Choice type column, please modify above formula as below:

Filter(PA_ACCESS, Manufacturer.Value= Dropdpown1.Selected.Result)

If you changed the Title column in your PA_ACCESS list into  "Manufacturer", please modify above formula as below:

Filter(PA_ACCESS, Title = Dropdpown1.Selected.Result)

then set the Access column as Display column value within the Dropdown4.

 

Please consider take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
RezaDorrani
Dual Super User II
Dual Super User II

@maruthi216 

 

What are the column types in each list?

v-xida-msft
Community Support
Community Support

Hi @maruthi216 ,

Could you please share a bit more about the formula you typed within the Items property of the Dropdown1_1?

Could you please share a bit more about the data type of the "Manufacturer" column in your PADEVICES, PAMODEL and PA_ACCESS lists? Is it a Choice type column or a Single text type column?

 

Based on the issue that you mentioned, I think there is something wrong with it. I have made a test on my side, please consider take a try with the following workaround:

Set the Items property of the Dropdown1 to following:

Distinct(PAMFR, Manufacturer)

 

set the Items property of the Dropdown2 to following:

Filter(PADEVICES, Manufacturer = Dropdpown1.Selected.Result)

if the "Manufacturer" column in your PADEVICES list is a Choice type column, please modify above formula as below:

Filter(PADEVICES, Manufacturer.Value= Dropdpown1.Selected.Result)

If you changed the Title column in your PADEVICES list into  "Manufacturer", please modify above formula as below:

Filter(PADEVICES, Title = Dropdpown1.Selected.Result)

then set the Device column as Display column value within the Dropdown2.

 

set the Items property of the Dropdown3 to following:

Filter(PAMODEL, Manufacturer = Dropdpown1.Selected.Result)

if the "Manufacturer" column in your PAMODEL list is a Choice type column, please modify above formula as below:

Filter(PAMODEL, Manufacturer.Value= Dropdpown1.Selected.Result)

If you changed the Title column in your PAMODEL list into  "Manufacturer", please modify above formula as below:

Filter(PAMODEL, Title = Dropdpown1.Selected.Result)

then set the Model column as Display column value within the Dropdown3.

 

set the Items property of the Dropdown4 to following:

Filter(PA_ACCESS, Manufacturer = Dropdpown1.Selected.Result)

if the "Manufacturer" column in your PA_ACCESS list is a Choice type column, please modify above formula as below:

Filter(PA_ACCESS, Manufacturer.Value= Dropdpown1.Selected.Result)

If you changed the Title column in your PA_ACCESS list into  "Manufacturer", please modify above formula as below:

Filter(PA_ACCESS, Title = Dropdpown1.Selected.Result)

then set the Access column as Display column value within the Dropdown4.

 

Please consider take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks Kris.

 

I was able to fix this issue by "Parent>>>child" relation ship.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,360)