web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter a gallery from ...
Power Apps
Answered

Filter a gallery from a sharepoint list that has a text column with multiple entries

(0) ShareShare
ReportReport
Posted on by 44

I am creating a relatively straight forward app using a Sharepoint List. On this app is a gallery that I need to be able to filter off several columns in sharepoint. I have figured out how to filter using several drop downs. The problem I am running into is one of the columns in the sharepoint list is a text field but could have multiple results seperated by a comma. for Example:

 

Number

Color

1

Red

2

Blue

3

Green

4

Yellow

5

Red, yellow

6

Red, Blue

7

White

 

I need to have a drop down that will allow me to filter any row that contains the color selected in the drop down. For example if i select Red on my drop down i want rows 1,5,and 7 to return.

I tried Filter(SharepointList,Color in dropdownColor.Selected.Value) and that gets me all the rows that has that color but the rows that contains more than one color does not display. What am i missing??

 

Or better yet could I have a combo box where I could select the colors I was interested in

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @MarkFay 

    Consider changing your formula to the following:

    Filter(SharepointList, 
     dropdownColor.Selected.Value in Color
    )

    Your logic was just a little backward - you where looing for the color in your selected value, what you want is to look for the selected value in Color

     

    Keep in mind, this will give you a delegation warning as "in" is not delegable to SharePoint.  If your list is not expected to exceed your row limit set in your advanced settings, you can ignore the warning.

     

    I hope this is helpful for you.

  • MarkFay Profile Picture
    44 on at

    Oy, I figured it was something silly like that. Works like a charm now.

     

    Thank you so much!!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard