<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Transform multiple columns with JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343874#M59336</link>
    <description>&lt;P&gt;You might get a lot of answers of ways to do this with existing tools in JMP but I still use the script below which is ran from a menu item inside a table.&amp;nbsp; Select columns in a table, run the script, write a formula referencing those first columns, and then every selected column is transformed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Custom Transformation.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29073i8E57AA4D46A8E751/image-size/large?v=v2&amp;amp;px=999" role="button" title="Custom Transformation.png" alt="Custom Transformation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here( 1 );

//Reference current table
dt1 = Current Data Table();

//flag to output a bunch of status info to the log file
debug = 0;

//window box, all code is inside this box
nw = New Window( "Custom Column Transformation",

	//box to hold spacers on left and right side of data
	H List Box ( 
		
		//spacer on left side of window
		Spacer Box( Size( 12, 12) ),
	
		//box to hold all other parts of window
		V List Box(
			
			//heading and instructions
			Text Box( "Choose Transformation Settings " ), 
			Spacer Box( Size( 12, 12 ) ),
			V List Box( Text Box( "Directions:" ||
								  "\!N1. Select columns to transform in the data table." ||
								  "\!N2. Type a formula below, or select an example." ||
								  "\!N3. Select a phrase to be appended to each new column name." ||
								  "\!N4. Press OK." ||
								  "\!N5. Repeat 2-4 as necessary." ||
								  "\!N6. Press Close/Cancel to exit."), 
			Spacer Box( Size( 12, 12 ) ) ),
			
			//radio buttons with examples, when selected the text in the formula edit box is modified
			panelbox("Example Equations",
				rb1 = radio box({"Lag", "Change", "Shuffle", "Date Dep", "Column Only", "Cos Oscillation", "Sin Oscillation", "10 day t score"},
					one_rb = rb1 &amp;lt;&amp;lt; get selected;
					if (one_rb == "Lag",
						FormulaIn &amp;lt;&amp;lt; set text("Lag(&amp;lt;column&amp;gt;,1)");,
						one_rb == "Change",
						FormulaIn &amp;lt;&amp;lt; set text("&amp;lt;column&amp;gt; - Lag(&amp;lt;column&amp;gt;,1)");,
						one_rb == "Shuffle",
						FormulaIn &amp;lt;&amp;lt; set text("Col Stored Value(&amp;lt;column&amp;gt;, Col Shuffle())");,
						one_rb == "Date Dep",
						FormulaIn &amp;lt;&amp;lt; set text("If( As Column( \!"Date\!" ) &amp;lt; Date DMY( 1, 1, 2016 )," ||
											  "\!N\!t&amp;lt;column&amp;gt; / 10,\!N\!t&amp;lt;column&amp;gt;\!N)");,
						one_rb == "Cos Oscillation",
						FormulaIn &amp;lt;&amp;lt; set text("cos(&amp;lt;column&amp;gt; * (2 * pi()) / Col Max( &amp;lt;column&amp;gt; ) )");,
						one_rb == "Sin Oscillation",
						FormulaIn &amp;lt;&amp;lt; set text("sin(&amp;lt;column&amp;gt; * (2 * pi()) / Col Max( &amp;lt;column&amp;gt; ) )");,
						one_rb == "10 day t score",
						FormulaIn &amp;lt;&amp;lt; set text("Lag( 
						  (&amp;lt;column&amp;gt; - Mean(
							Lag( &amp;lt;column&amp;gt;, 1 ),
							Lag( &amp;lt;column&amp;gt;, 2 ),
							Lag( &amp;lt;column&amp;gt;, 3 ),
							Lag( &amp;lt;column&amp;gt;, 4 ),
							Lag( &amp;lt;column&amp;gt;, 5 ),
							Lag( &amp;lt;column&amp;gt;, 6 ),
							Lag( &amp;lt;column&amp;gt;, 7 ),
							Lag( &amp;lt;column&amp;gt;, 8 ),
							Lag( &amp;lt;column&amp;gt;, 9 ),
							Lag( &amp;lt;column&amp;gt;, 10 )
						) ) / Std Dev(
							Lag( &amp;lt;column&amp;gt;, 1 ),
							Lag( &amp;lt;column&amp;gt;, 2 ),
							Lag( &amp;lt;column&amp;gt;, 3 ),
							Lag( &amp;lt;column&amp;gt;, 4 ),
							Lag( &amp;lt;column&amp;gt;, 5 ),
							Lag( &amp;lt;column&amp;gt;, 6 ),
							Lag( &amp;lt;column&amp;gt;, 7 ),
							Lag( &amp;lt;column&amp;gt;, 8 ),
							Lag( &amp;lt;column&amp;gt;, 9 ),
							Lag( &amp;lt;column&amp;gt;, 10 )
						) ) )");,
						FormulaIn &amp;lt;&amp;lt; set text("&amp;lt;column&amp;gt;");
						
						
						
					);
				),
			),
			
			//Formula edit box with instructions
			Spacer Box( Size( 6, 6 ) ),
			V List Box( Text Box( "FORMULA\!NCreate a new column in the data table and then copy/paste the formula from " ||
								  "the formula editor.  Then use &amp;lt;column&amp;gt; up to 50 times to indicate where column names " ||
								  "should be substituted. Reference other columns using As Column(\!"Column Name\!")." ),
			Spacer Box( Size( 12, 12 ) ), 
			V List Box( 
				FormulaIn = Text Edit Box(
					"Lag(&amp;lt;column&amp;gt;,1)",
					&amp;lt;&amp;lt;Justify Text( Left ),
					&amp;lt;&amp;lt;Set Width( 400 ),
					&amp;lt;&amp;lt;setNlines( 5 )
				)
			),
					   
			//Description edit box with instructions
			Spacer Box( Size( 6, 6 ) ),
			V List Box ( Text Box( "DESCRIPTION\!NText appended to each new column name:" ) ),
			Spacer Box( Size( 12, 12 ) ) ),
			V List Box ( DescIn = Text Edit Box( " TRANSFORMED",
							&amp;lt;&amp;lt;Justify Text( Left ),
							&amp;lt;&amp;lt;Set Width( 400 ),
							&amp;lt;&amp;lt;setNlines( 1 )
						 )
					   ),
			Spacer Box( Size( 25, 25 ) ),
			
			//Box to hold command buttons
			H List Box(
			
				//Button to create new columns
				Button Box( "OK",
				
					//get list of colums selected in the data table
					ColumnList = dt1 &amp;lt;&amp;lt; Get Selected Columns();
					
					//TODO: loop through this section for multiple input columns, list of &amp;lt;column1&amp;gt;, &amp;lt;column2&amp;gt;, etc.
					
					//variable to hold text string to be replaced with column names
					ReplaceTarget = "&amp;lt;column&amp;gt;";
					
					//Get formula from text box
					FormulaInput = FormulaIn &amp;lt;&amp;lt; Get Text;
					
					//get column description from text box
					DescInput = DescIn &amp;lt;&amp;lt; Get Text;
					
					//output debug info
					if (debug == 1,Show( FormulaInput );Show( DescInput );Show( ColumnList ););
					
					//get number of selected columns
					n = N Items( ColumnList );
					
					//for each column
					For( i = 1, i &amp;lt;= n, i++,
					
						//get data type of column
						ColumnDataType = Column( ColumnList[i] ) &amp;lt;&amp;lt; Get Data Type;
						
						//output debug info
						if (debug == 1,Show( columnList[i] );Show( ColumnDataType ););
						
						//create new variable for modified formula
						FormulaComplete = FormulaInput;
						
						//TODO: stop itterating when string no longer found or after a huge number of cycles
						
						//replace column reference for up to 50 occurances (change this for large formulas)
						For( j = 1, j &amp;lt;= 50, j++,
						
							//output debug info
							if (debug == 1,Show( FormulaComplete );Show( Contains( FormulaComplete, ReplaceTarget ) );
								Show( Length( ReplaceTarget ) ););
								
							//if the formula contains the target string
							If( Contains( FormulaComplete, ReplaceTarget ) &amp;gt; 0,
								
								//replace the first occurance of the target string
								FormulaComplete = Eval(
									Munger(
										FormulaComplete,
										Contains( FormulaComplete, ReplaceTarget ),
										Length( ReplaceTarget ),
										"As Column(\!"" || Char( ColumnList[i] ) || "\!")"
									)
								)
							); //end if formula contains reference string
						); //loop for each occurance of the reference string
						
						//output debug info
						if (debug == 1,Show( FormulaComplete ););
						
						//create string containing expression that will create the new column reference
						newColExpr = Expr(
							dt1 &amp;lt;&amp;lt; New Column( Char( ColumnList[i] ) || Char( DescInput ),
								Expr( ColumnDataType ),
								Formula( Eval( Parse( FormulaComplete ) ) )
							)
						);
						
						//output debug info
						if (debug == 1,Show( Eval Expr( newColExpr ) ););
						
						//Try creating the new column reference
						Try( Eval( Eval Expr( newColExpr ) ) );
						
						//TODO: Check if new column was created and it has a formula, inform user
						
						//output debug info
						if( debug == 1, Show( "done" ););
						
					); //loop each selected column
				), //end of 'OK' command button
				
				//button to close the window
				Button Box( "Close/Cancel",
					Show( "Closed" );
					nw &amp;lt;&amp;lt; Close Window;
				)
				
			), //end of box to hold command buttons
			
			//spacer on bottom of window
			Spacer Box( Size( 12, 12 ) )
		), //end of vertical box with all window content except left and right spacers
		
		//spacer in right side of window
		Spacer Box( Size( 12, 12 ) )
		
	) //end of horizontal box for spacers on left and right side
	
); //end of window box&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI-SPOILER&gt;</description>
    <pubDate>Tue, 22 Dec 2020 18:30:14 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2020-12-22T18:30:14Z</dc:date>
    <item>
      <title>Transform multiple columns with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343851#M59332</link>
      <description>&lt;P&gt;Hello JSL Gurus,&lt;/P&gt;&lt;P&gt;Is there an easy way to transform a column list in JSL with the same transform formula?&lt;/P&gt;&lt;P&gt;I am trying to get similar functionality like in a table, for example, where I can select multiple columns &amp;amp; from the right click menu:&lt;/P&gt;&lt;P&gt;New Formula Column -&amp;gt; Transform -&amp;gt; Absolute Value&lt;/P&gt;&lt;P&gt;If this can be done without a For loop it will be helpful.&lt;/P&gt;&lt;P&gt;Appreciate any pointers.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:01:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343851#M59332</guid>
      <dc:creator>BijuP</dc:creator>
      <dc:date>2023-06-09T22:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Transform multiple columns with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343874#M59336</link>
      <description>&lt;P&gt;You might get a lot of answers of ways to do this with existing tools in JMP but I still use the script below which is ran from a menu item inside a table.&amp;nbsp; Select columns in a table, run the script, write a formula referencing those first columns, and then every selected column is transformed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Custom Transformation.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/29073i8E57AA4D46A8E751/image-size/large?v=v2&amp;amp;px=999" role="button" title="Custom Transformation.png" alt="Custom Transformation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here( 1 );

//Reference current table
dt1 = Current Data Table();

//flag to output a bunch of status info to the log file
debug = 0;

//window box, all code is inside this box
nw = New Window( "Custom Column Transformation",

	//box to hold spacers on left and right side of data
	H List Box ( 
		
		//spacer on left side of window
		Spacer Box( Size( 12, 12) ),
	
		//box to hold all other parts of window
		V List Box(
			
			//heading and instructions
			Text Box( "Choose Transformation Settings " ), 
			Spacer Box( Size( 12, 12 ) ),
			V List Box( Text Box( "Directions:" ||
								  "\!N1. Select columns to transform in the data table." ||
								  "\!N2. Type a formula below, or select an example." ||
								  "\!N3. Select a phrase to be appended to each new column name." ||
								  "\!N4. Press OK." ||
								  "\!N5. Repeat 2-4 as necessary." ||
								  "\!N6. Press Close/Cancel to exit."), 
			Spacer Box( Size( 12, 12 ) ) ),
			
			//radio buttons with examples, when selected the text in the formula edit box is modified
			panelbox("Example Equations",
				rb1 = radio box({"Lag", "Change", "Shuffle", "Date Dep", "Column Only", "Cos Oscillation", "Sin Oscillation", "10 day t score"},
					one_rb = rb1 &amp;lt;&amp;lt; get selected;
					if (one_rb == "Lag",
						FormulaIn &amp;lt;&amp;lt; set text("Lag(&amp;lt;column&amp;gt;,1)");,
						one_rb == "Change",
						FormulaIn &amp;lt;&amp;lt; set text("&amp;lt;column&amp;gt; - Lag(&amp;lt;column&amp;gt;,1)");,
						one_rb == "Shuffle",
						FormulaIn &amp;lt;&amp;lt; set text("Col Stored Value(&amp;lt;column&amp;gt;, Col Shuffle())");,
						one_rb == "Date Dep",
						FormulaIn &amp;lt;&amp;lt; set text("If( As Column( \!"Date\!" ) &amp;lt; Date DMY( 1, 1, 2016 )," ||
											  "\!N\!t&amp;lt;column&amp;gt; / 10,\!N\!t&amp;lt;column&amp;gt;\!N)");,
						one_rb == "Cos Oscillation",
						FormulaIn &amp;lt;&amp;lt; set text("cos(&amp;lt;column&amp;gt; * (2 * pi()) / Col Max( &amp;lt;column&amp;gt; ) )");,
						one_rb == "Sin Oscillation",
						FormulaIn &amp;lt;&amp;lt; set text("sin(&amp;lt;column&amp;gt; * (2 * pi()) / Col Max( &amp;lt;column&amp;gt; ) )");,
						one_rb == "10 day t score",
						FormulaIn &amp;lt;&amp;lt; set text("Lag( 
						  (&amp;lt;column&amp;gt; - Mean(
							Lag( &amp;lt;column&amp;gt;, 1 ),
							Lag( &amp;lt;column&amp;gt;, 2 ),
							Lag( &amp;lt;column&amp;gt;, 3 ),
							Lag( &amp;lt;column&amp;gt;, 4 ),
							Lag( &amp;lt;column&amp;gt;, 5 ),
							Lag( &amp;lt;column&amp;gt;, 6 ),
							Lag( &amp;lt;column&amp;gt;, 7 ),
							Lag( &amp;lt;column&amp;gt;, 8 ),
							Lag( &amp;lt;column&amp;gt;, 9 ),
							Lag( &amp;lt;column&amp;gt;, 10 )
						) ) / Std Dev(
							Lag( &amp;lt;column&amp;gt;, 1 ),
							Lag( &amp;lt;column&amp;gt;, 2 ),
							Lag( &amp;lt;column&amp;gt;, 3 ),
							Lag( &amp;lt;column&amp;gt;, 4 ),
							Lag( &amp;lt;column&amp;gt;, 5 ),
							Lag( &amp;lt;column&amp;gt;, 6 ),
							Lag( &amp;lt;column&amp;gt;, 7 ),
							Lag( &amp;lt;column&amp;gt;, 8 ),
							Lag( &amp;lt;column&amp;gt;, 9 ),
							Lag( &amp;lt;column&amp;gt;, 10 )
						) ) )");,
						FormulaIn &amp;lt;&amp;lt; set text("&amp;lt;column&amp;gt;");
						
						
						
					);
				),
			),
			
			//Formula edit box with instructions
			Spacer Box( Size( 6, 6 ) ),
			V List Box( Text Box( "FORMULA\!NCreate a new column in the data table and then copy/paste the formula from " ||
								  "the formula editor.  Then use &amp;lt;column&amp;gt; up to 50 times to indicate where column names " ||
								  "should be substituted. Reference other columns using As Column(\!"Column Name\!")." ),
			Spacer Box( Size( 12, 12 ) ), 
			V List Box( 
				FormulaIn = Text Edit Box(
					"Lag(&amp;lt;column&amp;gt;,1)",
					&amp;lt;&amp;lt;Justify Text( Left ),
					&amp;lt;&amp;lt;Set Width( 400 ),
					&amp;lt;&amp;lt;setNlines( 5 )
				)
			),
					   
			//Description edit box with instructions
			Spacer Box( Size( 6, 6 ) ),
			V List Box ( Text Box( "DESCRIPTION\!NText appended to each new column name:" ) ),
			Spacer Box( Size( 12, 12 ) ) ),
			V List Box ( DescIn = Text Edit Box( " TRANSFORMED",
							&amp;lt;&amp;lt;Justify Text( Left ),
							&amp;lt;&amp;lt;Set Width( 400 ),
							&amp;lt;&amp;lt;setNlines( 1 )
						 )
					   ),
			Spacer Box( Size( 25, 25 ) ),
			
			//Box to hold command buttons
			H List Box(
			
				//Button to create new columns
				Button Box( "OK",
				
					//get list of colums selected in the data table
					ColumnList = dt1 &amp;lt;&amp;lt; Get Selected Columns();
					
					//TODO: loop through this section for multiple input columns, list of &amp;lt;column1&amp;gt;, &amp;lt;column2&amp;gt;, etc.
					
					//variable to hold text string to be replaced with column names
					ReplaceTarget = "&amp;lt;column&amp;gt;";
					
					//Get formula from text box
					FormulaInput = FormulaIn &amp;lt;&amp;lt; Get Text;
					
					//get column description from text box
					DescInput = DescIn &amp;lt;&amp;lt; Get Text;
					
					//output debug info
					if (debug == 1,Show( FormulaInput );Show( DescInput );Show( ColumnList ););
					
					//get number of selected columns
					n = N Items( ColumnList );
					
					//for each column
					For( i = 1, i &amp;lt;= n, i++,
					
						//get data type of column
						ColumnDataType = Column( ColumnList[i] ) &amp;lt;&amp;lt; Get Data Type;
						
						//output debug info
						if (debug == 1,Show( columnList[i] );Show( ColumnDataType ););
						
						//create new variable for modified formula
						FormulaComplete = FormulaInput;
						
						//TODO: stop itterating when string no longer found or after a huge number of cycles
						
						//replace column reference for up to 50 occurances (change this for large formulas)
						For( j = 1, j &amp;lt;= 50, j++,
						
							//output debug info
							if (debug == 1,Show( FormulaComplete );Show( Contains( FormulaComplete, ReplaceTarget ) );
								Show( Length( ReplaceTarget ) ););
								
							//if the formula contains the target string
							If( Contains( FormulaComplete, ReplaceTarget ) &amp;gt; 0,
								
								//replace the first occurance of the target string
								FormulaComplete = Eval(
									Munger(
										FormulaComplete,
										Contains( FormulaComplete, ReplaceTarget ),
										Length( ReplaceTarget ),
										"As Column(\!"" || Char( ColumnList[i] ) || "\!")"
									)
								)
							); //end if formula contains reference string
						); //loop for each occurance of the reference string
						
						//output debug info
						if (debug == 1,Show( FormulaComplete ););
						
						//create string containing expression that will create the new column reference
						newColExpr = Expr(
							dt1 &amp;lt;&amp;lt; New Column( Char( ColumnList[i] ) || Char( DescInput ),
								Expr( ColumnDataType ),
								Formula( Eval( Parse( FormulaComplete ) ) )
							)
						);
						
						//output debug info
						if (debug == 1,Show( Eval Expr( newColExpr ) ););
						
						//Try creating the new column reference
						Try( Eval( Eval Expr( newColExpr ) ) );
						
						//TODO: Check if new column was created and it has a formula, inform user
						
						//output debug info
						if( debug == 1, Show( "done" ););
						
					); //loop each selected column
				), //end of 'OK' command button
				
				//button to close the window
				Button Box( "Close/Cancel",
					Show( "Closed" );
					nw &amp;lt;&amp;lt; Close Window;
				)
				
			), //end of box to hold command buttons
			
			//spacer on bottom of window
			Spacer Box( Size( 12, 12 ) )
		), //end of vertical box with all window content except left and right spacers
		
		//spacer in right side of window
		Spacer Box( Size( 12, 12 ) )
		
	) //end of horizontal box for spacers on left and right side
	
); //end of window box&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 22 Dec 2020 18:30:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343874#M59336</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2020-12-22T18:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Transform multiple columns with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343895#M59338</link>
      <description>&lt;P&gt;Thanks. This is a great utility.&lt;/P&gt;&lt;P&gt;If you have something simpler for what I described above that I can embed in other scripts, that will be useful for list of column names that I have generated in other parts of my script. If not, I can parse and use parts/concepts in your code to do that.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 18:58:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343895#M59338</guid>
      <dc:creator>BijuP</dc:creator>
      <dc:date>2020-12-22T18:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Transform multiple columns with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343931#M59341</link>
      <description>&lt;P&gt;Here is an example that might get you started:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

