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 not filling...
Power Apps
Unanswered

Collection not filling with records?

(0) ShareShare
ReportReport
Posted on by 997

Hello,

Weird, the collection isn't getting any data?

What do i wrong...

Refresh(CallData); //SharePointsList
ClearCollect(
 CollectionMessages,

 LookUp(
 'CallData',
 PrimaryID = Value(1),
 CollectionMessages

 )
);

Thank you

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @TimmyBoy

    LookUp results in a single record. You don't need a collection for that. A variable would suffice. Filter() will result in a table. 

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

    Hi @TimmyBoy 

     

    Could you please tell me the CollectionMessages in the

    LookUp(
     'CallData',
     PrimaryID = Value(1),
     CollectionMessages
    
     )

    are the column name in the data source?
    This link will tell you the correct way to use the LookUp function:

    Filter, Search, and LookUp functions in Power Apps (contains video) - Power Platform | Microsoft Learn

     

    Best Regards,

    Levi

  • TimmyBoy Profile Picture
    997 on at

    Hello @v-liwei-msft 

    Yes, all the columns exists, but no data

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

    Hi @TimmyBoy 

     

    Your collection name is equal to the column name, try changing the collection name to something different.
    By the way, what type of column is PrimaryID?

     

    Best Regards,

    Levi

  • TimmyBoy Profile Picture
    997 on at

    Hello @v-liwei-msft 

    PrimaryID  = Integer

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

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard