<?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 How to multiply column values without creating another column? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/733914#M91501</link>
    <description>&lt;P&gt;I have a column with decimal values that needs to be multiplied by 100. Is there other ways to do it without creating another column with formula? Is it possible to do it on the same column?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 01:53:26 GMT</pubDate>
    <dc:creator>UserID16644</dc:creator>
    <dc:date>2024-03-13T01:53:26Z</dc:date>
    <item>
      <title>How to multiply column values without creating another column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/733914#M91501</link>
      <description>&lt;P&gt;I have a column with decimal values that needs to be multiplied by 100. Is there other ways to do it without creating another column with formula? Is it possible to do it on the same column?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 01:53:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/733914#M91501</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2024-03-13T01:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply column values without creating another column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/733948#M91504</link>
      <description>&lt;P&gt;The easiest way to do this is to write a little script.&amp;nbsp; If the name of your column that you want to change is called "The Column", the following script will&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For Each Row( :The Column = :The Column * 100 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2024 02:45:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/733948#M91504</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-03-13T02:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply column values without creating another column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/734006#M91508</link>
      <description>&lt;P&gt;I tried re-creating this with a For Loop, but doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dtcols = {"Score1", "Score2"};

For( i = 1, i &amp;lt;= N items (dtcols), i++,
	For Each Row( dtcols[i] = dtcols[i] * 100 );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2024 05:22:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/734006#M91508</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2024-03-13T05:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply column values without creating another column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/734044#M91510</link>
      <description>&lt;P&gt;You need to tell JMP the element from the list is a column.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dtcols = {"Score1", "Score2"};

For( i = 1, i &amp;lt;= N Items( dtcols ), i++,
	For Each Row( As Column( dtcols[i] ) = As Column( dtcols[i] ) * 100 )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;BTW, a simpler form to use is with a For Each() function&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;For Each( {col}, dtcols,
	For Each Row( As Column( col ) = As Column( col ) * 100 )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2024 05:37:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/734044#M91510</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-03-13T05:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply column values without creating another column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/734063#M91511</link>
      <description>&lt;P&gt;Thank you! I'm learning a lot ^^&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 05:53:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-multiply-column-values-without-creating-another-column/m-p/734063#M91511</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2024-03-13T05:53:01Z</dc:date>
    </item>
  </channel>
</rss>

