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 / Convert table to text
Power Apps
Answered

Convert table to text

(0) ShareShare
ReportReport
Posted on by 141

I want to convert table to text. I try to use "concut", but it seems doesn't work as I expected.

Could you give me a thought?

I am using collection, so I am attaching error message and the value inside the collection.

In this "Dept Type" (Dept Group) column, multiple values can be saved.

 

I tried with 

Concat(ComboBox3.SelectedItems, DeptGroup.Value. & ",")

And

Concat(ComboBox3.SelectedItems, DeptGroup. & ",")

 

But, still, there is error.

Kenjoy84_1-1600131001072.pngKenjoy84_1-1600127730153.pngKenjoy84_0-1600127691674.png

 

 

 

 

 

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

    @Kenjoy84 

    You might consider changing your formula to the following:

    Concat(ComboBox3.SelectedItems, Value. & ",")

    This is assuming that you are already using the DeptGroup as the basis for your Items property of your ComboBox.

    If not, then please share the Formula you have for the Items property on that combobox.

     

    I hope this is helpful for you.

  • Kenjoy84 Profile Picture
    141 on at

    Thank you for your support!

    I tried with your formula, but there is error still.

    I am sharing item property of comboBox which my formula referring.

    Dept_Type column(table format) is equal to DeptGroup column which I want to get.

     

    Thank you very much.

     

    Kenjoy84_0-1600209174661.png

     

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Kenjoy84 

    Okay, your items are based on a collection.  It originally appeared from your picture that your collection had a single column called "Value".  Upon examining your Formulas on the other items, it appears that you have actually a collection with several columns that have Tables of Values under them. 

    If you will only have one value in DeptGroup, then I would reconsider that strategy of having a table of values for only one in your colleciton.

     

    So the formula should be:

    Concat(ComboBox3.SelectedItems, First(DeptGroup).Value & ",")

     Because in this case you are needing to get the first record of your table of values under the DeptGroup column in your collection.

     

     

  • Kenjoy84 Profile Picture
    141 on at

    Thank you very much! It works!

    However, actually there are multiple values in this table.

    Is there a way to show multiple values?

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Kenjoy84 

    So you are saying that in addition to the possibility that multiple items may be selected in your combobox (if you are allowing multiple selections) that each selection may itself have multiple values in the DeptGroup table?

     

    If so, then you can consider this formula:

    Concat(ComboBox3.SelectedItems, Concat(DeptGroup, Value & ","))

     

  • Kenjoy84 Profile Picture
    141 on at

    This works perfectly! Thank you very much for your support!!

  • Scot12 Profile Picture
    2 on at

    Where exactly is the conversion happening? I see concatenations. I basically want to compare the substring value in a SharePoint item field with a string casted date value, Text(Month(Now()),  and use this in a filter for a drop down. However I am getting a type mismatch with type table and type text.

  • ChadRobbins Profile Picture
    56 on at

    You shouldn't be getting a mismatch because the concat function converts the types to text. Where is the mismatch happening?

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard