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

Filter the Gallery based on Multiple Controls

Dear experts, 

I have a shrepoint list which has following fields:

  • Item ID: this is text type filed.
  • Request Type: this is a choice type filed (A, B, C)
  • Workflow Status: this is a choice type field (New, In Progress, Implemented)
  • Assigned to: this is a choice type field (Sandy,Tom, Simith)

Please find following as example:

Item IDRequest TypeWorkflow StatusAssigned to
RT222114ANewSandy
RT223311BIn ProgressTom
RT312233CImplementedTom

 

I created a gallery to dispaly the list itmes. I wish to eanble the user to filter the gallery based on the intersection of these three fields by using a drop donw control. (E.g. if the user choose Request Type =B and Workflow = In Progress, the gallery should show RT223311)

FilterSS.png

Is it possible to achieve that?

Many thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @TomLu1231,

Do you want to filter the gallery based on the selected values of any two dropdowns ?

 

I made a test.

I created a SharePoint list named ‘test2.

 

9.PNG
Set Items property of the gallery to :

Filter(test2,If(IsBlank(Dropdown1.Selected.Value),true,Dropdown1.Selected.Value in 'Request Type'.Value) && If(IsBlank(Dropdown2.Selected.Value),true,Dropdown2.Selected.Value in 'Workflow Status'.Value) && If(IsBlank(Dropdown3.Selected.Value),true,Dropdown3.Selected.Value in 'Assigned to'.Value))

Regards,

Eason

 

Community Support Team _ Eason YU
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

2 REPLIES 2
Community Support
Community Support

Hi @TomLu1231,

Do you want to filter the gallery based on the selected values of any two dropdowns ?

 

I made a test.

I created a SharePoint list named ‘test2.

 

9.PNG
Set Items property of the gallery to :

Filter(test2,If(IsBlank(Dropdown1.Selected.Value),true,Dropdown1.Selected.Value in 'Request Type'.Value) && If(IsBlank(Dropdown2.Selected.Value),true,Dropdown2.Selected.Value in 'Workflow Status'.Value) && If(IsBlank(Dropdown3.Selected.Value),true,Dropdown3.Selected.Value in 'Assigned to'.Value))

Regards,

Eason

 

Community Support Team _ Eason YU
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

Thanks - this was very helpful!

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,889)