<?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: proc report in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834403#M41447</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Rather than running 2 PROC REPORTS, my tendency would be to create 1 table from the original WORK.THREE dataset, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1663713095530.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75418iA8A4D8132D7BDE7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1663713095530.png" alt="Cynthia_sas_0-1663713095530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Of course I'm not sure I understand the original data anyway or why red and blue are the same for both sections but green and black are different. But anyway, this is my take on it.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 22:32:46 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2022-09-20T22:32:46Z</dc:date>
    <item>
      <title>proc report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834259#M41440</link>
      <description>&lt;P&gt;it's possible to create proc report ?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data three;
	infile datalines;
	input a $ b $ x $ y $ z $ m $;
return;
datalines;
AA 21 22 23 24 25
AB 26 27 28 29 30
;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;First is output on my query and second table i want .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1663672219478.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75390iBD8097E5A7F3A5E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1663672219478.png" alt="Daily1_0-1663672219478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 11:16:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834259#M41440</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2022-09-20T11:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834260#M41441</link>
      <description>&lt;P&gt;Explain how the original data is converted to this report. Don't make us guess. You know the logic used, tell us.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 11:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834260#M41441</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-20T11:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834264#M41442</link>
      <description>&lt;P&gt;i want append two proc report&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data three;
	infile datalines;
	input a $ b $ x $ y $ z $ m $;
return;
datalines;
AA 21 22 23 24 25
AB 26 27 28 29 30
;
run;

data have;
 set three;
 group='color1';
 group1='color2';
run;

proc report data=have ;
column group ('red' a) ('blue' b) ('green' x) ('black' y);
define group /group noprint;
Compute before group;
Line @1 group $50.;
endcomp;
run;

proc report data=have ;
column group1 ('red' a) ('blue' b) ('green' z) ('black' m);
define group1 /group noprint;
Compute before group1;
Line @1 group1 $50.;
endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Sep 2022 11:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834264#M41442</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2022-09-20T11:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834270#M41443</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file='test.xlsx' options(sheet_interval='NONE');
proc report data=have ;
column group ('red' a) ('blue' b) ('green' x) ('black' y);
define group /group noprint;
Compute before group;
Line @1 group $50.;
endcomp;
run;

proc report data=have ;
column group1 ('red' a) ('blue' b) ('green' z) ('black' m);
define group1 /group noprint;
Compute before group1;
Line @1 group1 $50.;
endcomp;
run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Sep 2022 11:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834270#M41443</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-20T11:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834271#M41444</link>
      <description>&lt;P&gt;I think you need re-organize your data .&lt;/P&gt;
&lt;P&gt;It is impossible to get job done in one report.&lt;/P&gt;
&lt;P&gt;Maybe&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp; know something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data three;
	infile datalines;
	input a $ b $ x $ y $ z $ m $;
return;
datalines;
AA 21 22 23 24 25
AB 26 27 28 29 30
;
run;

ods excel file='c:\temp\temp.xlsx' options(sheet_interval='none');
proc report data=three nowd;
define a/display;
define b/display id;
define z/display page;
run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1663675182609.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75394i6C4738A63918DC34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1663675182609.png" alt="Ksharp_0-1663675182609.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 11:59:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834271#M41444</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-09-20T11:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834403#M41447</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Rather than running 2 PROC REPORTS, my tendency would be to create 1 table from the original WORK.THREE dataset, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1663713095530.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75418iA8A4D8132D7BDE7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1663713095530.png" alt="Cynthia_sas_0-1663713095530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Of course I'm not sure I understand the original data anyway or why red and blue are the same for both sections but green and black are different. But anyway, this is my take on it.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 22:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report/m-p/834403#M41447</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-09-20T22:32:46Z</dc:date>
    </item>
  </channel>
</rss>

