<?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: across variable in proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22351#M3955</link>
    <description>Thanks for clarification.</description>
    <pubDate>Sat, 31 May 2008 02:12:51 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-05-31T02:12:51Z</dc:date>
    <item>
      <title>across variable in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22347#M3951</link>
      <description>Hello&lt;BR /&gt;
I have a question : when my variable mean1 is numeric, there is not any problem and the reporting is OK :&lt;BR /&gt;
&lt;BR /&gt;
ods rtf file="myway.rtf" startpage=yes;&lt;BR /&gt;
&lt;BR /&gt;
proc report data=statdes   split="~" Headline Headskip  nowd;&lt;BR /&gt;
column time group,( mean1 );&lt;BR /&gt;
define time    /group id ;&lt;BR /&gt;
define group     /across ;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf close;&lt;BR /&gt;
&lt;BR /&gt;
but if the variable mean1 is character, the following error message appears in log :&lt;BR /&gt;
ERROR: There is no statistic associated with mean1.&lt;BR /&gt;
&lt;BR /&gt;
so how can i solve this problem ?&lt;BR /&gt;
Do you have any ideas ?&lt;BR /&gt;
Thank you for your help and devices.</description>
      <pubDate>Fri, 30 May 2008 09:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22347#M3951</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-05-30T09:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: across variable in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22348#M3952</link>
      <description>Hello,&lt;BR /&gt;
Looking on syntax in column statement, I suppose you want to sum mean1 for each value of group.</description>
      <pubDate>Fri, 30 May 2008 14:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22348#M3952</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-05-30T14:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: across variable in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22349#M3953</link>
      <description>No, vasile, want i want to do is only to easily displayed my datas when my variabme mean1 is character &lt;BR /&gt;
 to quote an example this a dataset :&lt;BR /&gt;
&lt;BR /&gt;
data statdes_;&lt;BR /&gt;
do time=1 to 5;&lt;BR /&gt;
group=  "A"; value="276.20±6.56(N=10)";&lt;BR /&gt;
output;&lt;BR /&gt;
group=  "B"; value="322.35±1.28(N=12)";&lt;BR /&gt;
output;&lt;BR /&gt;
group=  "C"; value="441.26±8.53(N=8)";&lt;BR /&gt;
output;&lt;BR /&gt;
group=  "D"; value="282.20±4.11(N=11)";&lt;BR /&gt;
output;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
and i want to display only with a proc report my datas for time in the first column and the character variable value for the 4 differents groups, so my question is that it's ok if my variable value is numeric but if my variable value is character as shown in this example, i try to find a way to display the datas so may be there is an option that i don't know ? or another way to obtain what i want..?&lt;BR /&gt;
thank you for your help. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf file="myway.rtf" startpage=yes;&lt;BR /&gt;
&lt;BR /&gt;
proc report data=statdes split="~" Headline Headskip nowd;&lt;BR /&gt;
column time group,( value );&lt;BR /&gt;
define time /group id ;&lt;BR /&gt;
define group /across ;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods rtf close;</description>
      <pubDate>Fri, 30 May 2008 15:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22349#M3953</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-05-30T15:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: across variable in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22350#M3954</link>
      <description>Hi:&lt;BR /&gt;
  In the PROC REPORT doc on the DEFINE statement, there is a section called "Interactions of Usage and Position" or "Interactions of Position and Usage" that has a table showing which how different types of variables work together (Across, Display, Order, etc)....&lt;BR /&gt;
  I'm pretty sure there's a note there about having DISPLAY variables with ACROSS (when you define MEAN1 as a character variable -- it's essentially a DISPLAY variable), then I believe that's the situation you're in. Generally, an ACROSS report is a summary report and it's very hard to summarize a character variable.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 30 May 2008 15:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22350#M3954</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-05-30T15:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: across variable in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22351#M3955</link>
      <description>Thanks for clarification.</description>
      <pubDate>Sat, 31 May 2008 02:12:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22351#M3955</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-05-31T02:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: across variable in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22352#M3956</link>
      <description>thank you cynthia for your answer, but in fact what i want to do is not to summarize a character variable but only to display it using an across variable.</description>
      <pubDate>Tue, 03 Jun 2008 09:13:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22352#M3956</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-03T09:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: across variable in proc report/display, across, group</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22353#M3957</link>
      <description>Maybe this will answer your question:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/59565/PDF/default/proc.pdf" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/59565/PDF/default/proc.pdf&lt;/A&gt;&lt;BR /&gt;
page 936</description>
      <pubDate>Tue, 03 Jun 2008 13:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22353#M3957</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-03T13:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: across variable in proc report/display, across, group</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22354#M3958</link>
      <description>Hi:&lt;BR /&gt;
  In particular, look at this note at the bottom of the table on page 936:&lt;BR /&gt;
&lt;B&gt;&lt;BR /&gt;
*When a display variable and an across variable share a column, the report must also contain another variable that is&lt;BR /&gt;
not in the same column.&lt;/B&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 03 Jun 2008 13:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22354#M3958</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-06-03T13:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: across variable in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22355#M3959</link>
      <description>Montpe,&lt;BR /&gt;
&lt;BR /&gt;
This may be a month too late, but try this:&lt;BR /&gt;
&lt;BR /&gt;
data statdes_;&lt;BR /&gt;
do time=1 to 5;&lt;BR /&gt;
group= "A"; value="276.20±6.56(N=10)"; dummy=1;&lt;BR /&gt;
output;&lt;BR /&gt;
group= "B"; value="322.35±1.28(N=12)"; dummy=1;&lt;BR /&gt;
output;&lt;BR /&gt;
group= "C"; value="441.26±8.53(N=8)"; dummy=1;&lt;BR /&gt;
output;&lt;BR /&gt;
group= "D"; value="282.20±4.11(N=11)"; dummy=1;&lt;BR /&gt;
output;&lt;BR /&gt;
end;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc report data=statdes_ split="~" Headline Headskip nowd;&lt;BR /&gt;
column time group,( value dummy);&lt;BR /&gt;
define time /group id ;&lt;BR /&gt;
define group /across ;&lt;BR /&gt;
define dummy / analysis noprint;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
-David</description>
      <pubDate>Thu, 10 Jul 2008 18:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22355#M3959</guid>
      <dc:creator>dschmeid</dc:creator>
      <dc:date>2008-07-10T18:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: across variable in proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22356#M3960</link>
      <description>thank you dschmeid (your name is not really easy to write &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )</description>
      <pubDate>Thu, 31 Jul 2008 10:01:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/across-variable-in-proc-report/m-p/22356#M3960</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-31T10:01:38Z</dc:date>
    </item>
  </channel>
</rss>

