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

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
Community Support Team
Community Support Team

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
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
rasula
Level: Powered On

Re: Filter gallery by cascading comboboxes or dropdowns

I tried and it did not work either. 

Super User
Super User

Re: Filter gallery by cascading comboboxes or dropdowns

Do you get an error?

Thanks,
Hardit Bhatia
https://thepoweraddict.com
rasula
Level: Powered On

Re: Filter gallery by cascading comboboxes or dropdowns

No errors but gallery doesn’t show
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
Community Support Team
Community Support Team

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,900)