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 :
Power Platform Community / Forums / Power Apps / Gallery Row Numbers
Power Apps
Unanswered

Gallery Row Numbers

(0) ShareShare
ReportReport
Posted on by 6
Hi, I am creating a gallery that will be a repeating table for a form type experience. I want to add a unique "row number", this row number won't be going through to any sort of data source, it is there for cosmetic purposes only. I just want it there so when a new row is created you can differentiate the rows.
 
In this case I want the row numbers to be "User 1" , "User 2" , "User 3" etc. and then when the collection is cleared it shows  "User 1" , "User 2" , "User 3" etc.
Categories:
I have the same question (0)
  • Verified answer
    SpongYe Profile Picture
    5,603 Super User 2025 Season 2 on at
    Gallery Row Numbers
     
    To create a collection like that you can use the following code:
    ClearCollect(
        UserCollection, 
        ForAll(
             Sequence(3), 
            {Name: "User " & Text(Value)}
        )
    );
     
    Hope this helps.

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard