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 / Extract unique amounts...
Power Apps
Unanswered

Extract unique amounts from a string of text

(0) ShareShare
ReportReport
Posted on by

Good day everyone,

I have a string of unique amount of values saved in SharePoint which are separated by a comma. I would like to get the values between each comma and place them in a separate text. 

This is in one DataCard and I would like 5000 on the first line, 1990 in the second line and so on 

sophiatheresa74_1-1684406670892.png

 

Any assistance would be greatly appreciated. 

 

 

Categories:
  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    @sophiatheresa74 

    The Split function will separate those values into lines. The following will return a table:

    Split("5000,1990,2000,588,3000",
     ","
    )
  • CU13081633-2 Profile Picture
    on at

    I tried using this with the Parent.Default but it is giving an error.

    These values are not always going the be the same amount.

    sophiatheresa74_0-1684408474817.png

     

  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    If you want to set the text on a label, this is what you would use:

    Concat(
     Split(
     Parent.Default,
     ","
     ),
     Value & Char(10)
    )
  • CU13081633-2 Profile Picture
    on at

    This works but I wanted each value in separate text:

    and not all the time it would be 4 values, it would have 6 or 3 values

    sophiatheresa74_0-1684409393818.png

     

     

  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    If you want each value in a separate control, you'd need to add a gallery control onto your card rather than separate labels. Once you add the gallery, you would then set the Items property of the gallery like so:

    Split(Parent.Default,
     ","
    )

     

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 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard