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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Turn a table column in...
Power Apps
Answered

Turn a table column into text so that the column is searchable in a gallery

(0) ShareShare
ReportReport
Posted on by 49

Hi, I have a TABLE column in a gallery called 'Courses', this field can contain multiple courses. I have a text input field called 'txtFilter' that I would like to use to be able to filter the gallery on the 'Courses' field. How do I turn a TABLE field into a text field so that I can search it using 'txtFilter'? I have tried using AddColumns but have had no joy. TIA

Categories:
I have the same question (0)
  • Rajkumar_M Profile Picture
    3,741 Super User 2025 Season 2 on at

    Hi

    You can use the Concat function to convert the table field into a text field that can be searched.

     

    Check this link it's already discussed : Solved: Re: Convert table to text - Power Platform Community (microsoft.com)

    May it help you.


    Thanks.


    Please click Accept as solution & Give a Thumps Up if my post helped you solve your issue.

  • Verified answer
    CarlosFigueira Profile Picture
    on at

    You're on the right path with AddColumns - you can use that to convert one of your table columns into a text one. In your case, you can have something along the lines of the expression below.

     

    Search(
     AddColumns(
     TheItemsExpressionInYourGallery,
     "CombinedCourses",
     Concat(Courses, Value) // 'Value' would be the field name in a SharePoint choices column
     ),
     txtFilter.Text,
     "CombinedCourses"
    )

     

    Hope this helps. If it doesn't, consider replying with your current expression and the schema of the Courses field, as it will be easier for the community to help you if we see the data you are dealing with.

  • ChrisH2020 Profile Picture
    49 on at

    Thank you so much, I didn't know that you could use a formula in the AddColumns function. I wish I knew this earlier but your advice has opened so many doors for me 😁

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard