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 / Split String and use i...
Power Apps
Answered

Split String and use it in Gallery Items

(0) ShareShare
ReportReport
Posted on by 125

Hi!

 

I created an audit trail using Split, but it keeps adding blank rows.

 

How can I remove the first row?

 

philifova_2-1669001802771.png

 

 

philifova_1-1669001690214.png

 

Categories:
I have the same question (0)
  • BJ94 Profile Picture
    264 on at

    Hi @philifova 

     

    I think you can add first parameter in collection and on gallery you can add collection data. Please find following formula for solution.

     

    Clear(separatedStrings);
    ForAll(combinedStrings,
     Collect(separatedStrings, {displayName: Substitute(First(Split(ThisRecord.Value,",")).Result, "displayName:", ""), iconUrl: Substitute(Last(Split(ThisRecord.Value,",")).Result, "iconUri:", "")})
    )

     

    -------------------------------------------------------------------------------------------

    Regards,

    Bharti

    Community Support Team _ Bharti
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Verified answer
    WarrenBelz Profile Picture
    155,779 Most Valuable Professional on at

    Hi @philifova ,

    That should not be the output providing the source field is like this (please confirm your source is the same)

    WarrenBelz_1-1669006364085.png

     

    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.

    Visit my blog Practical Power Apps

     

     

     

  • philifova Profile Picture
    125 on at

    This should fix my problem. The string I have starts with ">" that is why.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 477

#2
WarrenBelz Profile Picture

WarrenBelz 341 Most Valuable Professional

#3
11manish Profile Picture

11manish 317

Last 30 days Overall leaderboard