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 / go to page functionali...
Power Apps
Unanswered

go to page functionality on gallery in power apps

(0) ShareShare
ReportReport
Posted on by 2

I have implemented gallery pagination in power apps, user has requested for go to page functionality that is when i enter page number in a text input ,the respective page should display.

how do i capture the page number with out hitting  next icon.

Many Thanks  in Advance .

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    Well, it depends on how you implemented pagination in the first place. I assume that you added Next and Previous buttons and you are using a Filter or something to trim the gallery Items down to only the correct 10 or 20 or whatever. If so, then I'd suggest you try making pageNumber a Named Formula instead. by making it a Named Formula, you can make it really easy to tweak with your next and last buttons and with a numerical input for "go to page" then you would just use that pageNumber Named Formula in your Filter instead of whatever you're currently doing to trim down the results.

  • jvsnaidu Profile Picture
    2 on at
     
    PREVIEW
    Hello cchannon many thanks for your quick reply,
    we are using below formula to get the no of pages
    "Page " & varPageNumber & " of " & If(
    Mod(
    CountRows(Gallery_Pagination.AllItems),
    100
    ) = 0,
    RoundUp( CountRows(Gallery_Pagination.AllItems) / drpPaginationSize.SelectedText.Value ,0) & "+ pages",
    RoundUp( CountRows(Gallery_Pagination.AllItems) / drpPaginationSize.SelectedText.Value,0) & " page(s)"
    )
    the varibale which holds the page number add by 1 when click on next icon.
    we tried the filer you suggested but the variable is nit getting incremented which is y the filter is not working.
     
    can you please suggest the any other alternate way  to get the page number.
     
    jvsnaidu_0-1683036012276.png

     

     
     

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 421

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 278 Super User 2026 Season 1

Last 30 days Overall leaderboard