cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kccchiu
Regular Visitor

Create a column of values from a column of comma separated string

Hello all,

In a collection called mergedData contains different columns.

I have a column named Tag that allow a row to contains multiple values (Choices from Sharepoint) such as this one:

kccchiu_0-1603481996163.png

I also have a column named UserTag that contains multiple values but as a string:

kccchiu_3-1603482272521.png

I would like to add a column to the collection that has the same data type as Tag but for UserTags. Is it possible?

 

 

Thanks in advance.

 

Thanks,

Kin

 

12 REPLIES 12

PowerRanger_0-1603494805659.png

 

@kccchiu ,

This should work

ClearCollect(
   colMyCollection,
   AddColumns(
      mergedData,
      "MyNewColumn,
      Split(
         UserTag,
         ","
      )
   )
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Hi @kccchiu ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (47,203)