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 / Collection does not co...
Power Apps
Unanswered

Collection does not collect all rows

(0) ShareShare
ReportReport
Posted on by 20

Hi, 
I have this code in my app and ColCY is supposed to have 138 rows while it only collect 100 rows? I could not find the reason. 
Clear(SortedFinancialTransactions);Collect(
SortedFinancialTransactions,
Sort(
FinancialTransactionsManualInputs,
'Created On',
SortOrder.Descending
)
);
Clear( Top138FinancialTransactions);Collect(
Top138FinancialTransactions,
FirstN(
SortedFinancialTransactions,
138
)
);
Clear(ColCY);Collect(
ColCY,
Top138FinancialTransactions
);
Clear(ColCY)

Categories:
  • Fredrik_A Profile Picture
    3,644 Super User 2026 Season 2 on at

    How many rows are in SortedFinancialTransactions?

  • SaharKMA_20 Profile Picture
    20 on at

    There are more than 10K

  • Fredrik_A Profile Picture
    3,644 Super User 2026 Season 2 on at

    Very weird, i can't reproduce the error on my side, when i do it i get 138 as put in the FirstN. Maybe someone else has a solution for this.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard