<?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: Insert blank row when dealing with ACROSS in proc report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532033#M145744</link>
    <description>&lt;P&gt;If you want to post images so that users can see your issue use the Photos icon in the editor tool bar.&amp;nbsp; &amp;nbsp;Most users will not want to download files.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Feb 2019 15:18:54 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-02-01T15:18:54Z</dc:date>
    <item>
      <title>Insert blank row when dealing with ACROSS in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532022#M145738</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on PROC REPORT with across statement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to insert a blank row after each group which is defined by var3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I want to get a table in 1.png&lt;/P&gt;&lt;P&gt;Below is my proc report code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=mydata nocenter missing headline headskip split="\" spacing=0 FORMCHAR='|_---|+|---+=|-/\&amp;lt;&amp;gt;*' nowindows;

  column  var4  var3  var2,var1,var5,var6  dummy;
 
  define var4/group order=data left flow width=8 "name" id;
  define var3/ group noprint;

  define var2/'' across order=data ;
  define var1/'' across order=data ;
  define var5/ '' across order=data ;
  define var6/'' display left  width=6;
  define dummy/ noprint;

  compute dummy;     
	dummy = 1;   
  endcomp;

  break after var3/ skip;

  compute before _page_;
    line "_";
  endcomp;
  compute after _page_;
    line "_";
  endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But what I can get are in part1.png and part2.png&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I have 2 questions:&lt;/P&gt;&lt;P&gt;1, why there is no blank row was inserted into the output?&lt;/P&gt;&lt;P&gt;2, how to control the blank row to show the output in 1.png? The skip break should depend on var3 instead of var4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PNGs are in the zip file.&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 14:52:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532022#M145738</guid>
      <dc:creator>Coooooo_Lee</dc:creator>
      <dc:date>2019-02-01T14:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row when dealing with ACROSS in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532023#M145739</link>
      <description>&lt;P&gt;Data was attached here. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 14:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532023#M145739</guid>
      <dc:creator>Coooooo_Lee</dc:creator>
      <dc:date>2019-02-01T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row when dealing with ACROSS in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532033#M145744</link>
      <description>&lt;P&gt;If you want to post images so that users can see your issue use the Photos icon in the editor tool bar.&amp;nbsp; &amp;nbsp;Most users will not want to download files.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 15:18:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532033#M145744</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-02-01T15:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row when dealing with ACROSS in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532067#M145755</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many people here can't open your attachments because of the restrictions they have. Please try to provide your data in the form of a data step and any images can be directly inserted here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26759i309C3CCFF3E8BCDC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Check this how to add a line after a group;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.cars(obs=50);
column make invoice msrp pct;
define make / group;
define pct / computed format=percent8.2 'PCT';
compute pct;
pct = invoice.sum / msrp.sum;
endcomp;
compute after make;
line ' ';
endcomp;
run; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 16:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532067#M145755</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2019-02-01T16:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row when dealing with ACROSS in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532251#M145836</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26786i1FA19401AFED57FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;STRONG&gt;Above is what I want to get.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is how the outputs looks like.&lt;/STRONG&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-center" image-alt="part1.PNG" style="width: 519px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26787iAEAC4AAC966CBEE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="part1.PNG" alt="part1.PNG" /&gt;&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-center" image-alt="part2.PNG" style="width: 505px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26788i407E46D6DE788D26/image-size/large?v=v2&amp;amp;px=999" role="button" title="part2.PNG" alt="part2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 01:27:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532251#M145836</guid>
      <dc:creator>Coooooo_Lee</dc:creator>
      <dc:date>2019-02-02T01:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row when dealing with ACROSS in proc report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532255#M145839</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your comments&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I got the answer which is simple.&lt;/P&gt;&lt;P&gt;VAR3 should be defined before VAR4!&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 03:57:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insert-blank-row-when-dealing-with-ACROSS-in-proc-report/m-p/532255#M145839</guid>
      <dc:creator>Coooooo_Lee</dc:creator>
      <dc:date>2019-02-02T03:57:41Z</dc:date>
    </item>
  </channel>
</rss>

