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 / Problem with Rename Co...
Power Apps
Answered

Problem with Rename Columns in Collection

(0) ShareShare
ReportReport
Posted on by 66

Hi guys,

 

I was trying to do something very simple but I'm not getting the right result from this. I'm using Rename Columns command in my app to change the name of one column in one collection but nothing happens.

 

This is my formula and this is the result.

 

Any ideas?

 

ClearCollect(
Trims_selected,
ListBox4.SelectedItems
);RenameColumns(
ListBox4.SelectedItems,
"Trims",
"TrimsS"
)

 
 

rtrgg.JPG

Categories:
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Try:

    ClearCollect(
    Trims_selected,RenameColumns(Datasource,"Trims","TrimsS"))

     

    ClearCollect(
    Trims_selected,RenameColumns(
    ListBox4.SelectedItems,"Trims","TrimsS"))

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    CP0822 Profile Picture
    66 on at

    Works Perfectly, Thanks @eka24 

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard