Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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 .

  • jvsnaidu Profile Picture
    2 on at
    Re: go to page functionality on gallery in power apps
     
    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

     

     
     
  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: go to page functionality on gallery in power apps

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard