<?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: Proc Report Append Table in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202423#M4534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proc report is a function to create output not process data.&amp;nbsp; Use data step set statements or proc datasets append to get the data as you want prior to the proc report statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2015 14:48:49 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-04-23T14:48:49Z</dc:date>
    <item>
      <title>Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202421#M4532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;I am using SAS 9.2.&amp;nbsp; Is there a way to append a table using proc report?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:03:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202421#M4532</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-04-23T14:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202422#M4533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to append a table to a report created by PROC REPORT? Would help if you could add details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:11:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202422#M4533</guid>
      <dc:creator>PoornimaRavishankar</dc:creator>
      <dc:date>2015-04-23T14:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202423#M4534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proc report is a function to create output not process data.&amp;nbsp; Use data step set statements or proc datasets append to get the data as you want prior to the proc report statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202423#M4534</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-04-23T14:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202424#M4535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Rate of change.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10143_Rate of change.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to use a sql dataset like the one I marked up on the left to display a report like the image on the right?&amp;nbsp; The last two rows of the dataset would be displayed as rows in the report as well. Is proc report the right tool for this? Note I do not want to do any calculations in proc report like summing.&amp;nbsp; I will use the calculate function to color.&amp;nbsp; I’m not sure how to display the header ‘Fall 2014’ above the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202424#M4535</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-04-23T17:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202425#M4536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You only need a subset of the data at the right and then could use proc tabulate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if using proc report you could limit the data using a where clause though again I'd allow the proc to calculate the subtotal and totals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:09:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202425#M4536</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-04-23T17:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202426#M4537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The last two rows at the bottom are the complication.&amp;nbsp; The calculate line at the bottom calculates the rate of change of the totals compared to the previous year.&amp;nbsp; Each year is displayed in a separate column in the report.&amp;nbsp; I researched this for three weeks and did not see a way to use proc tabulate to display a trailing calculated summary row.&amp;nbsp; Proc report has the calculate function however it cannot calculate this level of complexity.&amp;nbsp; Therefore I have to create these rows manually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202426#M4537</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-04-23T17:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202427#M4538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then why not create the data set and use proc print?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202427#M4538</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-04-23T17:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202428#M4539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Does proc print have features like the proc report &lt;/SPAN&gt;&lt;SPAN style="background: white;"&gt;spanrows and the ability to null out header titles like in the above example?&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; color: black; background: white;"&gt;Can I color rows with it?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:31:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202428#M4539</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-04-23T17:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202429#M4540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I suspect that starting from the data used to make the summary on the left might work.&lt;/P&gt;&lt;P&gt;Or custom formats to display blanks for the values of Null, subtotal and total.&lt;/P&gt;&lt;P&gt;Where clause to exclude the values you don't want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would start with something like:&lt;/P&gt;&lt;P&gt;proc tabulate data=have;&lt;/P&gt;&lt;P&gt;where location in ('Off campus','On campus');&lt;/P&gt;&lt;P&gt;class location;&lt;/P&gt;&lt;P&gt;class gender_desc;&lt;/P&gt;&lt;P&gt;class academic_period_desc;&lt;/P&gt;&lt;P&gt;var sum; /*you'll get some warnings about using a variable that is a keyword*/&lt;/P&gt;&lt;P&gt;table location=''*(gender_desc='' all='') All='',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; academic_period_desc=''*sum=''*f=comma6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:41:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202429#M4540</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-23T17:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202430#M4541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; background: white;"&gt;I’m confused.&amp;nbsp; How does this solution display the last two calculated rows?&amp;nbsp; I can’t use an All to show these.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:45:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202430#M4541</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-04-23T17:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202431#M4542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is we're going off your pictures which isn't 100% of what you want, can you modify the images to actually show what you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:47:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202431#M4542</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-04-23T17:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202432#M4543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial',sans-serif; background: white;"&gt;Sorry, I can see how that caused a lot of confusion.&amp;nbsp; Below is a complete picture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Rate of change.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10144_Rate of change.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202432#M4543</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2015-04-23T17:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202433#M4544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, there are lots of advice above about using report/print/tabulate.&amp;nbsp; Personally I don't use any of them to do my outputs.&amp;nbsp; I start with an empty table the way I want the output to look, then insert the data, e.g.&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table WANT &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COL1 char(200),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COL2 char(200),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YEAR1 char(200),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set COL1="Off campus",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COL2="Female",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YEAR1=(select put(count(FALL_2010),best.) from HAVE where SEX="F"),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whilst the seems too much typing, then combine it with do loops/arrays, data _null_ and call execute and you can quickly build up large reports in a small datastep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 07:53:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202433#M4544</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-04-24T07:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202434#M4545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe LINE statement could help you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compute after;&lt;/P&gt;&lt;P&gt;line 'xxxxxxxxxxxx';&lt;/P&gt;&lt;P&gt;endcomp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 14:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202434#M4545</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-04-24T14:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Append Table</title>
      <link>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202435#M4546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I think that if you are going to go forward with pre-summarizing your data and want to be sure of the order and the highlighting, then you can get what you want. Assuming that you have a whole other set of ROWS for every year, allowed me to use ACROSS as the usage for the Academic Period, but also meant that the format change had to be done with absolute column numbers.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="hilite_report.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10160_hilite_report.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I made some "fake" data to show you the helper variable ROWORD that I made to help simplify the highlighting. Since you did not show the structure of your input data, for multiple years, I made some data for multiple years. In order to simplify the percents, I divided the percent number in the last row by 100 because then I could use a predefined percent format which would do an automatic multiply by 100. Also, in some of the places where you had Null, I "filled" in with values to simplify using GROUP usage in PROC REPORT. Here's the code that produced the above screen shot.&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;** make some data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;** because so many "nulls", needed to make a helper variable to establish the ORDER of the data;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;** so it was the same for every year and also needed to populate LOC with the right value instead of "Null";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;** also need to modify the table if using multiple years;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;** copied some numbers for 2013;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;data only2013_2014;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; length loc $25 gender $20 acad_per_des $20;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; infile datalines dlm=',' dsd;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; input roword loc $ gender $ acad_per_des $ val ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; ** adjust the percent so we can use the percentn format (which multiplies by 100);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; if roword = 11 then val = val / 100;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;datalines;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;1,"Off campus", Female, "Fall 2014", 882&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;2,"Off campus", Male, "Fall 2014", 308&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;3,"Off campus",N/R,"Fall 2014",254&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;4,"Off campus",Subtotal,Fall 2014,1444&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;5,"On campus",Female, "Fall 2014", 16783&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;6,"On campus",Male, "Fall 2014",12711&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;7,"On campus",N/R,"Fall 2014",135&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;8,"On campus",Subtotal,"Fall 2014",29719&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;9,Total,Total,"Fall 2014",31163&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;10,"Rate of Change calc1",Null,"Fall 2014", -125&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;11,"Rate of Change calc2",Null,"Fall 2014",-0.40&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;1,"Off campus", Female, "Fall 2013", 818&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;2,"Off campus", Male, "Fall 2013", 342&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;3,"Off campus",N/R,"Fall 2013",236&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;4,"Off campus",Subtotal,Fall 2013,1396&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;5,"On campus",Female, "Fall 2013", 16974&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;6,"On campus",Male, "Fall 2013",12791&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;7,"On campus",N/R,"Fall 2013",127&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;8,"On campus",Subtotal,"Fall 2013",29892&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;9,Total,Total,"Fall 2013",31288&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;10,"Rate of Change calc1",Null,"Fall 2013", -464&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;11,"Rate of Change calc2",Null,"Fall 2013",-1.46&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html file='c:\temp\hilite.html';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc report data=only2013_2014 nowd;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; title '1) change style based on row type show ROWORD variable';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; column&amp;nbsp; loc gender roword val,acad_per_des ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define loc / group order=data ' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define gender / group order=data ' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define roword / group order=data&amp;nbsp;&amp;nbsp; ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define acad_per_des / across;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define val / sum analysis ' ' f=comma8.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; compute roword;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if roword in (4, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; then do;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define (_row_,'style','style={background=lightblue}');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; else if roword in (9,10,11) then do;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define (_row_,'style','style={background=yellow}');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; compute gender;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if loc = 'Total' then gender = ' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if gender = 'Null' then gender = ' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; compute val;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if roword = 11 then do;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define ('_c4_','format','percentn10.2}');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define ('_c5_','format','percentn10.2}');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc report data=only2013_2014 nowd;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; title '2) change style based on row type use NOPRINT for ROWORD variable';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; column&amp;nbsp; loc gender roword val,acad_per_des ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define loc / group order=data ' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define gender / group order=data ' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define roword / group order=data noprint&amp;nbsp; ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define acad_per_des / across ' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; define val / sum analysis ' ' f=comma8.;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; compute roword;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if roword in (4, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; then do;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define (_row_,'style','style={background=lightblue}');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; else if roword in (9,10,11) then do;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define (_row_,'style','style={background=yellow}');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; compute gender;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if loc = 'Total' then gender = ' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if gender = 'Null' then gender = ' ';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; compute val;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if roword = 11 then do;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define ('_c4_','format','percentn10.2}');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call define ('_c5_','format','percentn10.2}');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; endcomp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods html close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 19:32:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Proc-Report-Append-Table/m-p/202435#M4546</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-04-24T19:32:53Z</dc:date>
    </item>
  </channel>
</rss>

