<?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: Hi, I have just strated learning SAS and need help. in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151285#M2586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if it is based on three month value check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A variable which tracked over three months, we neglect the missing but observe how many times the value of that variable changes, meaning if M1value was 1 and it changed to 2 in m2 and then in M3 which is the observed month it changed to 3 so total number of distinct changes are 3.&amp;nbsp; So I would like query to show how many distinct changes happened to this variable.&amp;nbsp; If the value stayed 2 through out then it is not a change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 15:34:05 GMT</pubDate>
    <dc:creator>sas_kms</dc:creator>
    <dc:date>2014-08-06T15:34:05Z</dc:date>
    <item>
      <title>Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151279#M2580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I trying to right a query to calculate count.&amp;nbsp; Lets say I have 4 columns M1, M2, M3 and Count.with 100 rows.&amp;nbsp; I want a query to calculate number values available in each row and give me count of values in Count column, excluding missing values.&lt;/P&gt;&lt;P&gt;Example: If row1 has values in M1, M2 and M3,&amp;nbsp; Count will be 3. If in row 2 value of M2 is missing, count will be 2.&amp;nbsp; Query should not be limited to number of rows, since data can sometimes have 100 rows or 1000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 14:27:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151279#M2580</guid>
      <dc:creator>sas_kms</dc:creator>
      <dc:date>2014-08-06T14:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151280#M2581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count=4 - nmiss(of m1-m4);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 14:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151280#M2581</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-06T14:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151281#M2582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are your columns numeric, character or some of each?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 14:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151281#M2582</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-08-06T14:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151282#M2583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;select *,3-cmiss(m1,m2,m3) as count from have;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 14:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151282#M2583</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-08-06T14:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151283#M2584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;numeric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:01:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151283#M2584</guid>
      <dc:creator>sas_kms</dc:creator>
      <dc:date>2014-08-06T15:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151284#M2585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the N function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000245918.htm" title="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000245918.htm"&gt;SAS(R) 9.2 Language Reference: Dictionary, Fourth Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count=n(m1, m2, m3...etc);&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;count=n(of m1-m4);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:07:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151284#M2585</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-08-06T15:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151285#M2586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if it is based on three month value check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A variable which tracked over three months, we neglect the missing but observe how many times the value of that variable changes, meaning if M1value was 1 and it changed to 2 in m2 and then in M3 which is the observed month it changed to 3 so total number of distinct changes are 3.&amp;nbsp; So I would like query to show how many distinct changes happened to this variable.&amp;nbsp; If the value stayed 2 through out then it is not a change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:34:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151285#M2586</guid>
      <dc:creator>sas_kms</dc:creator>
      <dc:date>2014-08-06T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151286#M2587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please assist:&lt;/P&gt;&lt;P&gt;What if it is based on three month value check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A variable which tracked over three months, we neglect the missing but observe how many times the value of that variable changes, meaning if M1value was 1 and it changed to 2 in m2 and then in M3 which is the observed month it changed to 3 so total number of distinct changes are 3.&amp;nbsp; So I would like query to show how many distinct changes happened to this variable.&amp;nbsp; If the value stayed 2 through out then it is not a change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151286#M2587</guid>
      <dc:creator>sas_kms</dc:creator>
      <dc:date>2014-08-06T15:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151287#M2588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks...Reeza.&lt;/P&gt;&lt;P&gt;What if it is based on three month value check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A variable which tracked over three months, we neglect the missing but observe how many times the value of that variable changes, meaning if M1value was 1 and it changed to 2 in m2 and then in M3 which is the observed month it changed to 3 so total number of distinct changes are 3.&amp;nbsp; So I would like query to show how many distinct changes happened to this variable.&amp;nbsp; If the value stayed 2 through out then it is not a change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 16:12:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151287#M2588</guid>
      <dc:creator>sas_kms</dc:creator>
      <dc:date>2014-08-06T16:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hi, I have just strated learning SAS and need help.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151288#M2589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a new question and should probably be posted as such. Also, include a sample of what you want the output to look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 20:59:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hi-I-have-just-strated-learning-SAS-and-need-help/m-p/151288#M2589</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-08-06T20:59:03Z</dc:date>
    </item>
  </channel>
</rss>

