<?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: question about proc tabulate in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/question-about-proc-tabulate/m-p/10085#M906</link>
    <description>I've found the solution&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
value $ans &lt;B&gt;(notsorted&lt;/B&gt;) 'Important'='Important'&lt;BR /&gt;
'fairly important'='fairly important'&lt;BR /&gt;
'Not important'='Not important' &lt;BR /&gt;
'NA'='Not available'&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
PROC TABULATE DATA=file;&lt;BR /&gt;
CLASS score / &lt;B&gt;missing PRELOADFMT ORDER=data;&lt;/B&gt;&lt;BR /&gt;
keyword N colpctn;&lt;BR /&gt;
TABLE &lt;BR /&gt;
score=' '&lt;BR /&gt;
all='Total',&lt;BR /&gt;
(all=' ')*(N colPctN='%') /style=[cellpadding=7 cellspacing=0]&lt;BR /&gt;
misstext='0';&lt;BR /&gt;
format score $ans.;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
I hope that could be useful ..&lt;BR /&gt;
regards</description>
    <pubDate>Thu, 09 Jun 2011 13:05:44 GMT</pubDate>
    <dc:creator>L_L</dc:creator>
    <dc:date>2011-06-09T13:05:44Z</dc:date>
    <item>
      <title>question about proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/question-about-proc-tabulate/m-p/10084#M905</link>
      <description>Dear all&lt;BR /&gt;
&lt;BR /&gt;
hereafter you'll find my code:&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;proc format;&lt;BR /&gt;
	value $ans                  'Important'='Important'&lt;BR /&gt;
                                                     'fairly important'='fairly important'&lt;BR /&gt;
	                                   'Not important'='Not important' &lt;BR /&gt;
                                                    'NA'='Not available'&lt;BR /&gt;
						 ;&lt;BR /&gt;
run;&lt;BR /&gt;
PROC TABULATE DATA=file;&lt;BR /&gt;
	CLASS score / missing ORDER=formatted;&lt;BR /&gt;
	keyword N colpctn;&lt;BR /&gt;
    TABLE  &lt;BR /&gt;
        score=' '&lt;BR /&gt;
        all='Total',&lt;BR /&gt;
       (all=' ')*(N colPctN='%') /style=[cellpadding=7 cellspacing=0]&lt;BR /&gt;
        misstext='0';&lt;BR /&gt;
       format score $ans.;&lt;BR /&gt;
RUN;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
I would like to have in the output table the variable "score" in the following order: Important  - Fairly Important -  Not important -  Not avaliable (the same given in proc format).&lt;BR /&gt;
I suppose the option ORDER=formatted is not what I need: could anyone help me?&lt;BR /&gt;
&lt;BR /&gt;
Thank in advance</description>
      <pubDate>Thu, 09 Jun 2011 11:35:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/question-about-proc-tabulate/m-p/10084#M905</guid>
      <dc:creator>L_L</dc:creator>
      <dc:date>2011-06-09T11:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: question about proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/question-about-proc-tabulate/m-p/10085#M906</link>
      <description>I've found the solution&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
value $ans &lt;B&gt;(notsorted&lt;/B&gt;) 'Important'='Important'&lt;BR /&gt;
'fairly important'='fairly important'&lt;BR /&gt;
'Not important'='Not important' &lt;BR /&gt;
'NA'='Not available'&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
PROC TABULATE DATA=file;&lt;BR /&gt;
CLASS score / &lt;B&gt;missing PRELOADFMT ORDER=data;&lt;/B&gt;&lt;BR /&gt;
keyword N colpctn;&lt;BR /&gt;
TABLE &lt;BR /&gt;
score=' '&lt;BR /&gt;
all='Total',&lt;BR /&gt;
(all=' ')*(N colPctN='%') /style=[cellpadding=7 cellspacing=0]&lt;BR /&gt;
misstext='0';&lt;BR /&gt;
format score $ans.;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
I hope that could be useful ..&lt;BR /&gt;
regards</description>
      <pubDate>Thu, 09 Jun 2011 13:05:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/question-about-proc-tabulate/m-p/10085#M906</guid>
      <dc:creator>L_L</dc:creator>
      <dc:date>2011-06-09T13:05:44Z</dc:date>
    </item>
  </channel>
</rss>

