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 / A column I added to a ...
Power Apps
Answered

A column I added to a collection is generating a "Specified Column does not exist" error when trying to Patch.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

First off, I am trying to migrate a form to individual fields to edit the record data from a gallery.  A column I added to a collection is generating a "Specified Column does not exist" error when trying to Patch.

 

This is the collection code:

 

ClearCollect(colGNGApproval,With({StartDate: Today(),EndDate: Today() + 10// change this number},
Filter(AddColumns('Release Dashboard',

"IsChoosen",false),
Date >= StartDate,
Date <= EndDate)
)
);

 

I used this collection in the gallery I select from and this is the Items code:

 

Sort(Sort(Sort(

colGNGApproval,

'Go/No-Go'.Value,SortOrder.Descending),

'Rel Mgr'.DisplayName),

Date,SortOrder.Ascending)

 

Even this simplified Patch statement generate the error "The specified column 'IsChoosen' does not exist":

 

Patch(

'Release Dashboard',

galGNGApprovalReadiness_2.Selected,

{

'Mock Complete':ddMock_4.SelectedText

}

);

 

Any suggestions would be appreciated.

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

    Hi @NotThe1stChoice ,

    Assuming you are using SharePoint here on your Patch

    Patch(
       'Release Dashboard',
       {
          ID: galGNGApprovalReadiness_2.Selected.ID,
          'Mock Complete': ddMock_4.Selected
       }
    );

     

    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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WarrenBelz ,

     

    Wow, that does resolve the error, but I am confused as to why.  The syntax of your answer is not seem to match the required entries:

     

    PatchDataSourceBaseRecordChangeRecord1 [, ChangeRecord2, … ])

     

    Can you provide me so clarification?

     

    Thanks

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

    @NotThe1stChoice ,

    One of the benefits of a SharePoint Patch is the ability to include the ID and it will automatically update the relevant record.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Noted and thank you very much for the work around, but are you saying that your provided syntax is a "SharePoint only" work around?  Also, any idea why my syntax was a problem?

     

     

     

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

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard