cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

filter choices using dropdown

I configured the button like this: Choices('RTR Workflow Master Data 4.0'.'Task Type'), it gave me the task type that I need, but how can I create another drop-down menu that shows the information related with that task?

For Example Task Type: Play futbool, (New dropdown): Monday, Wednesday. All that I need to filter is choice type.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: filter choices using dropdown

Hi @felipewltc ,

Could you please share a bit more about the 'RTR Workflow Master Data 4.0' data source? Is it a SP List?

Does your another Dropdown box also connect to a Choice type column?

 

I assume that the  'RTR Workflow Master Data 4.0' data source is a SP List, and the another Dropdown also connects to a Choice type column, is it true?

 

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

Set the Items property of your second Dropdown box to following:

Filter(
        Choices('RTR Workflow Master Data 4.0'.'AnotherChoiceField'),
Value in ForAll(
Filter('RTR Workflow Master Data 4.0', 'Task Type'.Value = FirstDropdown.Selected.Value).'AnotherChoiceField',
'AnotherChoiceField'.Value
) )

Note: The FirstDropdown represents the first Dropdown box in your app, whose Items property set to Choices('RTR Workflow Master Data 4.0'.'Task Type'). The 'AnotherChoiceField' represents the another Choice field in your data source, which you want to display in your second Dropdown box.

 

More details about the ForAll function, please check the following article:

ForAll function

 

Please 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

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: filter choices using dropdown

Hi @felipewltc ,

Could you please share a bit more about the 'RTR Workflow Master Data 4.0' data source? Is it a SP List?

Does your another Dropdown box also connect to a Choice type column?

 

I assume that the  'RTR Workflow Master Data 4.0' data source is a SP List, and the another Dropdown also connects to a Choice type column, is it true?

 

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

Set the Items property of your second Dropdown box to following:

Filter(
        Choices('RTR Workflow Master Data 4.0'.'AnotherChoiceField'),
Value in ForAll(
Filter('RTR Workflow Master Data 4.0', 'Task Type'.Value = FirstDropdown.Selected.Value).'AnotherChoiceField',
'AnotherChoiceField'.Value
) )

Note: The FirstDropdown represents the first Dropdown box in your app, whose Items property set to Choices('RTR Workflow Master Data 4.0'.'Task Type'). The 'AnotherChoiceField' represents the another Choice field in your data source, which you want to display in your second Dropdown box.

 

More details about the ForAll function, please check the following article:

ForAll function

 

Please 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

Highlighted
Helper II
Helper II

Re: filter choices using dropdown

All working perfect, thank you for your help.

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

Users online (10,047)