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

Community site session details

Session Id : p4uAQRlnln7cGlqS9C+2sw
Power Apps - Building Power Apps
Answered

How to make a collection from semicolon separated values

Like (0) ShareShare
ReportReport
Posted on 15 Apr 2024 11:34:40 by 31

Hi there,

I'm quite new to Power Apps, and I was wondering, if there is a possibility to create a collection in Power Apps canvas app from values, which are separated by semicolon on a single row. The semicolon-separated values are now saved in the SharePoint list in a single column. I've tried to explain my goal in the following picture:

janklaska_0-1713180819193.png

Does anyone know how this can be achieved in Power Apps?

Many thanks for your support.

  • JK-20111451-0 Profile Picture
    31 on 15 Apr 2024 at 13:11:21
    Re: How to make a collection from semicolon separated values

    Lovely, @WarrenBelz, kudos to you! Works smoothly. Many, many thanks! đź‘Ť

  • Verified answer
    WarrenBelz Profile Picture
    149,221 Most Valuable Professional on 15 Apr 2024 at 12:05:41
    Re: How to make a collection from semicolon separated values

    Hi @janklaska ,

    Try this - you will need to add your data table name and field names.

    ClearCollect(
     colAll,
     Ungroup(
     Ungroup(
     ForAll(
     YourDataHere As _Data,
     Table(
     {
     Field: _Data.YourField1,
     Code: 
     Split(
     _Data.YourField2,
     ";"
     )
     }
     )
     ),
     "Value"
     ),
     "Code"
     )
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete