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 / Collecting sharepoint ...
Power Apps
Unanswered

Collecting sharepoint records which have a blank value

(0) ShareShare
ReportReport
Posted on by 56

I have a sharepoint list which we're adding a Text column to, and I'm using a quick powerapp to go back and fill in the blanks with the correct value(after looking up the correct value in a SQL connector). I've been using a button like:

 

ClearCollect(updateItems,RenameColumns(Filter(myList,newColumn=""),"ID","IDRef"))

with the idea being to create a collection with items which haven't had the newColumn filled in yet and then hitting another button to do a ForAll UpdateIf bit on that column. I'd previously used something similar to add a numeric version of the created date and it worked well. However, our list has since grown to over 2000 items, and it doesn't seem like the Filter command actually checks anything past the first 2000, even though I was under the impression that "=" and IsBlank(which I've also tried) are delegable to sharepoint. What am I missing? 

 

NEVERMIND

Naturally, as soon as I make the post I figure it out... I changed the comparison to  ColumnName = Blank() instead and it worked. Leaving this up for future reference.  

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

    Hi @MQN ,

    IsBlank() is not Delegable, but strangely, this is

    ClearCollect(
     updateItems,
     RenameColumns(
     Filter(
     myList,
     newColumn=Blank()
     ),
     "ID",
     "IDRef"
     )
    )

    You also do not need the RenameColumns() if you use an As Statement on the Patch

    ForAll(
     updateitems As MyCol,
     Patch(
     YourListName,
     {ID:MyCol.ID},
     {
     Field1:MyCol.Field1,
     Field2:MyCol.Field2
     }
     )
    )

     

    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.

  • WarrenBelz Profile Picture
    156,007 Most Valuable Professional on at

    Hi @MQN ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

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