Skip to main content
Community site session details

Community site session details

Session Id : m9VxWMHGcMFpsvhUg2Q+6E
Power Apps - Building Power Apps
Answered

For Loop to display 10 items in a SharePoint list

Like (0) ShareShare
ReportReport
Posted on 23 May 2023 11:58:06 by 20

Hi,

I have a Sharepoint list (staffTable) that includes 50 names in a column (fullName)

Is it possible to display 10 names in htmltext control?

What I am trying to achieve is to display the first 10 names, then the second 10 names, and so on every time I click the submit button.

 

Thank you,

 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 24 May 2023 at 09:03:29
    Re: For Loop to display 10 items in a SharePoint list

    Hi @Jifri,

    Do you want to only grab 10 names at a time in htmltext control?

     

    If so, here is a simple demo for your reference.

    1). Set a variable as below:

    Set(n,n+1);Set(varnumber,2*n)

    2). Set the htmltext property as below:

    Concat(FirstN(list_name,varnumber),FullName,"<br>")

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading started
Loading complete