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
secondImage

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.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (18,539)