<?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 How to track half yearly record with front end script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-track-half-yearly-record-with-front-end-script/m-p/1214040#M625115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to track half yearly records - for instances any new records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have field Year&amp;nbsp; = 2015, number(version)= 2,3&amp;nbsp; type = 1ST Half or 2ND Half&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can max(year) or max(number) , but how to max(type) , because it is in string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPECTED RESULT: I want to know what is the new record for year 2015, 2nd half compare to 1st half.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have such front end code: but now. user wants to see Half Yearly, rather than compare year by year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count(DISTINCT {1&amp;lt;number = {'$(=max({1}number))'}, year = {'$(=max({1}year))'},&lt;/P&gt;&lt;P&gt;item_id = e({1&amp;lt;item_id = {"=Count({1&amp;lt;year = {'&amp;lt;$(=Max({1}year))'}&amp;gt;} item_id) &amp;gt; 0"}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} item_id))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 11:15:45 GMT</pubDate>
    <dc:creator>jim_chan</dc:creator>
    <dc:date>2016-11-23T11:15:45Z</dc:date>
    <item>
      <title>How to track half yearly record with front end script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-track-half-yearly-record-with-front-end-script/m-p/1214040#M625115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to track half yearly records - for instances any new records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have field Year&amp;nbsp; = 2015, number(version)= 2,3&amp;nbsp; type = 1ST Half or 2ND Half&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can max(year) or max(number) , but how to max(type) , because it is in string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPECTED RESULT: I want to know what is the new record for year 2015, 2nd half compare to 1st half.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have such front end code: but now. user wants to see Half Yearly, rather than compare year by year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count(DISTINCT {1&amp;lt;number = {'$(=max({1}number))'}, year = {'$(=max({1}year))'},&lt;/P&gt;&lt;P&gt;item_id = e({1&amp;lt;item_id = {"=Count({1&amp;lt;year = {'&amp;lt;$(=Max({1}year))'}&amp;gt;} item_id) &amp;gt; 0"}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} item_id))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 11:15:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-track-half-yearly-record-with-front-end-script/m-p/1214040#M625115</guid>
      <dc:creator>jim_chan</dc:creator>
      <dc:date>2016-11-23T11:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to track half yearly record with front end script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-track-half-yearly-record-with-front-end-script/m-p/1214041#M625116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;should i write in such : ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count(DISTINCT {1&amp;lt;number = {'$(=max({1}number))'}, year = {'$(=max({1}year))'}, type = {'$(=maxstring({1}type))'}&lt;/P&gt;&lt;P&gt;item_id = e({1&amp;lt;item_id = {"=Count({1&amp;lt;year = {'&amp;lt;$(=Max({1}year))'}, type = {'&amp;lt;$(=Maxstring({1}type))'}&amp;gt;} item_id) &amp;gt; 0"}&amp;gt;})&lt;/P&gt;&lt;P&gt;&amp;gt;} item_id))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 12:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-track-half-yearly-record-with-front-end-script/m-p/1214041#M625116</guid>
      <dc:creator>jim_chan</dc:creator>
      <dc:date>2016-11-23T12:07:45Z</dc:date>
    </item>
  </channel>
</rss>

