<?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: how to group or order a  variable if it is used analysis in define statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-group-or-order-a-variable-if-it-is-used-analysis-in/m-p/395041#M95214</link>
    <description>&lt;P&gt;options missing = "" ls=200;&lt;BR /&gt;proc report data = rep nowd split = "¤" headline missing contents = "" out=rep1;&lt;BR /&gt;column param actarmn actarm timevar (' ' Ntot) anrind, (count pctc ) a1ind, (count2 pctc2 ) dummy ;&lt;BR /&gt;define param / group style(header)={just=left cellwidth=4.5cm} style(column)=IdColIndent2{asis=on} "Parameter" ;&lt;BR /&gt;define actarmn / group order=internal noprint;&lt;BR /&gt;define actarm / group style(header)={just=left cellwidth=2cm} style(column)=IdColIndent2{asis=on} "Treatment Group";&lt;BR /&gt;define timevar /group order=data style={just=right cellwidth=2cm} "Week";&lt;BR /&gt;define anrind /across order=data style={just=left} "Normal Range";&lt;BR /&gt;define Ntot / analysis "N" style={just=right cellwidth=0.81346153846152cm} ;&lt;BR /&gt;define dummy /noprint;&lt;BR /&gt;define a1ind /across order=data style={just=left} "PCS";&lt;BR /&gt;define count /analysis order=internal group sum style={just=right cellwidth=0.81346153846152cm} "n";&lt;BR /&gt;define count2 /analysis order=internal group sum style={just=right cellwidth=0.81346153846152cm} "n";&lt;BR /&gt;define pctc /display order=internal group style={just=right cellwidth=1.08461538461536cm} "(%)";&lt;BR /&gt;define pctc2 /display order=internal group style={just=right cellwidth=1.08461538461536cm} "(%)";&lt;BR /&gt;compute before;&lt;BR /&gt;line @1 ' ';&lt;BR /&gt;endcomp;&lt;/P&gt;
&lt;P&gt;compute after actarmn;&lt;BR /&gt;line ' ';&lt;BR /&gt;endcomp;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2017 09:08:45 GMT</pubDate>
    <dc:creator>vraj1</dc:creator>
    <dc:date>2017-09-12T09:08:45Z</dc:date>
    <item>
      <title>how to group or order a  variable if it is used analysis in define statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-group-or-order-a-variable-if-it-is-used-analysis-in/m-p/395039#M95212</link>
      <description>&lt;P&gt;how to group or order a &amp;nbsp;variable if it is used analysis in define statement in proc report.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 09:01:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-group-or-order-a-variable-if-it-is-used-analysis-in/m-p/395039#M95212</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2017-09-12T09:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to group or order a  variable if it is used analysis in define statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-group-or-order-a-variable-if-it-is-used-analysis-in/m-p/395040#M95213</link>
      <description>&lt;P&gt;Please post the report code you already have, so we can have an idea where to change it.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 09:06:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-group-or-order-a-variable-if-it-is-used-analysis-in/m-p/395040#M95213</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-12T09:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to group or order a  variable if it is used analysis in define statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-group-or-order-a-variable-if-it-is-used-analysis-in/m-p/395041#M95214</link>
      <description>&lt;P&gt;options missing = "" ls=200;&lt;BR /&gt;proc report data = rep nowd split = "¤" headline missing contents = "" out=rep1;&lt;BR /&gt;column param actarmn actarm timevar (' ' Ntot) anrind, (count pctc ) a1ind, (count2 pctc2 ) dummy ;&lt;BR /&gt;define param / group style(header)={just=left cellwidth=4.5cm} style(column)=IdColIndent2{asis=on} "Parameter" ;&lt;BR /&gt;define actarmn / group order=internal noprint;&lt;BR /&gt;define actarm / group style(header)={just=left cellwidth=2cm} style(column)=IdColIndent2{asis=on} "Treatment Group";&lt;BR /&gt;define timevar /group order=data style={just=right cellwidth=2cm} "Week";&lt;BR /&gt;define anrind /across order=data style={just=left} "Normal Range";&lt;BR /&gt;define Ntot / analysis "N" style={just=right cellwidth=0.81346153846152cm} ;&lt;BR /&gt;define dummy /noprint;&lt;BR /&gt;define a1ind /across order=data style={just=left} "PCS";&lt;BR /&gt;define count /analysis order=internal group sum style={just=right cellwidth=0.81346153846152cm} "n";&lt;BR /&gt;define count2 /analysis order=internal group sum style={just=right cellwidth=0.81346153846152cm} "n";&lt;BR /&gt;define pctc /display order=internal group style={just=right cellwidth=1.08461538461536cm} "(%)";&lt;BR /&gt;define pctc2 /display order=internal group style={just=right cellwidth=1.08461538461536cm} "(%)";&lt;BR /&gt;compute before;&lt;BR /&gt;line @1 ' ';&lt;BR /&gt;endcomp;&lt;/P&gt;
&lt;P&gt;compute after actarmn;&lt;BR /&gt;line ' ';&lt;BR /&gt;endcomp;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 09:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-group-or-order-a-variable-if-it-is-used-analysis-in/m-p/395041#M95214</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2017-09-12T09:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to group or order a  variable if it is used analysis in define statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-group-or-order-a-variable-if-it-is-used-analysis-in/m-p/395549#M95427</link>
      <description>&lt;P&gt;option ORDER= ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class nowd;
column sex age;
define sex/group;
define age/analysis sum order=data;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-group-or-order-a-variable-if-it-is-used-analysis-in/m-p/395549#M95427</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-09-13T14:02:40Z</dc:date>
    </item>
  </channel>
</rss>

