cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Gallery Selection base on Multiple Columns

Hi all,

 

My datasource is setup as below below:

ProductNameSizeQty
Product ASmall2
Product AMedium4
Product BMedium5
Product BLarge2

 

I created a gallery in powerapps called Gallery1.

How should I write the statement to filter the Gallery on a specific item row when a selection button is used?
For example, I would like to have a selection on Product Name = Product B and Size = Medium.

The result will be another gallery that only filter this data.

Regards
Hidayat

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Gallery Selection base on Multiple Columns

@Hidayat 

 

I hope you have ProductName and Size are two drop down filters with name drpProductName, drpSize to filter gallery data.

 

Then, for gallery Items property, you can place following formula:

Filter(<SharePoint List Data Source>,ProductName = drProductName.SelectedText.Value && Size = drpSize.SelectedText.Value)

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

 

View solution in original post

2 REPLIES 2
Highlighted
Super User II
Super User II

Re: Gallery Selection base on Multiple Columns

@Hidayat 

 

I hope you have ProductName and Size are two drop down filters with name drpProductName, drpSize to filter gallery data.

 

Then, for gallery Items property, you can place following formula:

Filter(<SharePoint List Data Source>,ProductName = drProductName.SelectedText.Value && Size = drpSize.SelectedText.Value)

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

 

View solution in original post

Highlighted
Helper I
Helper I

Re: Gallery Selection base on Multiple Columns

Thank you @rsaikrishna , your suggestion works 😀

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,015)