<?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: Re: Set analysis doesn't work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-doesn-t-work/m-p/543259#M202989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you -- Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see my testing file. It still cannot get number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you take a look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2013 00:00:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-11T00:00:10Z</dc:date>
    <item>
      <title>Set analysis doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-doesn-t-work/m-p/543257#M202987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to calculate how many employee worked within a month.&lt;/P&gt;&lt;P&gt;I use this scrip to calculate the total employee within a month:&lt;/P&gt;&lt;P&gt;count(distinct if( CalendarMonthEnd&amp;gt;=HireDate and CalendarMonthStart &amp;lt;=if( EmplStatus='ACT',date(today()*2),MonthEnd(TERM_DT)),EMPL_ID))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;This script works good.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then I need analysis termination reason. I add Voluntary_Ind to this script. I changed the script to:&lt;/P&gt;&lt;P&gt;count({$&amp;lt;Voluntary_IND=,&amp;nbsp; HireDate = {"&amp;lt;=CalendarMonthEnd"}, TERM_DT={"&amp;gt;=CalendarMonthStart"}&amp;gt;} distinct EMPL_ID)+ count(distinct if(CalendarMonthEnd&amp;gt;=HireDate and EmplStatus='ACT',EMPL_ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First part of this scrip is return 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me find a solution on this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dust&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 21:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-doesn-t-work/m-p/543257#M202987</guid>
      <dc:creator />
      <dc:date>2013-10-10T21:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-doesn-t-work/m-p/543258#M202988</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;count({$&amp;lt;Voluntary_IND=,&amp;nbsp; HireDate = {"&amp;lt;=$(=CalendarMonthEnd)"}, TERM_DT={"&amp;gt;=$(=CalendarMonthStart)"}&amp;gt;} distinct EMPL_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;If this expression not works then check the date format of HireDate and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CalendarMonthEnd&lt;/SPAN&gt; should be same and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TERM_DT and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CalendarMonthStart format should be same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;In expression "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Voluntary_IND=,&lt;/SPAN&gt;" this will ignore the selections in the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Voluntary_IND=&lt;/SPAN&gt; field.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 23:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-doesn-t-work/m-p/543258#M202988</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-10-10T23:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set analysis doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-doesn-t-work/m-p/543259#M202989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you -- Jagan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see my testing file. It still cannot get number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you take a look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 00:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-doesn-t-work/m-p/543259#M202989</guid>
      <dc:creator />
      <dc:date>2013-10-11T00:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-doesn-t-work/m-p/543260#M202990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are getting closer. Can any guru take a look my file and have a solution? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 16:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-doesn-t-work/m-p/543260#M202990</guid>
      <dc:creator />
      <dc:date>2013-10-11T16:21:27Z</dc:date>
    </item>
  </channel>
</rss>

