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

Filtering

I am currently Filtering my gallery as follows:

Filter(TestDominic2,Lower('Created By'.Email)=Lower(User().Email))

I would like to also now filter further based on the choice from a drop down control i have created from  a SP choice column: Choices(TestDominic2.'Review Status')

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Filtering

Hi @BenGillard

You can filter your data like so:

Filter(TestDominic2,
       Lower('Created By'.Email)=Lower(User().Email) &&
       'Review Status'.Value = Dropdown1.Selected.Value)
)

Dropdown1 would refer to the name of your dropdown. 

Due to the delegation limitations of SharePoint, note that this would not be delegable and the filter would only operate on a maximum of the first 2000 records in your list.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Filtering

Hi @BenGillard

You can filter your data like so:

Filter(TestDominic2,
       Lower('Created By'.Email)=Lower(User().Email) &&
       'Review Status'.Value = Dropdown1.Selected.Value)
)

Dropdown1 would refer to the name of your dropdown. 

Due to the delegation limitations of SharePoint, note that this would not be delegable and the filter would only operate on a maximum of the first 2000 records in your list.

View solution in original post

Community Support Team
Community Support Team

Re: Filtering

Hi @BenGillard,

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

Set the Items property of the Gallery to following:

Filter(
TestDominic2,
Lower('Created By'.Email) = Lower(User().Email),
'Review Status'.Value = Dropdown1.Selected.Value /* <-- Dropdown1 represents the Dropdown control that you mentioned*/
)

Or

Filter(
TestDominic2,
Lower('Created By'.Email) = Lower(User().Email) && 'Review Status'.Value = Dropdown1.Selected.Value /* <-- Dropdown1 represents the Dropdown control that you mentioned*/
)

More details about Filter function, please check the following article:

Filter function

 

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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 59 members 3,447 guests
Please welcome our newest community members: