<?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 proc tabulate sorting one class descending and the other ascending in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437548#M108969</link>
    <description>&lt;P&gt;It is possible to sort all classes descending:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC TABULATE DATA=AnalysisData;
   CLASS Y X /descending;
   TABLE Y, X * N;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is it also possible to sort one class descending and the other ascending?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2018 12:49:12 GMT</pubDate>
    <dc:creator>csetzkorn</dc:creator>
    <dc:date>2018-02-15T12:49:12Z</dc:date>
    <item>
      <title>proc tabulate sorting one class descending and the other ascending</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437548#M108969</link>
      <description>&lt;P&gt;It is possible to sort all classes descending:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC TABULATE DATA=AnalysisData;
   CLASS Y X /descending;
   TABLE Y, X * N;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is it also possible to sort one class descending and the other ascending?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 12:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437548#M108969</guid>
      <dc:creator>csetzkorn</dc:creator>
      <dc:date>2018-02-15T12:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate sorting one class descending and the other ascending</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437578#M108984</link>
      <description>Hi, your message titles asks for one thing (one class variable descending and the other ascending) and your message itself asks for something different (all classes descending). Which do you want? And do you have any data to post? What is all your code, including any ODS statements.&lt;BR /&gt;cynthia</description>
      <pubDate>Thu, 15 Feb 2018 13:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437578#M108984</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-02-15T13:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate sorting one class descending and the other ascending</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437597#M108990</link>
      <description>sorry I do not think so - if you read it again (-: I provided an example to show you that I did my homework, which shows sorting all classes but my requirement is to sort them asc and desc</description>
      <pubDate>Thu, 15 Feb 2018 14:40:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437597#M108990</guid>
      <dc:creator>csetzkorn</dc:creator>
      <dc:date>2018-02-15T14:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate sorting one class descending and the other ascending</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437647#M109019</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/99946"&gt;@csetzkorn&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;It is possible to sort all classes descending:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC TABULATE DATA=AnalysisData;
   CLASS Y X /descending;
   TABLE Y, X * N;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Is it also possible to sort one class descending and the other ascending?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes but you would use multiple class statements.&lt;/P&gt;
&lt;P&gt;Class y /descending;&lt;/P&gt;
&lt;P&gt;class x /ascending;&lt;/P&gt;
&lt;P&gt;And other orders could be used with the ORDER= option. Again a separate class statement would be used for different values of the option.&lt;/P&gt;
&lt;P&gt;class z/ order=freq;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437647#M109019</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-15T15:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate sorting one class descending and the other ascending</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437667#M109026</link>
      <description>Hi, sorry, somehow I missed the sentence under the slide.&lt;BR /&gt;  You only need to use 2 CLASS statements, as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt; shows.&lt;BR /&gt;cynthia</description>
      <pubDate>Thu, 15 Feb 2018 16:13:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437667#M109026</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-02-15T16:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate sorting one class descending and the other ascending</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437681#M109027</link>
      <description>Amazing did not know you can have separate class statements!</description>
      <pubDate>Thu, 15 Feb 2018 16:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437681#M109027</guid>
      <dc:creator>csetzkorn</dc:creator>
      <dc:date>2018-02-15T16:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate sorting one class descending and the other ascending</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437704#M109033</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/99946"&gt;@csetzkorn&lt;/a&gt; wrote:&lt;BR /&gt;Amazing did not know you can have separate class statements!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The you likely will find that you can also have multiple table, classlev and&amp;nbsp;var&amp;nbsp;statements helpful as well.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 17:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-sorting-one-class-descending-and-the-other/m-p/437704#M109033</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-15T17:34:45Z</dc:date>
    </item>
  </channel>
</rss>

