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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (55,378)