<?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: Pointer on repeated measurements in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Pointer-on-repeated-measurements/m-p/836114#M36019</link>
    <description>&lt;P&gt;You can use FIRST. to find the first value in a group and LAST. to find the last value in a group. Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set have;
    by value;
    if last.value then do; ...; end;
    if first.value then do; ...; end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 30 Sep 2022 15:32:12 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-09-30T15:32:12Z</dc:date>
    <item>
      <title>Pointer on repeated measurements</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pointer-on-repeated-measurements/m-p/836109#M36018</link>
      <description>&lt;P&gt;suppose to have the following:&lt;/P&gt;
&lt;P&gt;Value&lt;BR /&gt;1 &lt;BR /&gt;1 &lt;BR /&gt;1 &lt;BR /&gt;2 &lt;BR /&gt;2 &lt;BR /&gt;2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How can I say/indicate: the last 1 before 2 and the first 2 after the last 1? Thank you in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 15:26:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pointer-on-repeated-measurements/m-p/836109#M36018</guid>
      <dc:creator>NewUsrStat</dc:creator>
      <dc:date>2022-09-30T15:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pointer on repeated measurements</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Pointer-on-repeated-measurements/m-p/836114#M36019</link>
      <description>&lt;P&gt;You can use FIRST. to find the first value in a group and LAST. to find the last value in a group. Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set have;
    by value;
    if last.value then do; ...; end;
    if first.value then do; ...; end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Sep 2022 15:32:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Pointer-on-repeated-measurements/m-p/836114#M36019</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-30T15:32:12Z</dc:date>
    </item>
  </channel>
</rss>

