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

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.

 

 

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 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,505 Super User 2025 Season 2 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard