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

Filtering by multiple selection does not work

I am creating powerapps and I am quite mad.

 

In my app I have two sharepoint list.

The first ist authority. In this sharepoit list I have columns: 

  Name 

  Authority 

 

The second list is named forms with columns:

  Name of submitter 

  Authority of submitter 

  Agent of sumitter

 

I have set my form to this properties:

 

DateCardNameOfSubmitter

ComboBox1

Items: Distinct('Authority'; Name)

 

DateCardAuthorityOfSumbmitter

ComboBox2

Items: Filter('Authority'; Name = ComboBox1.Selected.Result)

 

This works pretty good. But now I need to filter the Agent of sumitter back from the second list and column Name.

Something like this: 

DataCardAgentOfSubmitter

ComboBox3

Filter('Authority'; Authority = ComboBox2.SelectedItems.Authority)

But it does not works because it does not filter by multiple selection but only with single selections. What should I do with that? Thanks.

2 REPLIES 2
GarethPrisk
Level: Powered On

Re: Filtering by multiple selection does not work

This is a knee-jerk response, so apologies if its way off.

Perhaps:

Filter('Authority'; Authority In ComboBox2.SelectedItems.Authority)

Community Support Team
Community Support Team

Re: Filtering by multiple selection does not work

Hi @JiriS ,

Could you please share a bit more about the third ComboBox (ComboBox3) that you mentioned?

Do you want to pull data into the ComboBox3 from your authority SP List or forms SP List?

Further, do you selected multiple options within the second ComboBox?

 

Based on the formula that you mentioned, I have made a test on my side, please consider take a try with the following workaround:

Set the Items property of the ComboBox3 to following:

Filter('Authority'; Authority in ComboBox2.SelectedItems.Authority)

 

If the Authority column is a Choice type in your authority SP List, please consider modify above formula as below:

Filter(
        'Authority'; 
         Authority in ForAll(
                              ComboBox2.SelectedItems.Authority,
                              Authority.Value
                      )
)

 

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.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps 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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,366)