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

Filter an entity using multiple values in a gallery or another entity?

Is there any way to filter an entity using say multiple values in a gallery or entity. Like for example, I want to filter Users to only return data where the 'Full Name' matches the 'Name' of another entity or gallery?

 

I have an entity here that has a field called 'Copy To Full Name'

copytofullname.png

Is there anyway to filter Users so it only returns data where it's 'Full Name' matches the 'Copy To Full Name' field?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Filter an entity using multiple values in a gallery or another entity?

Hi @Mgodby ,

 

According to my test, it cannot be achieved directly, but you can try the workaround below:

1. Add a button, set its OnSelect property to:

 ClearCollect(C1,Distinct('Purchase Requisition Copy Tos','Copy To Fulll Name'))

2. Set below formula in the Items property of your Users gallery:

Filter(Users,'Full Name' in C1.Result)

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
PowerAddict
Level 10

Re: Filter an entity using multiple values in a gallery or another entity?

Are you trying to get a filtered list of users where the full name is in 'Purchase Requisiton Copy Tos'.'Copy to Full Name'?

If so, can you try

Filter(Users, 'Full Name' in 'Purchase Requisiton Copy Tos'.'Copy to Full Name'

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com
Community Support Team
Community Support Team

Re: Filter an entity using multiple values in a gallery or another entity?

Hi @Mgodby ,

 

According to my test, it cannot be achieved directly, but you can try the workaround below:

1. Add a button, set its OnSelect property to:

 ClearCollect(C1,Distinct('Purchase Requisition Copy Tos','Copy To Fulll Name'))

2. Set below formula in the Items property of your Users gallery:

Filter(Users,'Full Name' in C1.Result)

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Community Support Team
Community Support Team

Re: Filter an entity using multiple values in a gallery or another entity?

Hi @Mgodby ,

 

Have you checked on this issue recently?

 

Regards,

Mona

Community Support Team _ Mona Li
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 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 (Last 30 Days)
Users online (6,241)