web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / I cannot filter by dro...
Power Apps
Answered

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

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    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 Power Platform Member Profile Picture
    Microsoft Employee on at

    Dear V-xida-msft

     

    The the MaterialTitle column is mutiple choices column.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    1.PNG2.PNG

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    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,

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    OK, Thank you very much.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    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 Power Platform Member Profile Picture
    Microsoft Employee on at

    I already accept, Sorry for late.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard