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 / ClearCollection and co...
Power Apps
Answered

ClearCollection and confusing

(0) ShareShare
ReportReport
Posted on by 648

I have a problem with my Collection; it doesn't display all the columns in my Gallery when I use "ThisItem." However, when I directly reference the database, it shows the contents of that column. It's as if the collection is losing some columns.

I have no filters or any other operations such as dropping columns; it's just a straightforward query and connection to my SharePoint database.




ClearCollect(VisaKoppladeKonton_Admin;
Switch( lblKst.Text;


"1003";UnitGVXSTU_BANK;
"1004";UnitUPPSTU_BANK;
"1005";UnitSDLSTU_BANK;
"1006";UnitORBSTU_BANK;
"1008";UnitVSTSTU_BANK;
"1010";UnitKSDSTU_BANK;
"1012";UnitHELSTU_BANK;
"1014";UnitVXOSTU_BANK;
"1015";UnitJKGSTU_BANK

)

 

In both cases, "ThisItem.usermail" is visible.

Direct to the database
UnitGVXSTU_BANK

dalacarelia_196_0-1698299117859.png

 


From the collection 
VisaKoppladeKonton_Admin

dalacarelia_196_1-1698299175099.png

 

Any idea ?

Categories:
I have the same question (0)
  • Verified answer
    Jonathan Manrique Profile Picture
    2,695 on at

    Hello 

    You should check the number of records that are being loaded into the collection whether or not you are delegating the function you are executing. Power Apps has a limit of 2000 records, which are the ones it brings when we use formulas and these have delegation.

    I recommend you take a look at this video

     

    https://www.youtube.com/watch?v=plXNRszEXxU

     

    If I have answered your question, please mark your post as Solved.

    If you like my response, please give it a Thumbs Up.

    You can accept more than one post as a solution

  • dalacarelia_196 Profile Picture
    648 on at

    Thank you sir for your response. I found the issue, and it was because the databases didn't have identical column names. When I changed that, my collection started working.

    The tip ypu gave me was a good reminder of the limits 🙂

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

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard