<?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 Hide the record with lower extractdate for a given srccode , region, material combination in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-the-record-with-lower-extractdate-for-a-given-srccode/m-p/1414293#M821315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the below data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are currently 7 records&lt;/P&gt;&lt;P&gt;I want to hide the record with the lower extract date , for a given Material / srcsyscd, region combination&lt;/P&gt;&lt;P&gt;For example, from the first two records that belong to PKS-NSP , USA and CMC11, I want to hide the first row with the date 22/06/2017&lt;/P&gt;&lt;P&gt;and display only the row with the higher extract date 01072017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Calibri',sans-serif; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;IMG class="jive-image image-1" height="166" src="https://community.qlik.com/legacyfs/online/173654_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" width="651" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>parul_mehta</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Hide the record with lower extractdate for a given srccode , region, material combination</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-the-record-with-lower-extractdate-for-a-given-srccode/m-p/1414293#M821315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the below data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are currently 7 records&lt;/P&gt;&lt;P&gt;I want to hide the record with the lower extract date , for a given Material / srcsyscd, region combination&lt;/P&gt;&lt;P&gt;For example, from the first two records that belong to PKS-NSP , USA and CMC11, I want to hide the first row with the date 22/06/2017&lt;/P&gt;&lt;P&gt;and display only the row with the higher extract date 01072017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Calibri',sans-serif; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;IMG class="jive-image image-1" height="166" src="https://community.qlik.com/legacyfs/online/173654_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" width="651" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-the-record-with-lower-extractdate-for-a-given-srccode/m-p/1414293#M821315</guid>
      <dc:creator>parul_mehta</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hide the record with lower extractdate for a given srccode , region, material combination</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-the-record-with-lower-extractdate-for-a-given-srccode/m-p/1414294#M821316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share your sample app, Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also you may try like below 3 methods&lt;/P&gt;&lt;P&gt;1) max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;extract&lt;/SPAN&gt;date) as your expression&lt;/P&gt;&lt;P&gt;2) Aggr(max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;extract&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;date&lt;/SPAN&gt;),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Material,srcsyscd, region&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;3) =FirstSortedValue(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;srcsyscd&lt;/SPAN&gt;, -&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;extract&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;date&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;4) back end script method,&lt;/P&gt;&lt;P&gt;like below,&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Max(extractdate),'mm/dd/yyyy') as Date&lt;/P&gt;&lt;P&gt;FROM FileName&lt;/P&gt;&lt;P&gt;GROUP BY Material,srcsyscd, region;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps to you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 06:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-the-record-with-lower-extractdate-for-a-given-srccode/m-p/1414294#M821316</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-08-17T06:48:05Z</dc:date>
    </item>
  </channel>
</rss>

