<?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 Set analysis code error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-code-error/m-p/250362#M1193365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Bikash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes, set analysis does not handle the date format very well. &lt;/P&gt;&lt;P&gt;I suggest you use a auxiliary field for the DW date as an integer. &lt;/P&gt;&lt;P&gt;In the script, where you have something like: &lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;DW_LOAD_DATE, &lt;/P&gt;&lt;P&gt;... ETC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;, include another line&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;DW_LOAD_DATE,&lt;/P&gt;&lt;P&gt;num(DW_LOAD_DATE) as nDW_DATE,&lt;/P&gt;&lt;P&gt;... etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your vConvStart and vConvEnd should get max and min of this new field&lt;/P&gt;&lt;P&gt;=min(nDW_DATE) and = max(nDW_DATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your set analysis should also change to compare nDW_DATE instead of DW_LOAD_DATE&lt;/P&gt;&lt;P&gt;hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Jul 2011 11:51:20 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2011-07-02T11:51:20Z</dc:date>
    <item>
      <title>Set analysis code error</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-code-error/m-p/250361#M1193364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have attached a picture about my problem statement.&lt;/P&gt;&lt;P&gt;Hope I was able to pictorially explain whats going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2011 22:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-code-error/m-p/250361#M1193364</guid>
      <dc:creator />
      <dc:date>2011-07-01T22:54:06Z</dc:date>
    </item>
    <item>
      <title>Set analysis code error</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-code-error/m-p/250362#M1193365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Bikash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes, set analysis does not handle the date format very well. &lt;/P&gt;&lt;P&gt;I suggest you use a auxiliary field for the DW date as an integer. &lt;/P&gt;&lt;P&gt;In the script, where you have something like: &lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;DW_LOAD_DATE, &lt;/P&gt;&lt;P&gt;... ETC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;, include another line&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;DW_LOAD_DATE,&lt;/P&gt;&lt;P&gt;num(DW_LOAD_DATE) as nDW_DATE,&lt;/P&gt;&lt;P&gt;... etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your vConvStart and vConvEnd should get max and min of this new field&lt;/P&gt;&lt;P&gt;=min(nDW_DATE) and = max(nDW_DATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your set analysis should also change to compare nDW_DATE instead of DW_LOAD_DATE&lt;/P&gt;&lt;P&gt;hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2011 11:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-code-error/m-p/250362#M1193365</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-07-02T11:51:20Z</dc:date>
    </item>
  </channel>
</rss>

