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

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

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

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

felipewltc
Level: Powered On

Re: filter choices using dropdown

All working perfect, thank you for your help.

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.

Users Online
Currently online: 381 members 7,000 guests
Please welcome our newest community members: