How to change a header when each time is different

Hello Knimers,

I have a workflow and I need to change the headers of the last columns for an standard name, but these columns never have the same name, because it is a name built with a lot of characters and dates.

What can I do to always change the name if the header is never the same?

image

(Sometimes is #4, sometimes is #3…)

image

(changes all the time)

Thanks in advance :slight_smile:

Probably several ways to do that, but I have used a method using Insert Column Header node to replace them all/all table column headers. Have a look at: Change Column name of a table

Also, if you have any control of how that column is produced you may be able to set the name straight away?

5 Likes

Hi @IvaR,

if the column name always has a certain pattern, the Column Rename (Regex) node might do the job.

Best,
Simon

4 Likes

Thank you very much for your help :slight_smile:

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.