<?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: Change to find percent change from 2012 to 2022 in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718575#M90169</link>
    <description>&lt;P&gt;Thank you all -- that worked great.&amp;nbsp; I'm just getting into JSL, so your examples are incredibly helpful.&amp;nbsp; Thanks!&lt;/P&gt;</description>
    <pubDate>Sun, 28 Jan 2024 13:20:24 GMT</pubDate>
    <dc:creator>AdditiveOwl2917</dc:creator>
    <dc:date>2024-01-28T13:20:24Z</dc:date>
    <item>
      <title>Change to find percent change from 2012 to 2022</title>
      <link>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718557#M90155</link>
      <description>&lt;P&gt;Good afternoon -- I'm working on a dataset that has the number of applicants to different columns.&amp;nbsp; I previously asked how to get the yearly percent change for a number of applicants.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would now like to just get the percent change from 2012 to 2022.&amp;nbsp; I have tried a lag column and also modifying the numbers in the formula in the current column that calculates percent change, but I can't seem to figure it out.&amp;nbsp; I appreciate the help in advance.&amp;nbsp; Also, I've been trying to find what the numbers 1,1,0,1 reference as I think that has to do wth the solution, but can't find it.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AdditiveOwl2917_0-1706385184318.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60652iE5127210DDC8A032/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AdditiveOwl2917_0-1706385184318.png" alt="AdditiveOwl2917_0-1706385184318.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 19:55:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718557#M90155</guid>
      <dc:creator>AdditiveOwl2917</dc:creator>
      <dc:date>2024-01-27T19:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change to find percent change from 2012 to 2022</title>
      <link>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718558#M90156</link>
      <description>&lt;P&gt;Are you trying to find the change between first year and last year or specifically 2012 and 2022?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 20:16:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718558#M90156</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-01-27T20:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change to find percent change from 2012 to 2022</title>
      <link>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718559#M90157</link>
      <description>&lt;P&gt;Depending on the assumptions which can be made (is ordered by year / do you want first vs last year) there are different solutions. Below is one option for 2012 vs 2022&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	Col Sum(If(:Year == 2012, :Applicants total, ., ), :Institution name)
	/ 
	Col Sum(If(:Year == 2022, :Applicants total, ., ), :Institution name)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 20:34:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718559#M90157</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-01-27T20:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change to find percent change from 2012 to 2022</title>
      <link>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718569#M90165</link>
      <description>&lt;P&gt;Expanding on Jarmo's solution, you may only want the 2012 to 2022 change to be displayed in the 2022 rows&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1706415529913.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60653iB47B44191A99C56E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1706415529913.png" alt="txnelson_0-1706415529913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The formula for this is&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( :Year == 2022,
	Col Sum( If( :Year == 2012, :Applicants total, . ), :Institution name ) /
	Col Sum( If( :Year == 2022, :Applicants total, . ), :Institution name ),
	.
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 28 Jan 2024 04:19:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718569#M90165</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-01-28T04:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change to find percent change from 2012 to 2022</title>
      <link>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718575#M90169</link>
      <description>&lt;P&gt;Thank you all -- that worked great.&amp;nbsp; I'm just getting into JSL, so your examples are incredibly helpful.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 13:20:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-to-find-percent-change-from-2012-to-2022/m-p/718575#M90169</guid>
      <dc:creator>AdditiveOwl2917</dc:creator>
      <dc:date>2024-01-28T13:20:24Z</dc:date>
    </item>
  </channel>
</rss>

