<?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: Displaying a Value Across Columns in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-Value-Across-Columns/m-p/352210#M18378</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default the number of rows is displayed. You can use nesting like this classVar, analysisVar or the other way round.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the code sample also show how to use the same column more than once by giving it an alias, this allows you to define each column individually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;code sample:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.cars;
  column type origin, invoice invoice=invoice2, origin=origin2;
  define type / group;
  define origin / across;
  define origin2 / across;
  define invoice / analysis sum format=comma12.;
  define invoice2 / analysis sum format=commax12.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2017 15:21:56 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2017-04-21T15:21:56Z</dc:date>
    <item>
      <title>Displaying a Value Across Columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-Value-Across-Columns/m-p/352196#M18377</link>
      <description>&lt;P&gt;How do I display a value across columns, in this case column percent?&amp;nbsp; I am trying to replace the ones with values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data=CombinedpctTable;&lt;BR /&gt;column MINORITY_STATUS academic_period_desc;&lt;BR /&gt;define percent / analysis sum /*format=percent8.*/;&lt;BR /&gt;define MINORITY_STATUS /group;&lt;BR /&gt;define academic_period_desc /across;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp; ACADEMIC_PERIOD_DESC MINORITY_STATUS Fall 2011 Fall 2012 Fall 2013 Fall 2014 Fall 2015 Fall 2016 &lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Minority&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 14:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-Value-Across-Columns/m-p/352196#M18377</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2017-04-21T14:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a Value Across Columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-Value-Across-Columns/m-p/352210#M18378</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default the number of rows is displayed. You can use nesting like this classVar, analysisVar or the other way round.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the code sample also show how to use the same column more than once by giving it an alias, this allows you to define each column individually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;code sample:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.cars;
  column type origin, invoice invoice=invoice2, origin=origin2;
  define type / group;
  define origin / across;
  define origin2 / across;
  define invoice / analysis sum format=comma12.;
  define invoice2 / analysis sum format=commax12.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 15:21:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-Value-Across-Columns/m-p/352210#M18378</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-04-21T15:21:56Z</dc:date>
    </item>
  </channel>
</rss>

