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 / Need to scroll gallery...
Power Apps
Answered

Need to scroll gallery to load itens info

(0) ShareShare
ReportReport
Posted on by 92

Hello everyone 

Items are loading according to scroll down
I want to know how can I load data in gallery without need to scroll down until last item

I have some math operations that need to load all data (It will be max 40 itens)

Categories:
I have the same question (0)
  • Silvester. Akakpo Profile Picture
    783 on at

    Hi @t1agow ,
    This heavily depends on the number of items you have and also your screen size. Have in mind the number of items and your screen size. 

  • t1agow Profile Picture
    92 on at

    @Silvester With filters It would be max 40 items

    I want to know how can I get the values without scrolling down (I'm using Gallery.Allitems)
    The value updates accordingly by scrolling down (I don't want to have to scroll down for the value to update with all values in operation)

    I hope it was clearer

    Thank you in advance

  • Silvester. Akakpo Profile Picture
    783 on at

    Gallery.AllItems will return all the values depending on the filter that you use. Additionally, scrolling down doesn't update the values, the values are there after the process run. By default, PowerApps loads up to 500 records at a go, expendable to 2000 records. As I said earlier, it heavily depends on your screen, of course you can still squeeze up the items to better use the space. Using horizontal gallery might help. You can check this video from Reza Dorrani https://youtu.be/bnC8u3gdWss

  • t1agow Profile Picture
    92 on at

    @Silvester Sorry, I think you still don't get the point

    I have a textbox that sum all itens in gallery according to the users filter
    An example:


    If he uses the filter = banana, this gives me 10 items, which multiplies by the value 10, we will have a total of 100. However if he filters again (banana+apple) the value will remain 100 until he scrolls down to gallery to load the items, only then it will change from 100 to the value it should be.

    I want that values load without need to scroll down (It will always have to scroll down, because the gallery has items that need space). I would like to know if this is possible
    I imagine having no performance problems because It will be max 40 itens

    Thank you

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @t1agow ,

     

    Please use FirstN function. 

    I have a list with 300 items and this is the sample:

    vxiaochenmsft_0-1651656020898.png

    vxiaochenmsft_1-1651656028653.png

    vxiaochenmsft_2-1651656050763.png

    vxiaochenmsft_3-1651656059351.png

     

    Best Regards,

    Wearsky

  • Silvester. Akakpo Profile Picture
    783 on at

    Hello @t1agow ,
    i now get you.
    Try the FirstN @v-xiaochen-msft  suggested. Let me know how it goes.

  • t1agow Profile Picture
    92 on at

    @v-xiaochen-msft @Silvester  Thank you for answering me!

    I tried and It still don't work, value just change when I scroll down like you can see
    I recorded It for you to understand
    I'm using this formula for value field:

    t1agow_0-1651675516689.png

    cronoTot multiplies the value of 'Peso' * 'Cronograma combobox'

    metTot multiplies the value of 'Peso' * 'Metodo combobox'




    PAPP.gif
  • Verified answer
    Silvester. Akakpo Profile Picture
    783 on at

    Try this, Instead of filtering on the Gallery.AllItems, try using the data source to filter as in 

    Filter([@DataSource], filtroNome.Selected.Result="Belt")

    So instead of using the Gallery, use the datasource itself, and do the CountRows on the result of the filter, do let me know how it goes

  • t1agow Profile Picture
    92 on at

    @Silvester Sum is not delegable in sharepoint conector but I create a collection and I think that problem is solved

    Thank you!!

  • MW Profile Picture
    Microsoft Employee on at

    If you ran in the same issue, being unable to load all items in a Gallery, please vote and support this idea: Enable the option to load all items in a Gallery · Community (powerapps.com)

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

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard