cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.

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.

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

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

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

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 44 members 3,895 guests
Please welcome our newest community members: