cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,211)