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 / How to Create Collecti...
Power Apps
Answered

How to Create Collection in PowerApps with reference SP Lists over 2000

(0) ShareShare
ReportReport
Posted on by 15

I have a PowerApp that references 2 SharePoint lists. One SharePoint list is a list of items, the second is a linked list for a list of lots of all items.

 

Example:

SharePoint List 1 – List of bicycle types

SharePoint List 2 – A list of all lots of each type added to one table (this contains a reference ID column that corresponds to the appropriate type of bicycle in List 1).

 

I want to add a column to a collection in the PowerApp for the list of bicycle types that states how many lots of each exist. The issue is that list 1 will never be over 2000, however, the entirety of list 2 will be over 2000. Is there a way to add a column to the collection that will be able to add the column to the collection?

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,029 Most Valuable Professional on at

    Hi @jmaur769 ,

    Try this - you will need to use your actual list and field names

    Clear(colTypes);
    ForAll(
     SPList1 As _Data,
     Collect(
     colTypes,
     Table(
     {
     Type: _Data.BicycleType,
     Items: With(
     {
     _Matches: Filter(
     SPList2,
     ReferenceID = _Data.ID
     )
     },
     CountRows(_Matches)
     )
     }
     )
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard