cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bergenian
Level: Powered On

Building up proper cascading dropdowns with multiple data sources

Hi everyone.

 

I'm in the middle of building an app which is connected to multiple SP lists as data sources. First list as follows:Lista 2.JPGList nº1

 

 

 

 

 

 

 

 

 

So automatically, when the user connects, it filters from last row ("Usuario") and gives back the "Delegación" value.

 

APP.JPG

So as mentioned, "SDR" is filled in automatically and now I want the users to be allowed to choose from all the "Activo" field which have the "SDR" value in the following list:

Lista 1.JPG

 

I thought it wouldn't be too complicated, but so far I couldn't get a workaround. Here is the exact point where I'm stuck, after having tried many different formulas:

 

Formula.JPG

 

Appreciate any help.

 

Thanks.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Building up proper cascading dropdowns with multiple data sources

Hi @Bergenian ,

Could you tell me

1)the data type of Delegación field in Maestro de Activos list?

2) is DelegaciónDataCard  the textinput control's name that belongs to Delegación Data Card?

If Delegación field is a choice column or lookup column ,DataCardValue1 is the textinput's name,try this formula:

Filter( Maestro de Activos;Delegación.Value=DataCardValue1.Text)

Best regards,

Community Support Team _ Phoebe Liu

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
shailendra74
Level 8

Re: Building up proper cascading dropdowns with multiple data sources

Hi @Bergenian 

 

I think in Activo list Delegación is a Lookup file. If that's the case you need to change your filter criteria for Activo dropdown.

 

Filter('Maestro de Activos'; Delegacion.Id = DelegacionDataCard.Id)

Hope this helps.

 

Thanks.

shailendra74
Level 8

Re: Building up proper cascading dropdowns with multiple data sources

correction: Lookup field

Community Support Team
Community Support Team

Re: Building up proper cascading dropdowns with multiple data sources

Hi @Bergenian ,

Could you tell me

1)the data type of Delegación field in Maestro de Activos list?

2) is DelegaciónDataCard  the textinput control's name that belongs to Delegación Data Card?

If Delegación field is a choice column or lookup column ,DataCardValue1 is the textinput's name,try this formula:

Filter( Maestro de Activos;Delegación.Value=DataCardValue1.Text)

Best regards,

Community Support Team _ Phoebe Liu

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Bergenian
Level: Powered On

Re: Building up proper cascading dropdowns with multiple data sources

Thank you all for your kind responses.

 

That was the issue, in my case I just changed the column type in SharePoint and the formula started to work. One of those times you get stuck and can't think straight! 

 

Thanks again!

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 47 members 4,872 guests
Please welcome our newest community members: