How to Change Multiple Spotfire Column Names At Once

In Spotfire, there are two ways to change column names. You can modify the column names in Column Properties, or you can change them with Transformations. There are ramifications for which method you use, which I explained in this Data Shop Talk post. Now, speaking to Transformations….For years, I’ve been under the impression that you could only ever change one column name at a time. However, I recently found out that is not the case.

Occasionally, I have conversations with TIBCO regarding application features or suggestions that I make in the Ideas portal. It was after one of these conversations that Thomas Blomberg sent me this screenshot showing how multiple columns can be renamed at one time.

Now, most of us learn to use simpler transformations than this and you cannot add multiple columns to the “Columns to Rename” section if you are just hand keying in a new column name. Thus, you wind up assuming you can only change one column name at a time.

As you can see in the screenshot above, if you are using a formula or function, such as this RXReplace function, multiple columns may be modified in a single transformation. Now I just need to learn regex.

Spotfire Version

Content created with Spotfire 10.2.

Leave a Reply