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 / Search concatenated fi...
Power Apps
Unanswered

Search concatenated field within gallery

(0) ShareShare
ReportReport
Posted on by 134

Good morning,

 

I'm hoping someone can help with this issue I'm running into.

 

I have an app that uses a SharePoint list as a backend data source. The main page of the app is a gallery. One of the fields in the gallery is a concatenated text field that concatenates 4 single line of text columns from the SharePoint List item.

 

For instance, the columns are "Animal 1", "Animal 2", "Animal 3", "Animal 4".

 

So for each list item it displays as:

Item 1       Dog, Cat, Bear, Ape

Item 2       Cat, Monkey, Dog, Squirrel

Item 3        Ape, Lion, Bear, Turtle

 

What I'd like to do is have a drop down of all the possible animals and when I select one or more animals, it filters the gallery to shows the items that have the selected  animals. So for instance, if I select "Dog" then Item 1 and Item 2 displays in the gallery.

 

Is this possible? Please let me know if I need to better explain the scenario. Thanks!

Categories:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @ChrisS81 ,

     

    Please try this:

    You can use below formula on Items property of control or create collection to save result.

    Filter(AddColumns(ListName,"test",Concatenate('Animal 1', 'Animal 2', 'Animal 3', 'Animal 4'),DropDown.Selected.Value in test,ItemColumnName)

     

     

    Best regards,

    Rimmon

  • ChrisS81 Profile Picture
    134 on at

    @v-mengmli-msft thanks for the response. I'm having an issue with the formula. I believe it's with the concatenate portion of the formula. Any ideas?

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @ChrisS81 ,

     

    Have you tried above formula? What is the difference between the result and your requirement?

     

    Best regards,

    Rimmon

  • ChrisS81 Profile Picture
    134 on at

    @v-mengmli-msft yes I tried the formula. Maybe I have the formula wrong. I'm receiving the error message "The function 'Concatenate' has some invalid arguments. Also, just so I'm clear, in the formula what does "ItemColumnName" refer to?

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @ChrisS81 ,

     

    It means your column name. Please replace it with yours. This is also for 'Animal' columns.

    vmengmlimsft_0-1709651189433.png

    The formula will return a table like below.

    vmengmlimsft_1-1709651287101.png

     

     

    Best regards,

    Rimmon

     

     

  • ChrisS81 Profile Picture
    134 on at

    @v-mengmli-msft understood. I'm still getting the error message "The function 'Concatenate' has some invalid arguments."

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @ChrisS81 ,

     

    Could you please show the formula?

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard