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

filter gallery from sharepoint list choice column

i am trying to create a filter on a gallery to filter on the values of the Status column from sharepoint list.

The sharepoint list column is named Status.  And the choices are "Awaiting Management Approval","Rejected", "Approved" in this column on the list.  

 

How do I create a filter on my powerapps gallery to filter for those words in the Status.

 

Example in the filter if I type "Approved" in the filter then the fields I created in the gallery will populate this information.  

 

 

15 REPLIES 15
v-siky-msft
Community Support
Community Support

Hi @panda ,

 

So you change to use Dropdown to select the choices, rather than Textinput box, right?

If so, I think the Items property of Dropdown should be set to Choices('SP'.Status), then modify the Gallery,Items as follows.

Filter('SP list', Status.Value=DropdownName.Selected.Value)

 

Hope this helps.

Sik

I finally got it to work.  I filtered on the gallery as follows Filter(vltest, Status.Value=dropdown2.Selected.Result)

 

 

View solution in original post

This was very helpful. Thanks!

Hi, where do i need to set this -->  the Items property of Dropdown should be set to Choices('SP'.Status). Do, i need to hard code the whole gallery?

FYI, the code item that i apply for my gallery now is -> SortByColumns(Filter([@'SENARAI ASET UNIKL'], StartsWith(Title, TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending))  
because i have search textsearchbox also.

 

I try to apply this on my dropdown , Filter('SP list', Status.Value=DropdownName.Selected.Value) however, at last part selected.value, i try to insert the word value, but it can't work.

hehe, can you help me? 

thank you

Thank you!  I've been working on this for 2 weeks off and on.  Even recreated my data (small databases) and started over on my app.  I finally have it working!

Ross85
New Member

I'm hoping someone can help with this issue. I have implemented this formula below

 

Filter('Task Template',ExType.Value=EventType_DropDown.Selected.Value) 

 

Please see picture Gallery_Filter attached. 

 

This does not actually filter the Gallery at all, its just blank. My list is called 'Task Template' and the Column I want to filter is a choice Column, the choice Column can have multiple selections. as per the picture attached ExType, I do get the delegation warning but the list is only 50 items.

 

Can someone please help me solve this issue. I have uploaded some pictures that I hope may help. 

 

Thank you in advance

 

 

 

 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,521)