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 / 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,747 Moderator 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
    Microsoft Employee 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

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 502

#2
Vish WR Profile Picture

Vish WR 454

#3
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

Last 30 days Overall leaderboard