cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use JMP Live to centralize and share reports within groups. Webinar with Q&A April 4, 2pm ET.
Choose Language Hide Translation Bar
View Original Published Thread

Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature

Fruit325
Level III

Hello, I want to get some advice for splitting table. Thank you!

 

I have two columns A and B

A: Temperature 

B: Step 1 / Step2 / Step3

I split column "temperature" by column "steps". The final column names are "Temperature Step1", "Temperature Step2"...

How could I make final column name starts with suffix steps? like "Step1 Temperature", "Step2 Temperature"? I got a lot of columns so it is difficult to edit manually. 

Thanks! 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User


Re: Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature

You can edit your B column (or create new) in your original data table before split (change formula to "Temperature " || :B)

jthi_3-1727185691442.png

jthi_4-1727185700546.png

 

Or you can use recode column names with regex for example

jthi_0-1727185539471.png

jthi_1-1727185569797.png

With ^ you can "replace" start of the string and then replacement text is "Temperature "

jthi_5-1727185770755.png

 

Or you can write a script

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User


Re: Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature

You can edit your B column (or create new) in your original data table before split (change formula to "Temperature " || :B)

jthi_3-1727185691442.png

jthi_4-1727185700546.png

 

Or you can use recode column names with regex for example

jthi_0-1727185539471.png

jthi_1-1727185569797.png

With ^ you can "replace" start of the string and then replacement text is "Temperature "

jthi_5-1727185770755.png

 

Or you can write a script

-Jarmo
Fruit325
Level III


Re: Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature

@jthi  Thanks! That's exactly what I am looking for and it works very well!