<?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: Question regarding deleting missing values from two coloumns in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/450655#M113495</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
where coalesce(SBP,DBP)&amp;gt;.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 03 Apr 2018 14:23:02 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2018-04-03T14:23:02Z</dc:date>
    <item>
      <title>Question regarding deleting missing values from two coloumns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/450632#M113480</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a BP data where some of the id have missing data.&amp;nbsp; I want to delete only those rows where &lt;SPAN&gt;both the values(SBP and DBP) are missing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data look like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data have ;&lt;/P&gt;&lt;P&gt;id&amp;nbsp; &amp;nbsp; &amp;nbsp; date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SBP&amp;nbsp; &amp;nbsp; &amp;nbsp;DBP&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;122&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;84&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;2/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp; 3/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;120&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;82&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;4/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 86&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;110&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;76&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;2/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;146&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;88&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;3/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;140&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;4/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;1/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;124&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;80&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;2/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;88&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;3/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;130&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;90&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want data like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data want&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;id&amp;nbsp; &amp;nbsp; &amp;nbsp; date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SBP&amp;nbsp; &amp;nbsp; &amp;nbsp;DBP&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;122&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;84&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp; 3/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;120&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;82&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;4/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 86&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;110&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;76&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;2/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;146&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;88&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;3/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;140&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;1/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;124&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;80&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;2/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;88&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;3/1/2011&amp;nbsp; &amp;nbsp; &amp;nbsp;130&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;90&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kindly suggest&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 13:47:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/450632#M113480</guid>
      <dc:creator>mehul4frnds</dc:creator>
      <dc:date>2018-04-03T13:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding deleting missing values from two coloumns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/450645#M113488</link>
      <description>&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not missing(SBP) and not missing(DBP);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 14:17:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/450645#M113488</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-03T14:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding deleting missing values from two coloumns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/450655#M113495</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
where coalesce(SBP,DBP)&amp;gt;.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Apr 2018 14:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/450655#M113495</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-04-03T14:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding deleting missing values from two coloumns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/451494#M113842</link>
      <description>&lt;P&gt;Thanks it worked&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 13:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/451494#M113842</guid>
      <dc:creator>mehul4frnds</dc:creator>
      <dc:date>2018-04-05T13:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding deleting missing values from two coloumns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/451497#M113843</link>
      <description>&lt;P&gt;Thanks or the reply.&lt;/P&gt;&lt;P&gt;This command deletes all the rows which have any of the missing values.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 13:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-regarding-deleting-missing-values-from-two-coloumns/m-p/451497#M113843</guid>
      <dc:creator>mehul4frnds</dc:creator>
      <dc:date>2018-04-05T13:29:51Z</dc:date>
    </item>
  </channel>
</rss>

