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 function on mul...
Power Apps
Answered

Filter function on multiple SP list

(0) ShareShare
ReportReport
Posted on by 211

Hello community,

I am a beginner on Powerapps. I am trying to apply two filters on two different lists in a dropdown object.

For example,

List1:

CityStates
ParisFrance
RomeItaly

 

List2:

CityStates
New YorkUsa
MadridSpain

 

Combobox -> Items -> ["Paris" , "Rome", "New York", "Madrid]

Combobox2 -> Items -> Filter(Test1;City=Combobox.SelectedText.Value).States

 

I would like to use both SP lists because I have 3500 rows and I need to divide lists in 1500 and 2000 rows.

 

Can you help me? 

I try with:

Combobox2 -> Items -> Filter(Test1;City=Combobox.SelectedText.Value).States ;; Filter(Test2;City=Combobox.SelectedText.Value).States 

 

but it doesn't work

Categories:
  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    I think you want Filter(Test1;City=Combobox.Selected.City).States

  • common_user Profile Picture
    211 on at

    Thank you @BrianS, yes but I don't know if is it possible filter in the same time on two different lists in SP. Do you know something about this?

  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    Each Combo can only use a single list. You can Filter each Combo box but it would not work to have each dependent on the other - one can be dependent on the second, but you would create an infinite loop if they were cross-dependent

  • common_user Profile Picture
    211 on at

    I think that I must to create two combo box that are connect to two different list.

     

    Thank you @BrianS 

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

    Hi  @common_user ,

     

    You could try:

     

    Combobox -> OnSelect

     

    ClearCollect(TheCollection;Filter(Test1;City=Combobox.SelectedText.Value).States);;
    
    Collect(TheCollection;Filter(Test2;City=Combobox.SelectedText.Value).States)

     

    Combobox2 -> Items -> 

     

    TheCollection

     

    Best Regards,

    Bof

     

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard