<?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: Get first service date in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257483#M57252</link>
    <description>&lt;P&gt;The date is numerical ....what is happening the machine was max loaded at 160. It was reduced &amp;nbsp;40 ..... So when I try to get percentage of usage it would show a negative I was advised not to use the load of 40 but previous load which would be 160 so my percentage of usage would not be negative .... For example if load on 01/01/16. On machine S1. &amp;nbsp; Was max loaded at 160 &amp;nbsp;and only 60was used differ is 100so on 01/08/16 on machine S1 the load is 40 but it's carrying amt of 100from first load &amp;nbsp; &amp;nbsp; To get usage 100/40 would be in negative if I can use the load on 01/01/16 the load of 160 &amp;nbsp;with 100 +40 &amp;nbsp;140/160 ....&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2016 23:58:13 GMT</pubDate>
    <dc:creator>Beto16</dc:creator>
    <dc:date>2016-03-17T23:58:13Z</dc:date>
    <item>
      <title>Get first service date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257451#M57247</link>
      <description>&lt;P&gt;hi I have a question on a request that came in...&lt;/P&gt;&lt;P&gt;i have a table that has data that looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Machine. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Load. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Differ&lt;/P&gt;&lt;P&gt;a1. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02/01/16. &amp;nbsp; &amp;nbsp; &amp;nbsp; 160. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 140&lt;/P&gt;&lt;P&gt;a1. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02/06/16. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 40. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 120&lt;/P&gt;&lt;P&gt;i need to get the first load 160 and last differ 120 &amp;nbsp;to get % usage&amp;nbsp;&lt;/P&gt;&lt;P&gt;sometimes the load might be pervious month because they get service monthly so I would need to get load of pervious month&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;machine. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; date. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Load. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Differ&lt;/P&gt;&lt;P&gt;a2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 01/25/16. &amp;nbsp; &amp;nbsp; 160. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 80&lt;/P&gt;&lt;P&gt;a2. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 02/06/16. &amp;nbsp; &amp;nbsp; &amp;nbsp;40. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;120&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 20:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257451#M57247</guid>
      <dc:creator>Beto16</dc:creator>
      <dc:date>2016-03-17T20:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Get first service date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257453#M57248</link>
      <description>&lt;P&gt;1. What do you want as your output?&lt;/P&gt;
&lt;P&gt;2. Please post some more data and examples. I have a feeling your situation is a bit more complex and we're missing details.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 20:57:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257453#M57248</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-17T20:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get first service date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257456#M57249</link>
      <description>&lt;P&gt;Machine. Date. Load. Differ&lt;BR /&gt;a1. 02/01/16. 160. 140&lt;BR /&gt;a1. 02/08/16. 40. 120&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;out put&amp;nbsp;&lt;/P&gt;&lt;P&gt;machine. &amp;nbsp; &amp;nbsp; &amp;nbsp; Date. &amp;nbsp; &amp;nbsp; &amp;nbsp; Load. &amp;nbsp; &amp;nbsp;Differ&lt;/P&gt;&lt;P&gt;a1. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2/08/16. &amp;nbsp; &amp;nbsp; &amp;nbsp;160. &amp;nbsp; &amp;nbsp; &amp;nbsp;120&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the latest date overrides the earliest but I need the load amt of 160 and the latest 120&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i need to get the first load 160 and last differ 120 to get % usage&lt;BR /&gt;sometimes the load might be pervious month because they get service monthly so I would need to get load of pervious month&lt;BR /&gt;&lt;BR /&gt;machine. date. Load. Differ&lt;BR /&gt;a2 01/25/16. 160. 80&lt;BR /&gt;a2. 02/06/16. 40. 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;out put&lt;BR /&gt;machine. Date. Load. Differ&lt;BR /&gt;a1. 2/06/16. 160. 100&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 21:03:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257456#M57249</guid>
      <dc:creator>Beto16</dc:creator>
      <dc:date>2016-03-17T21:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get first service date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257465#M57250</link>
      <description>&lt;P&gt;Are the dates SAS date value numerics or character?&lt;/P&gt;
&lt;P&gt;Do you have any rules about something like a second load 160 appearing before a 120? Or extremely long gaps between the two, say 3 months?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 21:54:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257465#M57250</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-17T21:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get first service date</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257483#M57252</link>
      <description>&lt;P&gt;The date is numerical ....what is happening the machine was max loaded at 160. It was reduced &amp;nbsp;40 ..... So when I try to get percentage of usage it would show a negative I was advised not to use the load of 40 but previous load which would be 160 so my percentage of usage would not be negative .... For example if load on 01/01/16. On machine S1. &amp;nbsp; Was max loaded at 160 &amp;nbsp;and only 60was used differ is 100so on 01/08/16 on machine S1 the load is 40 but it's carrying amt of 100from first load &amp;nbsp; &amp;nbsp; To get usage 100/40 would be in negative if I can use the load on 01/01/16 the load of 160 &amp;nbsp;with 100 +40 &amp;nbsp;140/160 ....&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 23:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-first-service-date/m-p/257483#M57252</guid>
      <dc:creator>Beto16</dc:creator>
      <dc:date>2016-03-17T23:58:13Z</dc:date>
    </item>
  </channel>
</rss>

