<?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: Disappearing Row After Proc Report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Disappearing-Row-After-Proc-Report/m-p/528267#M144161</link>
    <description>&lt;P&gt;Please post code using running-man icon to increase readability.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using the option "missing" in proc report statement?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jan 2019 08:32:52 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2019-01-18T08:32:52Z</dc:date>
    <item>
      <title>Disappearing Row After Proc Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disappearing-Row-After-Proc-Report/m-p/528263#M144157</link>
      <description>&lt;DIV&gt;&amp;nbsp;Hi, I want to get the grand totals and subtotals of my HAVE dataset depending on the levels of my fields.&lt;/DIV&gt;
&lt;DIV&gt;But let's say my HAVE dataset have null values for the other sublevels. After I execute the PROC REPORT, the level with incomplete sublevels disappear.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;In the dataset below, the first row disappears after running PROC REPORT. I'd like to know how can I retain this level (Level_1 = Grandfather) with missing sublevels. Thank you!&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;/*Disappearing Row*/&lt;/DIV&gt;
&lt;DIV&gt;data have;&lt;BR /&gt;input Group_Name :$20. Level_1 :$20. Level_2 :$20. Level_3 :$20. num;&lt;BR /&gt;datalines;&lt;BR /&gt;Group_a Grandfather . . 10&lt;BR /&gt;Group_a Grandmother Mother Daughter 90&lt;BR /&gt;Group_a Grandmother Father Daughter 80&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;/*Get Subtotals For Each Report Level and Grand Total*/&lt;BR /&gt;ods select none;&lt;BR /&gt;proc report data=have out=dontwant nowd;&lt;BR /&gt;column group_name level_1 level_2 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;level_3 num;&lt;/DIV&gt;
&lt;DIV&gt;define group_name /group;&lt;BR /&gt;define level_1/group;&lt;BR /&gt;define level_2/group;&lt;/DIV&gt;
&lt;DIV&gt;compute before group_name;&lt;BR /&gt;&amp;nbsp;Member=group_name;&lt;BR /&gt;endcomp;&lt;/DIV&gt;
&lt;DIV&gt;compute before level_1;&lt;BR /&gt;&amp;nbsp;Member= level_1;&lt;BR /&gt;endcomp;&lt;/DIV&gt;
&lt;DIV&gt;compute before level_2;&lt;BR /&gt;&amp;nbsp;Member= level_2;&lt;BR /&gt;endcomp;&lt;/DIV&gt;
&lt;DIV&gt;break before level_1/summarize;&lt;/DIV&gt;
&lt;DIV&gt;rbreak before/summarize;&lt;BR /&gt;run;&lt;BR /&gt;ods select all;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Jan 2019 08:11:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disappearing-Row-After-Proc-Report/m-p/528263#M144157</guid>
      <dc:creator>angeliquec</dc:creator>
      <dc:date>2019-01-18T08:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing Row After Proc Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disappearing-Row-After-Proc-Report/m-p/528267#M144161</link>
      <description>&lt;P&gt;Please post code using running-man icon to increase readability.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using the option "missing" in proc report statement?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 08:32:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disappearing-Row-After-Proc-Report/m-p/528267#M144161</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-01-18T08:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing Row After Proc Report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disappearing-Row-After-Proc-Report/m-p/528272#M144163</link>
      <description>Thanks. The MISSING option works.</description>
      <pubDate>Fri, 18 Jan 2019 09:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disappearing-Row-After-Proc-Report/m-p/528272#M144163</guid>
      <dc:creator>angeliquec</dc:creator>
      <dc:date>2019-01-18T09:01:51Z</dc:date>
    </item>
  </channel>
</rss>

