<?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 Sort data set on the basis of missing value in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-data-set-on-the-basis-of-missing-value/m-p/73385#M7292</link>
    <description>i want to sort the data set in such a way that first row contain minimum no of missing value  and last row contain maximum missing value.&lt;BR /&gt;
&lt;BR /&gt;
please help ..how it is possible...</description>
    <pubDate>Tue, 10 Feb 2009 12:20:36 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-02-10T12:20:36Z</dc:date>
    <item>
      <title>Sort data set on the basis of missing value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-data-set-on-the-basis-of-missing-value/m-p/73385#M7292</link>
      <description>i want to sort the data set in such a way that first row contain minimum no of missing value  and last row contain maximum missing value.&lt;BR /&gt;
&lt;BR /&gt;
please help ..how it is possible...</description>
      <pubDate>Tue, 10 Feb 2009 12:20:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-data-set-on-the-basis-of-missing-value/m-p/73385#M7292</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-02-10T12:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sort data set on the basis of missing value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-data-set-on-the-basis-of-missing-value/m-p/73386#M7293</link>
      <description>please explain what is "maximum missing value" ?</description>
      <pubDate>Tue, 10 Feb 2009 13:52:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-data-set-on-the-basis-of-missing-value/m-p/73386#M7293</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-02-10T13:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sort data set on the basis of missing value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-data-set-on-the-basis-of-missing-value/m-p/73387#M7294</link>
      <description>Hi Arvind,&lt;BR /&gt;
&lt;BR /&gt;
If you're talking about sorting based on, across all variables, the total number of missing values in each row, try using the CMISS function. It's new to SAS 9.2, and if you supply all the columns in your data set as arguments, it will tell you how many of them have missing values. It's similar to the NMISS function, but CMISS can take arguments of character or numeric variables (or any combination!). Whatever number CMISS returns is what you'd sort on.&lt;BR /&gt;
&lt;BR /&gt;
FYI, PROC SQL and hence the query builder do not support variable lists. So, sadly, you can't use the syntax  "cmiss(of _all_)" in the Query builder expression editor. You could write your own DATA step code where that would be allowed.</description>
      <pubDate>Wed, 11 Feb 2009 13:53:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-data-set-on-the-basis-of-missing-value/m-p/73387#M7294</guid>
      <dc:creator>RichardH_sas</dc:creator>
      <dc:date>2009-02-11T13:53:55Z</dc:date>
    </item>
  </channel>
</rss>

