<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264847#M867775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 869px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="158"&gt;NAME&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="214"&gt;STARTDT&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="203"&gt;ENDDT&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;STATUS&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;CYCLE_ID&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="98"&gt;Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 10:54&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 12:36&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;203&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 9:30&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 12:29&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;202&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 9:00&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 9:30&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;201&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; text-align: left;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SuccessDate is a different field which will update my latest extract qvd refresh date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If StartDt greater than SuccessDt &amp;amp; if C Count is 3 ---Success &lt;/P&gt;&lt;P&gt;If StartDt greater than SuccessDt &amp;amp; if C Count is not equal to 3 ---Failure &lt;/P&gt;&lt;P&gt;If StartDt is equal to SuccessDt &amp;amp; if C Count is 3 ---Do Nothing&lt;/P&gt;&lt;P&gt;If StartDt is equal to SuccessDt &amp;amp; if C Count is not 3 ---Failure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Some times the Status is also P and End Date will be 11/29/9999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the following&lt;/P&gt;&lt;P&gt;=Count({&amp;lt; STATUS={'C'},SuccessDate =&amp;nbsp; {"&amp;gt;=Floor(STARTDT) "}&amp;gt;}SuccessDate)&lt;/P&gt;&lt;P&gt;=Count({&amp;lt; STATUS={'C'},STARTDT =&amp;nbsp; {"&amp;gt;=Floor(SuccessDate) = today()"}&amp;gt;}STARTDT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708" target="_blank"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>MK9885</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264847#M867775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 869px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="158"&gt;NAME&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="214"&gt;STARTDT&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="203"&gt;ENDDT&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;STATUS&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;CYCLE_ID&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="98"&gt;Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 10:54&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 12:36&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;203&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 9:30&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 12:29&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;202&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 9:00&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;11/29/2016 9:30&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;201&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; text-align: left;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SuccessDate is a different field which will update my latest extract qvd refresh date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If StartDt greater than SuccessDt &amp;amp; if C Count is 3 ---Success &lt;/P&gt;&lt;P&gt;If StartDt greater than SuccessDt &amp;amp; if C Count is not equal to 3 ---Failure &lt;/P&gt;&lt;P&gt;If StartDt is equal to SuccessDt &amp;amp; if C Count is 3 ---Do Nothing&lt;/P&gt;&lt;P&gt;If StartDt is equal to SuccessDt &amp;amp; if C Count is not 3 ---Failure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Some times the Status is also P and End Date will be 11/29/9999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the following&lt;/P&gt;&lt;P&gt;=Count({&amp;lt; STATUS={'C'},SuccessDate =&amp;nbsp; {"&amp;gt;=Floor(STARTDT) "}&amp;gt;}SuccessDate)&lt;/P&gt;&lt;P&gt;=Count({&amp;lt; STATUS={'C'},STARTDT =&amp;nbsp; {"&amp;gt;=Floor(SuccessDate) = today()"}&amp;gt;}STARTDT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708" target="_blank"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&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/Set-Analysis/m-p/1264847#M867775</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264848#M867777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Perhaps something like this:&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: 13px;"&gt;=Count({&amp;lt; STATUS={'C'},STARTDT =&amp;nbsp; {"&amp;gt;=&lt;STRONG&gt;$(=Floor(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SuccessDate&lt;/SPAN&gt;))&lt;/STRONG&gt; "}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;STARTDT &lt;/SPAN&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: 13px;"&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: 13px;"&gt;If that doesn't work then post a small qlikview document with example data that demonstrates the problem.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 16:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264848#M867777</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-01T16:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264849#M867778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;=If(Count(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS = {'C'},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(STARTDT) = {"&amp;gt;floor(SuccessDT)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS) = 3,&lt;/P&gt;&lt;P&gt;"Success",&lt;/P&gt;&lt;P&gt;If(Count(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;STATUS = {'C'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS) &amp;lt;&amp;gt;3,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"Fail",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Null()))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 17:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264849#M867778</guid>
      <dc:creator>stig1984</dc:creator>
      <dc:date>2016-12-01T17:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264850#M867779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA.&lt;/P&gt;&lt;P&gt;And I tried your logic but it doesn't seem to work. You can adjust accordingly as I added Inline load but in realtime i'll be fetching it from db.&lt;/P&gt;&lt;P&gt;If you planning to reload the script the successdate might not work maybe if you can add that too in another Inline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 18:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264850#M867779</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2016-12-01T18:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264851#M867780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank but your expression has some syntax error.&lt;/P&gt;&lt;P&gt;I edited it to below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Count({&amp;lt;STATUS = {'C'}, STARTDT = {"&amp;gt;Floor(SuccessDate)"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS) = 3,'Success',&lt;/P&gt;&lt;P&gt;If(Count({&amp;lt;STATUS = {'C'}&amp;gt;}STATUS) &amp;lt;&amp;gt;3,'Fail',Null()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct me if I did it wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the sample file above....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 18:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264851#M867780</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2016-12-01T18:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264852#M867781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=If(Count({&amp;lt;STATUS = {'C'}, STARTDT = {&lt;STRONG&gt;"&amp;gt;=$(=Floor(SuccessDate))&lt;/STRONG&gt;"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS) = 3,'Success',&lt;/P&gt;&lt;P&gt;If(Count({&amp;lt;STATUS = {'C'}&amp;gt;}STATUS) &amp;lt;&amp;gt;3,'Fail',Null()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression seem to be working.... Not fully tested but it is.. for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 19:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264852#M867781</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2016-12-01T19:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264853#M867782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;glad it worked - apologies for the syntax errors - wasn't 100% sure which dates you wanted as integers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2016 09:37:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1264853#M867782</guid>
      <dc:creator>stig1984</dc:creator>
      <dc:date>2016-12-02T09:37:29Z</dc:date>
    </item>
  </channel>
</rss>

