cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
felipewltc
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
v-xida-msft
Community Support
Community Support

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
v-xida-msft
Community Support
Community Support

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

All working perfect, thank you for your help.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (1,068)