cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Filter gallery by cascading comboboxes or dropdowns

I would like to filter gallery using cascading combo boxes or drop-downs, I tried multiple formulas such as below but nothing works so far.

 

Filter(Datasource,  field_value = Dropdown1.SelectedText.Value) OR Filter(Datasource, Dropdown1.SelectedText.Value in field_value)

 

Any help would be appreciated.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Filter gallery by cascading comboboxes or dropdowns

Hi @rasula ,

 

What is the column type of this field? If it is a single choice column, then the formula should be:

 

Filter(Datasource,  fieldname.Value = Dropdown1.Selected.Value) 

 

 

If it's a multiple selection choice column, then the formula should be:

Filter(Datasource,Dropdown1.Selected.Value in fieldname.Value) 

 

Regards,

Mona 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Highlighted
Super User
Super User

Re: Filter gallery by cascading comboboxes or dropdowns

Have you tried Filter(Datasource, field_value = Dropdown1.Selected.Value)?

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com
Highlighted
Frequent Visitor

Re: Filter gallery by cascading comboboxes or dropdowns

I tried and it did not work either. 

Highlighted
Super User
Super User

Re: Filter gallery by cascading comboboxes or dropdowns

Do you get an error?

Thanks,
Hardit Bhatia
https://thepoweraddict.com
Highlighted
Frequent Visitor

Re: Filter gallery by cascading comboboxes or dropdowns

No errors but gallery doesn’t show
Highlighted
Super User
Super User

Re: Filter gallery by cascading comboboxes or dropdowns

Share the data type of the combo box and the column.

Glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!

Thanks,
Hardit Bhatia
The Power Addict
https://thepoweraddict.com
Highlighted
Community Support
Community Support

Re: Filter gallery by cascading comboboxes or dropdowns

Hi @rasula ,

 

What is the column type of this field? If it is a single choice column, then the formula should be:

 

Filter(Datasource,  fieldname.Value = Dropdown1.Selected.Value) 

 

 

If it's a multiple selection choice column, then the formula should be:

Filter(Datasource,Dropdown1.Selected.Value in fieldname.Value) 

 

Regards,

Mona 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (5,442)