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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

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.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

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 (4,819)