cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
patty789
Helper V
Helper V

Using multiple filters using a drop down and a gallery

Hello,

 

I have a dropdown control and a gallery on a screen and i need to filter by location, full time and part time. So far i have this formula on but i don't know how to add to filter the full time and part time to the current formula. Filter(datasource, Location=Dropdown1.Selected.Result). Any help will be much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
PavanKumar
Responsive Resident
Responsive Resident

Hi @patty789 ,

 

Your formulae seems to be wrong Filter(datasource, Location=Dropdown1.Selected.Result,Duration="fulltime", Duration="parttime") with this you are saying get datasource data where Location is selected value, Duration is both part time and full time (which is not possible isn't it) try with correct columns and value. First start with second column alone and once you see the data try add another filter condition.

 

If this answers your question mark it as verified and give thumbs up

Regards,

pavan Kumar Garlapati

View solution in original post

4 REPLIES 4
PavanKumar
Responsive Resident
Responsive Resident

Hi @patty789 

 

You can add as many conditions as you want to filter just with commas for instance

 

 Filter(datasource, Location=Dropdown1.Selected.Result,Full Time="",Part Time="")

 

If this answers your question mark it as verified and give a thumbsup

Regards,

Pavan Kumar Garlapati

@PavanKumar thank you for your response but for whatever reason i am not getting anything to display the gallery is empty using the formula.  

Filter(datasource, Location=Dropdown1.Selected.Result,Duration="fulltime", Duration="parttime")

PavanKumar
Responsive Resident
Responsive Resident

Hi @patty789 ,

 

Your formulae seems to be wrong Filter(datasource, Location=Dropdown1.Selected.Result,Duration="fulltime", Duration="parttime") with this you are saying get datasource data where Location is selected value, Duration is both part time and full time (which is not possible isn't it) try with correct columns and value. First start with second column alone and once you see the data try add another filter condition.

 

If this answers your question mark it as verified and give thumbs up

Regards,

pavan Kumar Garlapati

View solution in original post

@PavanKumar I went piece by piece and i was able to get it working. Thank you! 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (58,994)