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 use ClearCollec...
Power Apps
Unanswered

How to use ClearCollect (Error)

(0) ShareShare
ReportReport
Posted on by 104

Hi, 

 

I am using this ClearCollect formula to attempt and remove selected data in the first row. This is the current error I am receiving, I have the correct project boxes selected. I am also using OnSelect.

 

Any guidance is appreciated.

 

Here is the formula:

 

ClearCollect(Collect(collectionTest2,{EmployeeName:Office365Users.MyProfile().DisplayName,Project:ProjectsComboBox_2.Selected.Project,
Phase:PhaseComboBox_2.Selected.Result,
Task:TaskComboBox.Selected.Result,
LaborCode:LaborComboBox.Selected.'Code - Label'})

 

aishak12_0-1636944801867.png

 

 

aishak12_1-1636944845211.png

 

Categories:
  • WarrenBelz Profile Picture
    156,536 Most Valuable Professional on at

    Hi @aishak12 ,

    If you are trying to remove a record selected in the gallery

    RemoveIf(
     collectionTest2,
     ID = YourGalleryName.Selected.ID
    )

     

    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.

    Visit my blog Practical Power Apps

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

    Hi @aishak12 ,

    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.

    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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard