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

Filtering Author using Dropdown

Hi,

 

I would appreciate some advice on how to use a dropdown control in filtering the author(Created By) field. I have a gallery which I want to filter by author using the dropdown control. I already have existing filters for my unique ID column and Title column.

 

Here is my current gallery Items formula:

If(IsBlank(SearchTitle.Text) And IsBlank(Value(SearchId.Text)), LastN('Observation Reports Test List', 20), If( !IsBlank(SearchId.Text), Filter( 'Observation Reports Test List', ID = Value(SearchId.Text)), Filter( 'Observation Reports Test List', StartsWith( Title, SearchTitle.Text))))

 

I would like to add from here the third filter for the author by using the dropdown control.

 

Thank you in advance,

1 REPLY 1
aprildunnam
Level 10

Re: Filtering Author using Dropdown

It should be pretty straight forward.  You can grab the created by using the Author property.  So for example:

 

Filter(Author.Email = DropdownControl.Selected.Value)

 

 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

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
Users online (4,362)