<?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: Need Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Help/m-p/914853#M983298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the max contract_start_date per product I'd create a flag field in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN (SupplierOrders)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD product_key, max(contract_start_date) as contract_start_date, 1 as IsMaxContractStartDate&lt;/P&gt;&lt;P&gt;Resident SupplierOrders&lt;/P&gt;&lt;P&gt;Group By product_key;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use that new field to select the records you need. Change your expressions to select them: sum({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;IsMaxContractStartDate={1}&lt;/SPAN&gt;&amp;gt;}[Order Qty])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 09:26:45 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-08-07T09:26:45Z</dc:date>
    <item>
      <title>Need Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help/m-p/914852#M983297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I want to fetch the product details which is having max(contract_start_date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Please find the sample model attached&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Result :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Mark in yellow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95320_sample.PNG" style="height: 60px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 08:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help/m-p/914852#M983297</guid>
      <dc:creator>suvechha_b</dc:creator>
      <dc:date>2015-08-07T08:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help/m-p/914853#M983298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the max contract_start_date per product I'd create a flag field in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN (SupplierOrders)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD product_key, max(contract_start_date) as contract_start_date, 1 as IsMaxContractStartDate&lt;/P&gt;&lt;P&gt;Resident SupplierOrders&lt;/P&gt;&lt;P&gt;Group By product_key;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use that new field to select the records you need. Change your expressions to select them: sum({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;IsMaxContractStartDate={1}&lt;/SPAN&gt;&amp;gt;}[Order Qty])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 09:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help/m-p/914853#M983298</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-07T09:26:45Z</dc:date>
    </item>
  </channel>
</rss>

