<?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: Problem with aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-aggregation/m-p/429311#M489267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can write script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(TransDate=Aggr(max(Trans_Date), Lot_status),Lot_Status)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u give sample data, than we can give correct expression..&amp;nbsp; pls post sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2012 09:36:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-12T09:36:27Z</dc:date>
    <item>
      <title>Problem with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggregation/m-p/429310#M489266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone, &lt;/P&gt;&lt;P&gt;im developing a new report about warehouse's. I have this little problem with an aggregation: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Lot Status Field, this field may change in every line of the Lot Events Table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Lot Events Table has a transaction_date field with this format (dd/mm/yyyy hh.mm).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i want to do is to take the lot status of the last transaction in the table lot events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried Aggr(max(Trans_Date), Lot_status) but is returning -. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ty for your time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Juan Pedro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 09:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggregation/m-p/429310#M489266</guid>
      <dc:creator />
      <dc:date>2012-12-12T09:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggregation/m-p/429311#M489267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can write script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(TransDate=Aggr(max(Trans_Date), Lot_status),Lot_Status)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u give sample data, than we can give correct expression..&amp;nbsp; pls post sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 09:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggregation/m-p/429311#M489267</guid>
      <dc:creator />
      <dc:date>2012-12-12T09:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-aggregation/m-p/429312#M489268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is working fine now thnks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 10:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-aggregation/m-p/429312#M489268</guid>
      <dc:creator />
      <dc:date>2012-12-12T10:03:33Z</dc:date>
    </item>
  </channel>
</rss>

