<?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: Set Analysis: syntaxes, examples in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntaxes-examples/m-p/1511981#M749626</link>
    <description>&lt;P&gt;Thank you so much for your response,&lt;/P&gt;&lt;P&gt;so can you please tell me more about the UniqueEnoughID field actually I don't have that field and I didn't get it properly what you are trying to say, my main question is to how to write red colored if condition statement&amp;nbsp;into set-analysis as I'm getting Error and how&amp;nbsp; you have written all set modifiers Expressions in one single "double Quotes" with AND condition and yes the&amp;nbsp; variable (voutstandingdate) is in date format.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 06:11:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-26T06:11:12Z</dc:date>
    <item>
      <title>Set Analysis: syntaxes, examples</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntaxes-examples/m-p/1511790#M749624</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have an expression in if condition&amp;nbsp;which I am going to write that into Set analysis but the problem is in that between that Expression I have if Condition like----- if(voutstandingdate-JOIN_DATE &amp;gt;=331&amp;nbsp; &amp;nbsp;in which voutstanding is a variable so please help me out that how we can write;&lt;/P&gt;&lt;P&gt;Full Expression is:-&lt;/P&gt;&lt;P&gt;=(&lt;BR /&gt;COUNT(DISTINCT(&lt;BR /&gt;IF(STATUS &amp;lt;&amp;gt; 'SOFT DELETED',&lt;BR /&gt;IF(ENROLMENT_ACTIVE = 'Y',&lt;BR /&gt;IF(JOIN_DATE &amp;lt;= voutstandingdate ,&lt;BR /&gt;IF([MIN DATE]&amp;lt;=voutstandingdate,&lt;BR /&gt;IF(ENROLMENTSTATUS_W='OPEN',&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;if(voutstandingdate-JOIN_DATE &amp;gt;=331 ,&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;if(voutstandingdate-JOIN_DATE&amp;lt;365,&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;IF([TOTAL COLLECTION]&amp;gt;0,&lt;BR /&gt;ENROLLMENT_ID))))))))))&lt;BR /&gt;+&lt;BR /&gt;COUNT(DISTINCT(&lt;BR /&gt;IF(STATUS &amp;lt;&amp;gt; 'SOFT DELETED',&lt;BR /&gt;IF(ENROLMENT_ACTIVE = 'Y',&lt;BR /&gt;IF(JOIN_DATE &amp;lt;= voutstandingdate ,&lt;BR /&gt;IF(ENROLMENTSTATUS_W &amp;lt;&amp;gt; 'OPEN',&lt;BR /&gt;i&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;f(voutstandingdate-JOIN_DATE&amp;gt;=331,&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;if(voutstandingdate-JOIN_DATE&amp;lt;365,&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;IF(STATUS_CHANGE_DATE&amp;gt;voutstandingdate,&lt;BR /&gt;ENROLLMENT_ID)))))))))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out ASAP&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-syntaxes-examples/m-p/1511790#M749624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: syntaxes, examples</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntaxes-examples/m-p/1511809#M749625</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;Something quite similar to this I think:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;RangeSum(&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; Count(DISTINCT {&amp;lt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; UniqueEnoughID={&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "=STATUS&amp;lt;&amp;gt;'SOFT DELETED' AND&amp;nbsp;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; ENROLMENT_ACTIVE='Y' AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp; JOIN_DATE&amp;lt;=$(voutstandingdate) AND&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; MIN_DATE&amp;lt;=$(voutstandingdate) AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ENROLMENTSTATUS_W='OPEN' AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $(voutstandingdate)-JOIN_DATE&amp;gt;=331 AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $(voutstandingdate)-JOIN_DATE&amp;lt;365 AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp; TOTAL_COLLECTION&amp;gt;0"}&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;gt;} ENROLLMENT_ID)&lt;BR /&gt;&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp; Count(DISTINCT {&amp;lt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; UniqueEnoughID={&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "=STATUS&amp;lt;&amp;gt;'SOFT DELETED' AND&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ENROLMENT_ACTIVE='Y' AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp; JOIN_DATE&amp;lt;=$(voutstandingdate) AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;ENROLMENTSTATUS_W&amp;lt;&amp;gt;'OPEN' AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $(voutstandingdate)-JOIN_DATE&amp;gt;=331 AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp; $(voutstandingdate)-JOIN_DATE&amp;lt;365 AND&lt;BR /&gt;&amp;nbsp; &amp;nbsp; STATUS_CHANGE_DATE&amp;gt;$(voutstandingdate)"}&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;gt;} ENROLLMENT_ID)&lt;BR /&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;You will have to have a field that makes sure that none of the fields used in the boolean expression returns more than a single value. I have just called this field UniqueEnoughID.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;Your date fields I presume are full dates with date formatting applied and not just numeric dates.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 13:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-syntaxes-examples/m-p/1511809#M749625</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-11-24T13:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: syntaxes, examples</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntaxes-examples/m-p/1511981#M749626</link>
      <description>&lt;P&gt;Thank you so much for your response,&lt;/P&gt;&lt;P&gt;so can you please tell me more about the UniqueEnoughID field actually I don't have that field and I didn't get it properly what you are trying to say, my main question is to how to write red colored if condition statement&amp;nbsp;into set-analysis as I'm getting Error and how&amp;nbsp; you have written all set modifiers Expressions in one single "double Quotes" with AND condition and yes the&amp;nbsp; variable (voutstandingdate) is in date format.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 06:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-syntaxes-examples/m-p/1511981#M749626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-26T06:11:12Z</dc:date>
    </item>
  </channel>
</rss>

