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.

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
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 (5,490)