cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Filter the Gallery based on Multiple Controls

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

Re: Filter the Gallery based on Multiple Controls

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

Highlighted
New Member

Re: Filter the Gallery based on Multiple Controls

Thanks - this was very helpful!

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (6,225)