cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CUCOOPE
Helper I
Helper I

How do I turn a table within a table (created using GroupBy()) into a string and store it into the first table?

Hi. Suppose I have a table like this called "Large_Table":

TableString
NameValue
Peter12
John13
 
NameValue
Mary14
Chris15
Steve16
 

 

I'd like to convert the table inside the larger table to a string for further usage into something like this:

TableString
NameValue
Peter12
John13
Peter,12;John,13
NameValue
Mary14
Chris15
Steve16
Mary,14;Chris,15;Steve,16

 

I tried to use ForAll() to loop through the larger table and tried to use Concatenate() to concat the table into a string. But it seems that I cannot use Concatenate inside ForAll(). But I cannot think of another method to do the job. Can anyone help me with my situation? Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
RusselThomas
Microsoft
Microsoft

Hi @CUCOOPE ,

Add a button and set its OnSelect: property to;

UpdateIf(Large_Table, true, 
   {String: Concat(Table, Name & ";" & Age, ";")}
)

Hit the button 😊

Hope this helps,

RT

View solution in original post

2 REPLIES 2
RusselThomas
Microsoft
Microsoft

Hi @CUCOOPE ,

Add a button and set its OnSelect: property to;

UpdateIf(Large_Table, true, 
   {String: Concat(Table, Name & ";" & Age, ";")}
)

Hit the button 😊

Hope this helps,

RT

Thanks!

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,960)