cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Problem with Rename Columns in Collection

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

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Problem with Rename Columns in Collection

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.

View solution in original post

Highlighted
Frequent Visitor

Re: Problem with Rename Columns in Collection

Works Perfectly, Thanks @eka24 

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Problem with Rename Columns in Collection

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.

View solution in original post

Highlighted
Frequent Visitor

Re: Problem with Rename Columns in Collection

Works Perfectly, Thanks @eka24 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,353)