cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Level 8

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
Highlighted
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
Super User
Super User

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
Highlighted
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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,403)