<?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 Working with PROC REPORT!! in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Working-with-PROC-REPORT/m-p/853399#M37546</link>
    <description>&lt;PRE&gt;&lt;CODE class=""&gt;PROC REPORT DATA=FINAL_RESULT nowd spanrows
style(report)=[JUST=CENTER OUTPUTWIDTH=95% CELLSPACING=2 BORDERCOLOR=BLACK BORDERWIDTH=2]
STYLE(HEADER)={BORDERCOLOR=BLACK FOREGROUND=WHITE BACKGROUND=MAROON FONT=("zurich BT",11pt)}
STYLE(COLUMN)={TAGATTR="WRAP" JUST=CENTER FONT=("zurich BT",08pt) OUTPUTWIDTH=0.05IN BACKGROUND=LIGHTYELLOW
FOREGROUND=BLACK BORDERCOLOR=BLACK};
TITLE FONT="Zurich BT" bold height=6 "&amp;lt;U&amp;gt;Date wise :&amp;lt;/U&amp;gt;" JUSTIFY=LEFT;

 

column Emp_Code DATE_OF_APPROVAL N TOTAL_COUNT;

 

define Emp_Code/DISPLAY "Employee Code" width=20  group order order=data style(column)=[font=("zurich BT",11pt)];
define DATE_OF_APPROVAL/DISPLAY "DOA" width=10 style(column)=[font=("zurich BT",11pt)];
define N/ANALYSIS "Count datewise" format=comma11. style(column)=[TAGATTR="WRAP" JUST=RIGHT font=("zurich BT",11pt)];
define TOTAL_COUNT/ANALYSIS "Total Qr Deployed" format=comma11. style(column)=[TAGATTR="WRAP" JUST=RIGHT font=("zurich BT",11pt)];


rbreak after /summarize ol skip;
compute after;
       if _BREAK_ eq '_RBREAK_' then do; 
        RESPYM = 'Total';
        CALL DEFINE(_ROW_ ,"style","style=[BACKGROUND=MAROON FOREGROUND=WHITE]");
    end;
endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I was using the above code to get the desired result but it didn't work the way I wanted it to be.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirito1_0-1673504783366.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79305iCEF838CBEC1284BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirito1_0-1673504783366.png" alt="Kirito1_0-1673504783366.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The output I want is something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirito1_1-1673504970953.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79306iA1665582FD570904/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirito1_1-1673504970953.png" alt="Kirito1_1-1673504970953.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So How can I get those dates up there as&amp;nbsp; columns in proc report? Can someone help......&lt;/P&gt;&lt;P&gt;Thanks in advance to all the contributors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 07:17:31 GMT</pubDate>
    <dc:creator>Kirito1</dc:creator>
    <dc:date>2023-01-12T07:17:31Z</dc:date>
    <item>
      <title>Working with PROC REPORT!!</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Working-with-PROC-REPORT/m-p/853399#M37546</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;PROC REPORT DATA=FINAL_RESULT nowd spanrows
style(report)=[JUST=CENTER OUTPUTWIDTH=95% CELLSPACING=2 BORDERCOLOR=BLACK BORDERWIDTH=2]
STYLE(HEADER)={BORDERCOLOR=BLACK FOREGROUND=WHITE BACKGROUND=MAROON FONT=("zurich BT",11pt)}
STYLE(COLUMN)={TAGATTR="WRAP" JUST=CENTER FONT=("zurich BT",08pt) OUTPUTWIDTH=0.05IN BACKGROUND=LIGHTYELLOW
FOREGROUND=BLACK BORDERCOLOR=BLACK};
TITLE FONT="Zurich BT" bold height=6 "&amp;lt;U&amp;gt;Date wise :&amp;lt;/U&amp;gt;" JUSTIFY=LEFT;

 

column Emp_Code DATE_OF_APPROVAL N TOTAL_COUNT;

 

define Emp_Code/DISPLAY "Employee Code" width=20  group order order=data style(column)=[font=("zurich BT",11pt)];
define DATE_OF_APPROVAL/DISPLAY "DOA" width=10 style(column)=[font=("zurich BT",11pt)];
define N/ANALYSIS "Count datewise" format=comma11. style(column)=[TAGATTR="WRAP" JUST=RIGHT font=("zurich BT",11pt)];
define TOTAL_COUNT/ANALYSIS "Total Qr Deployed" format=comma11. style(column)=[TAGATTR="WRAP" JUST=RIGHT font=("zurich BT",11pt)];


rbreak after /summarize ol skip;
compute after;
       if _BREAK_ eq '_RBREAK_' then do; 
        RESPYM = 'Total';
        CALL DEFINE(_ROW_ ,"style","style=[BACKGROUND=MAROON FOREGROUND=WHITE]");
    end;
endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I was using the above code to get the desired result but it didn't work the way I wanted it to be.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirito1_0-1673504783366.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79305iCEF838CBEC1284BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirito1_0-1673504783366.png" alt="Kirito1_0-1673504783366.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The output I want is something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kirito1_1-1673504970953.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79306iA1665582FD570904/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kirito1_1-1673504970953.png" alt="Kirito1_1-1673504970953.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So How can I get those dates up there as&amp;nbsp; columns in proc report? Can someone help......&lt;/P&gt;&lt;P&gt;Thanks in advance to all the contributors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 07:17:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Working-with-PROC-REPORT/m-p/853399#M37546</guid>
      <dc:creator>Kirito1</dc:creator>
      <dc:date>2023-01-12T07:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Working with PROC REPORT!!</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Working-with-PROC-REPORT/m-p/853402#M37547</link>
      <description>&lt;P&gt;You need to define the date as an ACROSS variable and combine it with the variable which should appear under it:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;column emp_code n,date_of_approval;
define emp_code / group;
define n / analysis;
define date_of_approval / across;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is, of course, untested and just a suggestion. For detailed help, provide example data in a working data step with datalines.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 07:22:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Working-with-PROC-REPORT/m-p/853402#M37547</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-12T07:22:44Z</dc:date>
    </item>
  </channel>
</rss>

