<?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 Min date after date from different dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Min-date-after-date-from-different-dimensions/m-p/1789470#M61686</link>
    <description>&lt;P&gt;I am trying to calculate the 'LT Hour' lifetime of a part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do this, I am taking the most recent LT Hour value which is in the same table as the LifeLoggingDate and then subtracting the oldest LT Hour value, but only when it exceeds the date in which the part was installed (this information is in a different table to the lifelogging).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below formula works when I select a PartSN in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;aggr(Max({&amp;lt;LifeLoggingDate={"=aggr(max(LifeLoggingDate),DeviceID)"}&amp;gt;}LTHours),PartSN,DeviceID)&lt;BR /&gt;-&lt;BR /&gt;aggr(Min({&amp;lt;LifeLoggingDate={"=aggr(min(LifeLoggingDate),DeviceID)"},LifeLoggingDate={"&amp;gt;$(=(Install_Date))"}&amp;gt;}LTHours),PartSN,DeviceID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My intention is to see all Part SN and be able to sort by the LTHours to assess part lifetime.&amp;nbsp; Any suggestions?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Mar 2021 08:40:52 GMT</pubDate>
    <dc:creator>Flint89</dc:creator>
    <dc:date>2021-03-09T08:40:52Z</dc:date>
    <item>
      <title>Min date after date from different dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Min-date-after-date-from-different-dimensions/m-p/1789470#M61686</link>
      <description>&lt;P&gt;I am trying to calculate the 'LT Hour' lifetime of a part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do this, I am taking the most recent LT Hour value which is in the same table as the LifeLoggingDate and then subtracting the oldest LT Hour value, but only when it exceeds the date in which the part was installed (this information is in a different table to the lifelogging).&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below formula works when I select a PartSN in the table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;aggr(Max({&amp;lt;LifeLoggingDate={"=aggr(max(LifeLoggingDate),DeviceID)"}&amp;gt;}LTHours),PartSN,DeviceID)&lt;BR /&gt;-&lt;BR /&gt;aggr(Min({&amp;lt;LifeLoggingDate={"=aggr(min(LifeLoggingDate),DeviceID)"},LifeLoggingDate={"&amp;gt;$(=(Install_Date))"}&amp;gt;}LTHours),PartSN,DeviceID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My intention is to see all Part SN and be able to sort by the LTHours to assess part lifetime.&amp;nbsp; Any suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 08:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Min-date-after-date-from-different-dimensions/m-p/1789470#M61686</guid>
      <dc:creator>Flint89</dc:creator>
      <dc:date>2021-03-09T08:40:52Z</dc:date>
    </item>
  </channel>
</rss>

