cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Peacepipe
Level: Power Up

Cascading Dropdown List - Based on an indirect value

Hello,

 

I have 2 tables: mac_familia and mac_tipo with the following structure:

 

image.png

 

I'm trying to construct a dropdown list that:

  • Shows the mac_tipo_desc field based on the mac_familia_desc choosen
  • However, my tables are connected by mac_familia_id and my first dropdown is showing mac_famia_desc
  • How can I construct this indirect relationship?

 

The most used example I found online is this:

 

Distinct(Filter(mac_tipo;mac_familia_id=Dropdown1.Selected.Value);mac_tipo_desc)

 

but I have to find the way to brind the value of other column (mac_familia_id) based on the selected.value.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Cascading Dropdown List - Based on an indirect value

Hi @Peacepipe,

Could you please share a bit more about the formula within the Items property of your first Drop down?

I have made a test on my side, please take a try with the following workaround:

I created two Excel tables as below:
6.JPG5.JPG

 

 

 

 

 

 

 

App's configuration as below:3.JPG

 

4.JPG

Set the Items property of the first Drop down control (Dropdown1) to following:

mac_familia                /* <-- My Excel table */

The Value proeprty of the first Drop down box within right panel set to mac_familia_desc.

Set the Items property of the second Drop down box to following:

Distinct(
Filter(mac_tipo, mac_familia_id = Dropdown1.Selected.mac_familia_id),
mac_tipo_desc
)

If the Items property of your first Drop down box set to following:

mac_familia.mac_familia_desc

Please set the Items property of the second Drop down to following:

Distinct(
Filter(
mac_tipo,
mac_familia_id = LookUp(mac_familia, mac_familia_desc= Dropdown1.Selected.Value,mac_familia_id)
),
mac_tipo_desc
)

Best regards,

Kris

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

1 REPLY 1
Community Support Team
Community Support Team

Re: Cascading Dropdown List - Based on an indirect value

Hi @Peacepipe,

Could you please share a bit more about the formula within the Items property of your first Drop down?

I have made a test on my side, please take a try with the following workaround:

I created two Excel tables as below:
6.JPG5.JPG

 

 

 

 

 

 

 

App's configuration as below:3.JPG

 

4.JPG

Set the Items property of the first Drop down control (Dropdown1) to following:

mac_familia                /* <-- My Excel table */

The Value proeprty of the first Drop down box within right panel set to mac_familia_desc.

Set the Items property of the second Drop down box to following:

Distinct(
Filter(mac_tipo, mac_familia_id = Dropdown1.Selected.mac_familia_id),
mac_tipo_desc
)

If the Items property of your first Drop down box set to following:

mac_familia.mac_familia_desc

Please set the Items property of the second Drop down to following:

Distinct(
Filter(
mac_tipo,
mac_familia_id = LookUp(mac_familia, mac_familia_desc= Dropdown1.Selected.Value,mac_familia_id)
),
mac_tipo_desc
)

Best regards,

Kris

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,341)