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 / Filter Shaerpoint "cho...
Power Apps
Answered

Filter Shaerpoint "choice" field

(0) ShareShare
ReportReport
Posted on by 144

I like to filter a dropdown list.  The list "Main" has 2 lookup fields. One from list "MainGroup" and one from "SubGroup". 

I have changed the screens in PowerApps, and like to filter the SubGroup field based on the value in MainGroup. 

eg.

If i select "Projects" in the main group, the subgroup field should be "Documentation", "Calculation","Drawings", and if i select "Consultation" in the Main group, the SubGroup dropdown list should only show "Training". 

 

What is the correct syntax to make a "filter" on the SubGroup field?

 

tegning1.jpg

 

 

Categories:
  • WarrenBelz Profile Picture
    156,754 Most Valuable Professional on at

    Hi @TrulsB ,

    Using the names on your example, and MainGallery for the top screen the Items for the second gallery would be

    Filter(
     Main,
     MainGroup = MainGallery.Selected.MainGroup
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

    Hi @TrulsB ,

    Could you please share a bit more about the "MainGroup" field in your SubGroup list? Is it a LookUp type field which reference values from the Title field in MainGroup List?

     

    I assume that the "MainGroup" field in your SubGroup list is also a LookUp type column, which reference values from the Title field in MainGroup List.

     

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

    Set the Items property of the SubGroup ComboBox in your Edit form (connects to Main SP List) to following:

    Filter(
     Choices(Main.SubGroup),
     Value in Filter(SubGroup, MainGroup.Value = MainGroupComboBox.Selected.Value).Title
    )

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best regards,

  • TrulsB Profile Picture
    144 on at

    The MainGroup Field in the SubGroup list, is a Sharepoint lookup Field - looking up from MainGroup list (Title Field)

     

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

    Hi @TrulsB ,

    Yeah, based on the needs that you mentioned, I think the solution I provided above could achieve your needs.

     

    Please take a try with it, then check if the issue is solved.

     

    Best regards,

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard