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 / Specified column does ...
Power Apps
Answered

Specified column does not exist

(1) ShareShare
ReportReport
Posted on by 290

Hey!

 

I have this code, which worked just fine, but now, when I use SP list called "VacationTracker", it says "the specified column DateOfRequst does not exist". First thing is that it exists and second thing is that I am not even using it in this code. Could someone help? 

Switch(
 typDovolene,
 "Doctor",
 Collect(
 VacationTrackerDone,
 {
 Title: User().Email,
 Name: User().FullName,
 StartDate: StartDate.SelectedDate,
 EndDate: StartDate.SelectedDate,
 TypeOfVacation: Text(typDovolene),
 DepartmentCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Department
 ),
 PositionCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Position
 )
 }
 ), "Business Trip", Collect(VacationTrackerDone, {Title: User().Email,
 Name: User().FullName,
 StartDate: StartDate.SelectedDate,
 EndDate: StartDate.SelectedDate, 
 Date: DateAdd(Today(),540,Minutes),
 Description: txtDescription.Text,
 TypeOfVacation: Text(typDovolene),
 DepartmentCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Department
 ),
 PositionCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Position
 )},
 "Home Office",
 Collect(
 VacationTrackerDone,
 {
 Title: User().Email,
 Name: User().FullName,
 StartDate: StartDate.SelectedDate,
 EndDate: StartDate.SelectedDate,
 TypeOfVacation: Text(typDovolene),
 DepartmentCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Department
 ),
 PositionCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Position
 )
 }
 ),
 "Vacation",
 Collect(
 VacationTracker,
 {
 Title: User().Email,
 Name: User().FullName,
 StartDate: StartDate.SelectedDate,
 EndDate: EndDate.SelectedDate,
 LenghtInDays: Value(lblDaysOfVacation.Text),
 TypeOfVacation: Text(typDovolene),
 DepartmentCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Department
 ),
 PositionCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Position
 )
 }
 ),
 "Overtime",
 Collect(
 VacationTracker,
 {
 Title: User().Email,
 Name: User().FullName,
 StartDate: StartDate.SelectedDate,
 EndDate: StartDate.SelectedDate,
 TypeOfVacation: Text(typDovolene),
 HoursOvertime: drpOvertime.SelectedText.Value,
 DepartmentCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Department
 )
 }
 ),
 "Halfday",
 Collect(
 VacationTracker,
 {
 Title: User().Email,
 Name: User().FullName,
 StartDate: StartDate.SelectedDate,
 TypeOfVacation: Text(typDovolene),
 HalfdayType: drpHalfday.SelectedText.Value,
 PositionCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Position
 ),
 DepartmentCopy: Text(
 LookUp(
 Employees,
 NameOfEmployee = User().Email
 ).Department
 )
 }
 )
);
Categories:
  • Verified answer
    Filistyn Profile Picture
    290 on at

    There was a closed bracket missing in the business trip, mb guys

  • Irfan Profile Picture
    164 on at

    Couple of things which you can try:

    1) Try removing the shareepoint datasource and adding it again

    2) Try closing the app (save) and opening it again

     

    I had a similar issue with my sharepoint list a couple of days ago. Code started erroring on an column advising that the column does not exist at all. For some odd reason, the code had changed the column name into something like "0x0dfab..." which was cause of the isssue. Upon changing back the offending column to original column, it still did not recognize the old column. Saved the app, opened it again and the app recognized the column this time.

     

    Hope it helps.

     

    -Irfan

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard