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 / Splitting just one col...
Power Apps
Answered

Splitting just one column into multiple rows

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I have a collection of text having values  as

Piyushjha1_0-1684645987372.png

 

I want to split this into separate rows like counting total digits and splitting it into same number

Categories:
  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @Piyushjha1 

     

    Lets say you have 123456 saved in your text label.

     

    Then create an empty collection like:

    ClearCollect(SplitCollection,{})

     

    After this you can add the following to a button:

    ForAll(
    Split(Label1, ""),
    Collect(SplitCollection, {Digit: Result})
    )

     

    Replace Label1 with respective text label name.

    The For All function will split the value into multiple rows.

     

     

    I hope this helps 🙂

  • Verified answer
    VDI Profile Picture
    337 on at

    try below code

    //use spilt to split the numbers in seprate rows
    Split(
     First(YourCollectionName).ColumnName,
     " " //if numbers not seprated by space then use "", or add whatever seprator you have
    );
    //use CountRows to count the numbers
    CountRows(
     Split(
     First(YourCollectionName).ColumnName,
     " " //if numbers not seprated by space then use "", or add whatever seprator you have
     )
    );

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard