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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (21,502)