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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,278)