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 / Power Apps automatic p...
Power Apps
Answered

Power Apps automatic page/screen numbers

(0) ShareShare
ReportReport
Posted on by 35

Hi all,

 

I was wondering if there was a way to define screen/page numbers in a sequential order without using a gallery. 

So for example, if I can have a label set up to determine what page number it’s on and apply it to all screens/create a component that will identify the sequential number of the screen. 

Categories:
I have the same question (0)
  • TheRobRush Profile Picture
    11,128 Moderator on at

    I am not sure I understand your use case, screens are static in PowerApps, they don't change based on variables or anything, they just stay in the order you have them in your canvas app studio. Could you maybe go a little further into what it is you are trying to do that would make it easier to not just place the labels on each of your screens where you want them?

  • Lizzlenizzle Profile Picture
    35 on at

    @TheRobRush 

    I’m creating eLearning modules. For accessibility purposes we want to include page numbers on each screen. So I was wondering if there was a way I could formulate a count say if I had 100 pages and I wanted it to say “page 1 of 100” and so on without manually typing it out for each page. 

  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    Is there a button that navigates to next page each time, and i assume maybe a back buttton? If so in your onstart set two variables

     

    Set(totalpageVar,<100 or however many.>);
    Set(currentpageVar,1)

    Then have every forward button do

    Set(currentpageVar,currentpageVar+1)

    eveyr back button do the opposite

    and your label would read

    "Page "&currentpageVar&" of "&totalpageVar

     

  • Lizzlenizzle Profile Picture
    35 on at

    Sorry I forgot to reply to this! This is what I had thought to do but I was generally wondering if there was an easier way. I’ve made a component using this method and had to build in another couple features to ensure the page numbering doesn’t get ruined if the individual navigates via the contents/course map but overall it’s good to know I was going in the right direction!! Thank 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard