<?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 with 2 Missing Variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434674#M107897</link>
    <description>&lt;P&gt;This worked, thank you!!!&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 19:31:11 GMT</pubDate>
    <dc:creator>akordula</dc:creator>
    <dc:date>2018-02-06T19:31:11Z</dc:date>
    <item>
      <title>Proc Report with 2 Missing Variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434579#M107852</link>
      <description>&lt;P&gt;I'm trying to run a proc report on a dataset that can have missing values (valid) in two columns (x &amp;amp; y), both of which are grouped.&amp;nbsp; Is there a way to NOT show missing values from x, but to still show missing values from y in the report?&amp;nbsp; The missing option either shows all of them or takes them all away, which I don't want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title BOLD HEIGHT=4 'US';&lt;BR /&gt; proc report data=us.rates missing;&lt;BR /&gt; columns&amp;nbsp;x y&amp;nbsp;date,(n pctn) ;&lt;BR /&gt; define x/ group 'x'&amp;nbsp;width = 5;&lt;BR /&gt; define&amp;nbsp;y / group 'y' width = 3;&lt;BR /&gt; define dumcol / computed 'x';&lt;BR /&gt; define&amp;nbsp;date / across order = internal;&lt;BR /&gt; define n / format =8. 'COUNT';&lt;BR /&gt; define pctn / "%" format = percent7.1;&lt;BR /&gt; rbreak after / summarize;&lt;BR /&gt; compute dumcol / char length = 10;&lt;BR /&gt; if _BREAK_ = '_RBREAK_' then dumcol = 'Total';&lt;BR /&gt; else dumcol = put(x,$10.);&lt;BR /&gt; endcomp;&lt;BR /&gt; run;&lt;BR /&gt; title;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 16:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434579#M107852</guid>
      <dc:creator>akordula</dc:creator>
      <dc:date>2018-02-06T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report with 2 Missing Variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434591#M107855</link>
      <description>&lt;P&gt;I would think you would need to code the "missing" values differently. Perhaps a '999' in one data set and a '.' in the other.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 16:52:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434591#M107855</guid>
      <dc:creator>HB</dc:creator>
      <dc:date>2018-02-06T16:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report with 2 Missing Variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434626#M107871</link>
      <description>&lt;P&gt;That would work for me, but then I would need to exclude 999 from the count, percentage etc.&amp;nbsp; Is there a way to exclude a certain value?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 18:01:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434626#M107871</guid>
      <dc:creator>akordula</dc:creator>
      <dc:date>2018-02-06T18:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report with 2 Missing Variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434673#M107896</link>
      <description>&lt;P&gt;Have you tried removing MISSING from the Proc statement and adding it to DEFINE options for Y (and any other variables that may want missing to appear)?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 19:26:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434673#M107896</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-06T19:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report with 2 Missing Variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434674#M107897</link>
      <description>&lt;P&gt;This worked, thank you!!!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 19:31:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-with-2-Missing-Variables/m-p/434674#M107897</guid>
      <dc:creator>akordula</dc:creator>
      <dc:date>2018-02-06T19:31:11Z</dc:date>
    </item>
  </channel>
</rss>

