web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

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
    153,073 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
    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
    153,073 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard