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 / Filtering a List Box f...
Power Apps
Answered

Filtering a List Box from two combo boxes

(0) ShareShare
ReportReport
Posted on by 50

Hi,

 

I am having a few issues with filtering. I currently have an App that is leveraging from two sources, both SharePoint lists.

 

Most of my form is drawing from one of the SharePoint lists but for this element of the form, I have connected the second list to the Data Card to enable users to be able to search a database of available courses based on two dropdown lists:

1. Target Role (from Choice Column in SP)

2. Course Category (from Choice Column in SP)

 

This is then intended to filter the List Box (from Multi-line Column in SP) and drilldown to what available there are for the target role and selected course category.

(Pic below)

Amanda4_0-1683600411182.png

 

I have tried different combos of formula but not really sure what I am doing and thought best to seek help on this issue rather than waste more time guessing my way to a solution.

 

Thanks in advance for your help and guidance.

 

Thanks,

Amanda

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

    Hi @Amanda4 ,

     

    You could try the following formula:

    Filter(ListName,'Target Role'.Value=Dropdown1.Selected.Value,'Course Category'.Value=Dropdown2.Selected.Value)

     

    vzhoqianmsft_0-1683615290806.png

     

     

     

    Best Regards,

    Habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

  • Amanda4 Profile Picture
    50 on at

    HI @v-zhoqian-msft ,

     

    Thanks for your message.

     

    I gave that one a go and it is giving me a delegation warning and the List Box is showing up completely blank. Before and after pictures below

    Before updating code:

    Amanda4_1-1683628102617.png

     

     

    After updating code:

    Amanda4_0-1683628058492.png

     

     

    Any thoughts?

     

    Thanks again for your help.

     

    Cheers,

    Amanda

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

    Hi @Amanda4 ,

     

    Is there a text column and two choice columns in the SharePoint list, the text column is used as the data source of  the list box, and the two choice columns are used as the data source of the two dropdowns?

  • Amanda4 Profile Picture
    50 on at

    @v-zhoqian-msft ,

     

    Yes, that is correct.

  • Amanda4 Profile Picture
    50 on at

    Hi @v-zhoqian-msft ,

     

    I have had a play with the advanced settings and I ended up removing the default settings in the List Box (Parent.Default). Once this was removed, it allowed for the filtering to occur. I haven't been able to incorporate both comboboxes to filter yet, but used part of the code that you suggested which works as intended.

     

    Filter('Technical Capability and Learning','Course Category'.Value = ComboBox5.Selected.Value)

     

    It isn't liking the target roles filter for some reason. I will keep plugging away to try and resolve that one too.

     

    Thanks for your help.

     

    Cheers,

    Amanda

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard