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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Adding text in front o...
Power Apps
Answered

Adding text in front of table dataset for each row

(0) ShareShare
ReportReport
Posted on by

Hello community,

 

This was a difficult subject line to write down. To elaborate: I have an app that pulls data from a SP list. The "Subjects" column is a multi-choice enabled column, to show that on a Gallery, I'm using the below Match/Concat formula (I also used different versions before but this is the current one I'm using). This puts the ▸ sign only in front of the whole text, I would like it to put before each subject line. Let me give you an example. This is the end result I want:

 

▸Maths

▸Science

▸English

▸Biology

 

and this is the code I have: 

Concatenate("▸",(Match( Concat(ThisItem.Subjects.Value, Value & ", " ), "^(?<trim>.*), $" ).trim))

 

As mentioned, this puts a "▸" only at the beginning of the text. I would like it to put on every line.

 

Thank you,

 

 

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @thatakke ,

     

    Assuming you display this information in a label in the gallery, isn't is easier to just set the Text property to:

     

     

    "▸" & ThisItem.Subjects.Value

     

  • Community Power Platform Member Profile Picture
    on at

    Thanks @BCBuizer ,

    I can't do that because the data type of Subject is Table, that's why I'm using the above code.

  • Verified answer
    BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @thatakke ,

     

    Second try then:

     

    Concat(
     ForAll(
     ThisItem.Subjects.Value,
     "▸" & ThisRecord.Value & Char(10)
     ),
     Value
    )
  • Community Power Platform Member Profile Picture
    on at

    Amazing! Thanks @BCBuizer 

  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @thatakke 

     

    Glad to see this worked for you.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard