<?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 Getting last service date in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485751#M2301</link>
    <description>I have 2 tables i need to know based on table A date when it was last done in table b.&lt;BR /&gt;Table A&lt;BR /&gt;Id. Date&lt;BR /&gt;A1. 05/01/2018&lt;BR /&gt;A3. 05/08/2018&lt;BR /&gt;Table B&lt;BR /&gt;Id. Date&lt;BR /&gt;A1. 04/28/2018&lt;BR /&gt;A3. 04/21/2018&lt;BR /&gt;A1. 03/07/2018&lt;BR /&gt;A3. 04/16/2018&lt;BR /&gt;&lt;BR /&gt;Whst i need output frrom table a and the last date from when service was done from table b&lt;BR /&gt;&lt;BR /&gt;Id. Date. Date.&lt;BR /&gt;A1. 05/01/2018. 04/28/2018&lt;BR /&gt;A3. 05/08/2018. 04/21/2018</description>
    <pubDate>Fri, 10 Aug 2018 13:15:32 GMT</pubDate>
    <dc:creator>Gil_</dc:creator>
    <dc:date>2018-08-10T13:15:32Z</dc:date>
    <item>
      <title>Getting last service date</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485751#M2301</link>
      <description>I have 2 tables i need to know based on table A date when it was last done in table b.&lt;BR /&gt;Table A&lt;BR /&gt;Id. Date&lt;BR /&gt;A1. 05/01/2018&lt;BR /&gt;A3. 05/08/2018&lt;BR /&gt;Table B&lt;BR /&gt;Id. Date&lt;BR /&gt;A1. 04/28/2018&lt;BR /&gt;A3. 04/21/2018&lt;BR /&gt;A1. 03/07/2018&lt;BR /&gt;A3. 04/16/2018&lt;BR /&gt;&lt;BR /&gt;Whst i need output frrom table a and the last date from when service was done from table b&lt;BR /&gt;&lt;BR /&gt;Id. Date. Date.&lt;BR /&gt;A1. 05/01/2018. 04/28/2018&lt;BR /&gt;A3. 05/08/2018. 04/21/2018</description>
      <pubDate>Fri, 10 Aug 2018 13:15:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485751#M2301</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2018-08-10T13:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting last service date</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485753#M2302</link>
      <description>&lt;P&gt;What does this have to do with BI?&amp;nbsp; Also, please post test data in the form of a datastep, as such this code is untested:&lt;/P&gt;
&lt;PRE&gt;proc sql;
  create table want as 
  select a.id,
            a.date,
            b.date as last_date
  from   tablea a
  left join (select id,
                    max(date) as date 
             from   tableb 
             group by id) b
  on       a.id=b.id;
quit;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:20:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485753#M2302</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-10T13:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting last service date</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485810#M2303</link>
      <description>Thanks will test it. What do you mean by your question? BI.</description>
      <pubDate>Fri, 10 Aug 2018 15:10:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485810#M2303</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2018-08-10T15:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting last service date</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485812#M2304</link>
      <description>&lt;P&gt;You posted the question in the BI forum, but I didn't see anything relating to BI specifically.&amp;nbsp; If so I can move to the general SAS questions area.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 15:12:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485812#M2304</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-10T15:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting last service date</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485829#M2305</link>
      <description>Really sorry i didnt realize.</description>
      <pubDate>Fri, 10 Aug 2018 15:53:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Getting-last-service-date/m-p/485829#M2305</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2018-08-10T15:53:11Z</dc:date>
    </item>
  </channel>
</rss>

