<?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 max datetime per station in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/max-datetime-per-station/m-p/518894#M1269996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a dashboard for fuelstations.&lt;/P&gt;&lt;P&gt;They will see how much fuel there is in a tank per station and per fueltype.&lt;/P&gt;&lt;P&gt;The volume is measured several times a day on different timestamps per station.&lt;/P&gt;&lt;P&gt;The defenition of stock is&lt;/P&gt;&lt;P&gt;=num(sum( { $ &amp;lt; DateTimeNum =&amp;nbsp; {'$(=Max(DateTimeNum))'} , CalYear = , CalQuarter= , CalMonth=, CalDay=&amp;nbsp; &amp;gt;}Stock15),'#.##0,00 L') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the picture he takes the max(dateTimeNum) of all the shops. So only for shop 150 (the shop with the highest datetime is showed. Does anybody knows how I can get the latest stock of all the shops?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Stock.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/45820_Stock.JPG.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>kris_vliegen</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>max datetime per station</title>
      <link>https://community.qlik.com/t5/QlikView/max-datetime-per-station/m-p/518894#M1269996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a dashboard for fuelstations.&lt;/P&gt;&lt;P&gt;They will see how much fuel there is in a tank per station and per fueltype.&lt;/P&gt;&lt;P&gt;The volume is measured several times a day on different timestamps per station.&lt;/P&gt;&lt;P&gt;The defenition of stock is&lt;/P&gt;&lt;P&gt;=num(sum( { $ &amp;lt; DateTimeNum =&amp;nbsp; {'$(=Max(DateTimeNum))'} , CalYear = , CalQuarter= , CalMonth=, CalDay=&amp;nbsp; &amp;gt;}Stock15),'#.##0,00 L') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the picture he takes the max(dateTimeNum) of all the shops. So only for shop 150 (the shop with the highest datetime is showed. Does anybody knows how I can get the latest stock of all the shops?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Stock.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/45820_Stock.JPG.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-datetime-per-station/m-p/518894#M1269996</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: max datetime per station</title>
      <link>https://community.qlik.com/t5/QlikView/max-datetime-per-station/m-p/518895#M1269998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr(sum(Stock15), Station, [Artikelomschrijvi...], DateTimeNum),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -aggr(DateTimeNum, Station, [Artikelomschrijvi...], DateTimeNum)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the Field names, I just input the parts that I see in the header.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 13:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-datetime-per-station/m-p/518895#M1269998</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-08-22T13:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: max datetime per station</title>
      <link>https://community.qlik.com/t5/QlikView/max-datetime-per-station/m-p/518896#M1270002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swuehl, Thanks for your answer. It's working fine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 13:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-datetime-per-station/m-p/518896#M1270002</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2013-08-22T13:53:37Z</dc:date>
    </item>
  </channel>
</rss>

