I just created a SharePoint list by importing data from an Excel Table. I then connected it to a power app.
Something bizarre happened next. When trying to write the Items function for the gallery, which included a Search and Sort, the system kept throwing errors at me. Some are the well-known. First column needs to be referred to as "Title" even though the SharePoint list shows it renamed as "Need", but then, other columns, such as one called "Code" needs to be referred to as field_2,
But the Label in the Gallery will take ThisItem.Code with no problem.