dt = open("$Sample_data/iris.jmp");
ColumnList = dt &amp;lt;&amp;lt; Get Column Names(Numeric);

ReplaceTarget = "&amp;lt;column&amp;gt;";
FormulaInput = "&amp;lt;column&amp;gt; + 1";

//for each column
For( i = 1, i &amp;lt;= N Items( ColumnList ), i++,
	FormulaComplete = Substitute( FormulaInput, "&amp;lt;column&amp;gt;", ":Name(\!"" || Char( ColumnList[i] ) || "\!")");
	
	//create an expression that will create the new column reference
	newColExpr = Expr(
		dt &amp;lt;&amp;lt; New Column( Expr( Char( ColumnList[i] ) || " Transformed" ),
			Numeric,
			Formula( Expr( Parse( FormulaComplete ) ) )
		)
	);
	
	//Create the new column
	Eval( Eval expr( newColExpr ) );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Dec 2020 19:33:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343931#M59341</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2020-12-22T19:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Transform multiple columns with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343941#M59344</link>
      <description>&lt;P&gt;Great! Thank you for your help and prompt replies.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 20:22:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transform-multiple-columns-with-JSL/m-p/343941#M59344</guid>
      <dc:creator>BijuP</dc:creator>
      <dc:date>2020-12-22T20:22:28Z</dc:date>
    </item>
  </channel>
</rss>

