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 Apps
Answered

Rename Column

(0) ShareShare
ReportReport
Posted on by 402

I have a modern table that uses a SharePoint list as a data source.  In this list, there is a column called "PersonnelName".  I just want that column to be "Name".  I have RenameColumns(MyDataSource,"PersonnelName","Name") in the Items property for the table, but I get an error "The function RenameColumn has some invalide arguments".  How can I do this just to rename a column?  It is too bad that I can't do it from the field selection for the table.

Categories:
  • Verified answer
    CU18061035-1 Profile Picture
    Microsoft Employee on at

    hey @iskguy 

     

    whe u rename it in the sharepoint list itself it does not go thru to you app.

    what u can do is click on the input control and select the text property of it and just put whatever you want into " " so your case would be "Name". This works for normal controls. 

     

    Not sure if it is also possible with modern controls

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Verified answer
    iskguy Profile Picture
    402 on at

    Thanks for the response.  I did not rename the column in SharePoint itself, but I want to rename it in a modern table. I am trying to use the table instead of a gallery, but I also tried it with a gallery and have the same error.  Maybe I do need to check the SharePoint column itself to see if that is its exact name.

  • iskguy Profile Picture
    402 on at

    Actually I found the issue, but still, thanks for the response.  I will assume that SharePoint lists have a system column called "Name", so when I was trying to Rename PersonnelName to just Name, there was a conflict.  I saw a link to the error (in the vague error description) and it opened the specific error.  Now it seems to be working.  I just renamed the column to "Personnel" instead of "Name".

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

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard