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

I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

I have many column in sharepoint to record data.

For column MaterialGroup and MaterialTitle set type to Choice (Picture 1)

 

I create powerapps and set drowdown 1 link to MaterialGroup by Choices(InternalMemoRegister.MaterialGroup)

I want to dropdown 2 show data in column MaterialTitle by Group in dropdown 1

Exemple when I selected dropdown 1 a "Chemical" , Dropdown show as PET,HPMC,TEA (Picture 2)

I input formular as Filter(Choices(InternalMemoRegister.MaterialTitle), Value in Filter(InternalMemoRegister,MaterialGroup=Dropdown1.selected.value)), but the formular is error.

 

Please let us know to solve this problem

 

Picture 2

 

2.PNG

 

Picture 1

1.PNG

3 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support Team
Community Support Team

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

Hi @supanssa ,

Could you please share a bit more about your scenario?

Do you want to show available options within the Dropdown2 based on the selected value within the Dropdown1?

 

Based on the formula you provided, I think there is something wrong with it. I have made a test on my side, please take a try with the following workaround:

Set the Items property of the Dropdown2 box to following:

Filter(
Choices(InternalMemoRegister.MaterialTitle),
Value in ForAll(
Filter(InternalMemoRegister, MaterialGroup.Value = Dropdown1.Selected.Value).MaterialTitle, /* <-- Do not miss the .Value after the the MaterialGroup column */
MaterialTitle.Value
)
)

Note: I assume that the MaterialTitle column is a Single choice type column rather than multiple choice type column.

Please consider 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

Community Support Team
Community Support Team

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

Hi @supanssa ,

If you changed MaterialTitle from choice type to Single Line, please consider modify your formula as below:

Set the Items property of the Dropdown2 box to following:

Distinct(
Filter(InternalMemoRegister, MaterialGroup.Value = Dropdown1.Selected.Value), /* <-- Do not miss the .Value after the the MaterialGroup column */
MaterialTitle
)

When you want to reference the selected value from the Dropdown2 box, please use the following formula:

Dropdown2.Selected.Result

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

supanssa
Level: Powered On

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

OK, Thank you very much.

View solution in original post

8 REPLIES 8
Community Support Team
Community Support Team

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

Hi @supanssa ,

Could you please share a bit more about your scenario?

Do you want to show available options within the Dropdown2 based on the selected value within the Dropdown1?

 

Based on the formula you provided, I think there is something wrong with it. I have made a test on my side, please take a try with the following workaround:

Set the Items property of the Dropdown2 box to following:

Filter(
Choices(InternalMemoRegister.MaterialTitle),
Value in ForAll(
Filter(InternalMemoRegister, MaterialGroup.Value = Dropdown1.Selected.Value).MaterialTitle, /* <-- Do not miss the .Value after the the MaterialGroup column */
MaterialTitle.Value
)
)

Note: I assume that the MaterialTitle column is a Single choice type column rather than multiple choice type column.

Please consider 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

supanssa
Level: Powered On

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

Dear V-xida-msft

 

The the MaterialTitle column is mutiple choices column.

 

supanssa
Level: Powered On

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

1.PNG2.PNG

supanssa
Level: Powered On

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

Sorry, If I change MaterialTitle from choice to Single Line

What the code to show available options within the Dropdown2 based on the selected value within the Dropdown1

 

3.PNG

Community Support Team
Community Support Team

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

Hi @supanssa ,

If you changed MaterialTitle from choice type to Single Line, please consider modify your formula as below:

Set the Items property of the Dropdown2 box to following:

Distinct(
Filter(InternalMemoRegister, MaterialGroup.Value = Dropdown1.Selected.Value), /* <-- Do not miss the .Value after the the MaterialGroup column */
MaterialTitle
)

When you want to reference the selected value from the Dropdown2 box, please use the following formula:

Dropdown2.Selected.Result

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

supanssa
Level: Powered On

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

OK, Thank you very much.

View solution in original post

Community Support Team
Community Support Team

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

Hi @supanssa ,

Have you solved your problem?

 

If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread as 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.
supanssa
Level: Powered On

Re: I cannot filter by dropdown from 2 column in sharepoint are created type of Choices.

I already accept, Sorry for late.

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.

Top Kudoed Authors
Users Online
Currently online: 204 members 6,283 guests
Recent signins:
Please welcome our newest community members: