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

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
Level 8

Re: Using multiple filters using a drop down and a gallery

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

4 REPLIES 4
PavanKumar
Level 8

Re: Using multiple filters using a drop down and a gallery

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

patty789
Level: Powered On

Re: Using multiple filters using a drop down and a gallery

@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
Level 8

Re: Using multiple filters using a drop down and a gallery

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

patty789
Level: Powered On

Re: Using multiple filters using a drop down and a gallery

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

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

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

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 4 members 4,474 guests
Recent signins:
Please welcome our newest community members: