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 / Mismatched names of co...
Power Apps
Answered

Mismatched names of columns for SharePoint lists in galleries

(1) ShareShare
ReportReport
Posted on by 178

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.

 

 

Screenshot 2024-01-04 110628.png
Screenshot 2024-01-04 111010.png
Screenshot 2024-01-04 111033.png
Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @GreenJaguar ,

     

    SharePoint columns actually have two names: an internal name and a display name. Depending on which function you use, you need to provide either of these. 

     

    For the given examples, what is asked for are the internal names.

     

    When creating a SharePoint list from an Excel file, unfortunately the internal names get these non-descriptive values.

  • GreenJaguar Profile Picture
    178 on at

    Thx. Sounds like a bug to me. 🪲🐛🪰. Especially if the SharePoint List shows the proper column names and the system picks the appropriate names in some cases but not in others.

  • Verified answer
    BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @GreenJaguar ,

     

    It is not a bug, but a mechanism to prevent existing solutions from breaking down whenever a column name gets changed. This actually only changes the display name of the column whilst the internal name of the column stays the same throughout its' life-cycle so it can always be identified by that.

     

    In case you are referring to having to use one type of name for one function and another for the next function, then I agree it is not the most user friendly, but you will get used to it.

     

    A hint though: if you need to use double quotes, the internal name is required.

     

    To find the internal names of your columns, go to the SharePoint list settings, select the column you need, and then in the URL bar, scroll all the way to the right to find the internal name.

  • GreenJaguar Profile Picture
    178 on at

    @BCBuizer Thx. Yes. I think the dev user experience could be better in that respect.  Much appreciated.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard