<?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: Calculating Percentage Change in Enterprise Guide 7.1 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649899#M36099</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;, thank you for alerting us to the mistaken accepted solution. I have unmarked it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/204271"&gt;@SunTall&lt;/a&gt;: once you receive a solution, please mark that one so that others may be helped by it as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp;notes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using the SAS communities,&lt;/P&gt;
&lt;P&gt;Shelley&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2020 13:13:04 GMT</pubDate>
    <dc:creator>ShelleySessoms</dc:creator>
    <dc:date>2020-05-22T13:13:04Z</dc:date>
    <item>
      <title>Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649876#M36092</link>
      <description>&lt;P&gt;Dear&amp;nbsp;EG experts,&lt;/P&gt;&lt;P&gt;I am a newbie to SAS Enterprise Guide 7.1&amp;nbsp;slowly learning my way around it. I have no programming knowledge and use the point and click method to do my work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have been give a&amp;nbsp; project to&amp;nbsp;bench mark some tuition fees with several competitors and one of the components&amp;nbsp; to analyse is the percentage change in fees for the various courses from 2019 to 2020 .&amp;nbsp; The columns in the database that I am interested in&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;looks somewhat like in Table 1 and I want to be able to calculate % change and produce something like Table 2.I h&lt;SPAN style="font-family: inherit;"&gt;ave provided screen shots below as an illustration the original data set is much bigger&amp;nbsp; data set&amp;nbsp;and the other columns are not relevant for what i wish to perform. I have also attached a sample excel file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any advise as to how I can achieve the results in table 2.&lt;/P&gt;&lt;P&gt;For example do I use computed column - advance expression or summary tables&amp;nbsp; I am really stuck on this as I don't know how to do it.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Table 1 Raw Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Table 1.PNG" style="width: 520px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39754i06D20D8D6A0527BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table 1.PNG" alt="Table 1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table 2&amp;nbsp; (This is the desired outcome required)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Table 2.PNG" style="width: 670px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39755i6309B95D3E6D768D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table 2.PNG" alt="Table 2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help much appreciated&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 11:44:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649876#M36092</guid>
      <dc:creator>SunTall</dc:creator>
      <dc:date>2020-05-22T11:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649881#M36093</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/204271"&gt;@SunTall&lt;/a&gt;&amp;nbsp; It appears the desired output is rather a report than a dataset.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;/&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp; can help you with proc report/tabulate.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 12:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649881#M36093</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-05-22T12:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649882#M36094</link>
      <description>&lt;P&gt;Thanks for your advise do I post it there or forward this to them?&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 12:23:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649882#M36094</guid>
      <dc:creator>SunTall</dc:creator>
      <dc:date>2020-05-22T12:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649884#M36095</link>
      <description>&lt;P&gt;Please &lt;STRONG&gt;unmark&lt;/STRONG&gt; as the question hasn't been answered. I have mentioned Reeza and Ballardw and they would see it. It;s 8:30am in CT(Eastern time) and I am sure Reeza does Central or mountain time. So kindly wait for their solution plz and retain the same thread&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 12:27:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649884#M36095</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-05-22T12:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649888#M36096</link>
      <description>&lt;P&gt;I tried but I can't seem to unmark is there something I am missing sorry this is my first time in this space&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 12:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649888#M36096</guid>
      <dc:creator>SunTall</dc:creator>
      <dc:date>2020-05-22T12:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649890#M36097</link>
      <description>&lt;P&gt;Good morning&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/14323"&gt;@ShelleySessoms&lt;/a&gt;&amp;nbsp;/&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp; Sorry for the bother early morning. I'm afraid OP has marked the thread as answered by mistake and is unable to un mark. The solution involves great level of Proc report imho and I suggested the OP to wait for expert solutions&amp;nbsp; most likely from Ballardw/Reeza, of course not discounting any one else's however the two of them are well known. Can you please un-mark for OP so that whomsoever would wanna take a peek into this thread doesn't ignore. Thank you for your help and have a great day!&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 12:42:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649890#M36097</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-05-22T12:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649899#M36099</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;, thank you for alerting us to the mistaken accepted solution. I have unmarked it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/204271"&gt;@SunTall&lt;/a&gt;: once you receive a solution, please mark that one so that others may be helped by it as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp;notes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using the SAS communities,&lt;/P&gt;
&lt;P&gt;Shelley&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 13:13:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649899#M36099</guid>
      <dc:creator>ShelleySessoms</dc:creator>
      <dc:date>2020-05-22T13:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649902#M36100</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 13:21:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649902#M36100</guid>
      <dc:creator>SunTall</dc:creator>
      <dc:date>2020-05-22T13:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649903#M36101</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/204271"&gt;@SunTall&lt;/a&gt;&amp;nbsp; Until you get a Proc Report solution, you have the following to play with. See if this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data have;
infile cards dsd;
input Fees_Year	School_Name	: $15. Course :$20.	Course_Fees :comma10.;
format Course_Fees comma10.;
cards;
2019,AN School,Arts,"109,440"
2019,AN School,Arts,"116,640"
2019,AN School,Arts,"123,840"
2019,AN School,Arts,"169,920"
2019,AN School,Arts,"174,720"
2019,AN School,Creative Arts,"109,440"
2019,AN School,Creative Arts,"123,840"
2019,AN School,Design,"109,440"
2019,James School,Architecure,"114,480"
2019,James School,Arts,"114,480"
2019,James School,Commerce,"114,480"
2019,James School,Creative Arts,"114,480"
2019,James School,Communication,"114,480"
2019,CAN School,Architecure,"97,800"
2019,CAN School,Arts,"81,600"
2019,CAN School,Arts,"84,600"
2019,CAN School,Arts,"94,500"
2019,CAN School,Commerce,"111,200"
2019,CAN School,Design,"77,100"
2019,CAN School,Primary Teaching,"110,000"
2019,CAN School,Secondary Teaching,"110,000"
2019,CAN School,Interior design,"97,800"
2019,CAN School,Communication,"83,100"
2019,CDU School,Arts,"72,360"
2019,CDU School,Primary Teaching,"101,760"
2019,CDU School,Secondary Teaching,"101,760"
2019,CDU School,Education,"76,320"
2019,CQU School,Arts,"83,283"
2019,CQU School,Arts,"84,766"
2019,CQU School,Arts,"89,488"
2019,CQU School,Creative Arts,"83,283"
2019,CQU School,Early Childhood Teaching,"104,991"
2019,CQU School,Primary Teaching,"104,991"
2019,CQU School,Secondary Teaching,"117,911"
2019,CQU School,Communication,"84,766"
2019,CSU School,Arts,"57,600"
2019,CSU School,Communication,"69,600"
2019,CUR School,Architecure,"96,300"
2019,CUR School,Arts,"85,800"
2019,CUR School,Commerce,"120,000"
2019,CUR School,Creative Arts,"85,800"
2019,CUR School,Design,"85,200"
2019,CUR School,Early Childhood Teaching,"121,600"
2019,CUR School,Primary Teaching,"121,600"
2019,CUR School,Secondary Teaching,"119,600"
2019,CUR School,Education,"91,200"
2019,CUR School,Interior design,"128,400"
2019,CUR School,Communication,"85,200"
2019,CUR School,Urban Planning,"118,000"
2019,DEE School,Architecure,"90,600"
2019,DEE School,Arts,"82,200"
2019,DEE School,Arts,"87,000"
2019,DEE School,Arts,"109,600"
2019,DEE School,Commerce,"120,800"
2019,DEE School,Design,"82,200"
2019,DEE School,Design,"92,400"
2019,DEE School,Primary Teaching,"112,000"
2019,DEE School,Communication,"82,200"
2019,DEE School,Communication,"87,000"
2019,DEE School,Communication,"92,400"
2020,Adel School,Architecure,"105,000"
2020,Adel School,Arts,"100,500"
2020,Adel School,Arts,"115,500"
2020,Adel School,Communication,"100,500"
2020,Adel School,Communication,"115,500"
2020,AN School,Arts,"114,912"
2020,AN School,Arts,"122,472"
2020,AN School,Arts,"130,032"
2020,AN School,Arts,"173,376"
2020,AN School,Arts,"178,416"
2020,AN School,Arts,"183,456"
2020,AN School,Creative Arts,"114,912"
2020,AN School,Creative Arts,"130,032"
2020,AN School,Design,"114,912"
2020,James School,Architecure,"120,240"
2020,James School,Arts,"120,240"
2020,James School,Commerce,"120,240"
2020,James School,Creative Arts,"120,240"
2020,James School,Communication,"120,240"
2020,CAN School,Architecure,"100,200"
2020,CAN School,Arts,"87,000"
2020,CAN School,Arts,"96,900"
2020,CAN School,Commerce,"118,000"
2020,CAN School,Design,"80,100"
2020,CAN School,Primary Teaching,"114,000"
2020,CAN School,Secondary Teaching,"114,000"
2020,CAN School,Interior design,"100,200"
2020,CAN School,Communication,"84,000"
2020,CDU School,Architecure,"75,984"
2020,CDU School,Arts,"75,984"
2020,CDU School,Primary Teaching,"106,848"
2020,CDU School,Secondary Teaching,"106,848"
2020,CDU School,Education,"80,136"
2020,CQU School,Arts,"80,640"
2020,CQU School,Arts,"84,960"
2020,CQU School,Arts,"85,680"
2020,CQU School,Creative Arts,"84,060"
2020,CQU School,Creative Arts,"84,960"
2020,CQU School,Early Childhood Teaching,"101,760"
2020,CQU School,Primary Teaching,"101,760"
2020,CQU School,Secondary Teaching,"115,440"
2020,CQU School,Communication,"85,680"
2020,CSU School,Arts,"58,800"
2020,CSU School,Arts,"70,800"
2020,CSU School,Communication,"70,800"
2020,CUR School,Architecure,"99,100"
2020,CUR School,Arts,"88,800"
2020,CUR School,Commerce,"123,800"
2020,CUR School,Creative Arts,"87,000"
2020,CUR School,Creative Arts,"88,800"
2020,CUR School,Design,"88,700"
2020,CUR School,Early Childhood Teaching,"123,500"
2020,CUR School,Primary Teaching,"123,500"
2020,CUR School,Secondary Teaching,"120,500"
2020,CUR School,Education,"92,500"
2020,CUR School,Interior design,"132,300"
2020,CUR School,Communication,"88,600"
2020,CUR School,Communication,"88,700"
2020,CUR School,Urban Planning,"120,700"
2020,DEE School,Architecure,"96,000"
2020,DEE School,Arts,"88,200"
2020,DEE School,Arts,"91,800"
2020,DEE School,Arts,"117,600"
2020,DEE School,Commerce,"128,000"
2020,DEE School,Creative Arts,"96,600"
2020,DEE School,Design,"88,200"
2020,DEE School,Design,"93,000"
2020,DEE School,Design,"96,600"
2020,DEE School,Design,"117,600"
2020,DEE School,Primary Teaching,"117,600"
2020,DEE School,Communication,"88,200"
2020,DEE School,Communication,"91,800"
2020,DEE School,Communication,"96,600"
2020,DEE School,Communication,"117,600"
;



proc summary data=have nway;
class school_name course fees_year;
var course_fees;
output out=temp(drop=_:) mean=;
run;

proc transpose data=temp out=temp2(drop=_:) prefix=AverageFee;
by school_name course;
var course_fees;
id fees_year;
run;

data want;
 set temp2;
 if nmiss(averagefee2020,averagefee2019)=0 then Change_pct=(averagefee2020-averagefee2019)/averagefee2019;
 format change_pct percent10.;
run;

proc print noobs;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Print: Data Set WORK.WANT" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="l header" scope="col"&gt;School_Name&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;Course&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;AverageFee2019&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;AverageFee2020&lt;/TH&gt;
&lt;TH class="r header" scope="col"&gt;Change_pct&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="l data"&gt;AN School&lt;/TD&gt;
&lt;TD class="l data"&gt;Arts&lt;/TD&gt;
&lt;TD class="r data"&gt;138,912&lt;/TD&gt;
&lt;TD class="r data"&gt;150,444&lt;/TD&gt;
&lt;TD class="r data"&gt;8%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="l data"&gt;AN School&lt;/TD&gt;
&lt;TD class="l data"&gt;Creative Arts&lt;/TD&gt;
&lt;TD class="r data"&gt;116,640&lt;/TD&gt;
&lt;TD class="r data"&gt;122,472&lt;/TD&gt;
&lt;TD class="r data"&gt;5%&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="l data"&gt;AN School&lt;/TD&gt;
&lt;TD class="l data"&gt;Design&lt;/TD&gt;
&lt;TD class="r data"&gt;109,440&lt;/TD&gt;
&lt;TD class="r data"&gt;114,912&lt;/TD&gt;
&lt;TD class="r data"&gt;5%&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 May 2020 13:22:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649903#M36101</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-05-22T13:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649905#M36102</link>
      <description>Thank you so much novinosrin. I will take a look at your solution as I said I am novice and have no programming skills but may be I can substitute my values in your code and produce the same results. I will let you know how I go tomorrow. Its late in my part of the world</description>
      <pubDate>Fri, 22 May 2020 13:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649905#M36102</guid>
      <dc:creator>SunTall</dc:creator>
      <dc:date>2020-05-22T13:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649932#M36103</link>
      <description>&lt;P&gt;1. Use a SUMMARY task to get the summary statistics first. Make sure to save this to a SAS data set&lt;/P&gt;
&lt;P&gt;2. Use a TRANSPOSE task to get the data flipped so that you have one column for each year&lt;/P&gt;
&lt;P&gt;3. Use a QUERY task to create a computed column for year over year percent change&lt;/P&gt;
&lt;P&gt;4. Use PROC REPORT to display your report&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp;although you can use PROC REPORT/TABULATE, in my opinion only, for beginners especially, with EG I'll leave it as more steps as they can understand it more easily and modify it themselves if changes are needed. It is possible to do this as a single PROC TABULATE though, but I have to look up the formula for percents every single time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 15:32:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649932#M36103</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-22T15:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649942#M36104</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;.I agree and &lt;EM&gt;me too&lt;/EM&gt; being novice in proc report/tabulate I wouldn't know what recommendations would be appropriate. I had a discussion with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp; seeking his advice to get me up to speed on Proc report/tabulate, and subsequently I have gradually begun reading it. Admittedly, I have been ignoring this piece for all this while as I found it very boring however it's apparent the time has come for me to learn it thoroughly having realized all of it cannot be video games alike. Hopefully, you will see some surprises from me with proc report/tabulate soon. Let' see &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 15:57:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649942#M36104</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-05-22T15:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649950#M36105</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;BR /&gt;/* Cleaned up */&lt;BR /&gt;
options missing='-';
proc report data=dat.schoolfees nowd;
columns ('Compare Annual Average Fees' 'School Name'n  Course) 
		'Course Fees'n, 'Fees Year'n  ('Y over Y' percent);
define 'School Name'n/group;
define Course /group;
define 'Fees Year'n /across;
define 'Course Fees'n/mean ;
define percent/computed f=percent6.2 '% chg';
Compute percent;
percent=(1-(_C3_/_C4_)); /* Variables for the two years) */
endcomp;
format 'Fees Year'n comma9.0; 
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Untitled.png" style="width: 357px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39770iE038EC4E6859CBC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 20:08:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649950#M36105</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-05-22T20:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649973#M36106</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/204271"&gt;@SunTall&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, try not to include Excel or Word files with your messages. Many people are leery about opening them, and some companies won't permit it. Set your data up as a data step, as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp; has done. Then we can easily use it in our programs to solve your questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I agree completely with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;'s solution. In case you didn't realize it, every step that she lists can be done using the Enterprise Guide tasks, there's no need to do any SAS programming.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that this is a fairly complex requirement...anything more complex might result in you having to do some SAS programming, so I suggest you try to use some of the SAS free educational materials to at least dip your toe into the topic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some of the comments in this discussion may seem a little confusing. The SAS REPORT procedure is incredibly powerful, but because of that it can be very challenging to learn. Save that for a future "stretch" assignment!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 18:20:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649973#M36106</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2020-05-22T18:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649974#M36107</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was in the same situation a few years ago, I liked proc report but was afraid of it. Then a contract came along where I had to exactly reproduce a very complex report, proc report was the only way to do it. I'm not going to say I mastered it, but I got a heck of a lot better, and I came out of it with the opinion that proc report is truly an amazing product, and really worth the effort to learn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I bought Art Carpenter's book, and I can't recommend it highly enough.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 18:24:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/649974#M36107</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2020-05-22T18:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/650009#M36108</link>
      <description>&lt;P&gt;Thank you Sir&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15142"&gt;@TomKari&lt;/a&gt;&amp;nbsp; for chiming in and letting know your thoughts and recommendation. I really needed it. I have a paid subscription to Oreily media aka safarionline library and I found that book of Art Carpenter there. That gives me huge relief. Cheers!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 20:25:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/650009#M36108</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-05-22T20:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/650046#M36110</link>
      <description>Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt; for the advise will keep it in mind for future, the file i provided is not an original. The data set I attached is fictitious with fictitious names and numbers. Wouldn't mind knowing how I can set the data up as a data step though.</description>
      <pubDate>Fri, 22 May 2020 22:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/650046#M36110</guid>
      <dc:creator>SunTall</dc:creator>
      <dc:date>2020-05-22T22:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/650052#M36111</link>
      <description>Thank you so much Reeza this works</description>
      <pubDate>Sat, 23 May 2020 00:25:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/650052#M36111</guid>
      <dc:creator>SunTall</dc:creator>
      <dc:date>2020-05-23T00:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentage Change in Enterprise Guide 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/650092#M36112</link>
      <description>&lt;P&gt;Here are a couple of options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2013/01/21/turn-your-data-set-into-a-data-step-program/" target="_self"&gt;https://blogs.sas.com/content/sasdummy/2013/01/21/turn-your-data-set-into-a-data-step-program/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_self"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 14:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Calculating-Percentage-Change-in-Enterprise-Guide-7-1/m-p/650092#M36112</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2020-05-23T14:55:27Z</dc:date>
    </item>
  </channel>
</rss>

