<?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 solve this with SET ANALYSIS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991330#M337757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I m trying to use set analysis to count with the following and it is not working, the IF statement is working though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Flag Field]-={'1'},&lt;/P&gt;&lt;P&gt;[Status]={'ACTIVE'},[Field A]={'Blue'},[Field B]-={'Plain','Color'}&amp;gt;} &lt;/P&gt;&lt;P&gt;Distinct [Product ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is wrong in the above Expn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct if([Flag Field]&amp;lt;&amp;gt; 1 and [Status]='ACTIVE' &lt;/P&gt;&lt;P&gt;and [Field A]='Blue' and [Field B]&amp;lt;&amp;gt;'Plain' and [Field B]&amp;lt;&amp;gt;'Color' &lt;/P&gt;&lt;P&gt;,[Product ID]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flag field is a calculated field in the script as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(FieldA) and Main_start_DT &amp;lt; Main_End_Dt &lt;/P&gt;&lt;P&gt;&amp;nbsp; ,1) as "Flag Field"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2015 23:44:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-02T23:44:24Z</dc:date>
    <item>
      <title>How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991330#M337757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I m trying to use set analysis to count with the following and it is not working, the IF statement is working though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Flag Field]-={'1'},&lt;/P&gt;&lt;P&gt;[Status]={'ACTIVE'},[Field A]={'Blue'},[Field B]-={'Plain','Color'}&amp;gt;} &lt;/P&gt;&lt;P&gt;Distinct [Product ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is wrong in the above Expn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct if([Flag Field]&amp;lt;&amp;gt; 1 and [Status]='ACTIVE' &lt;/P&gt;&lt;P&gt;and [Field A]='Blue' and [Field B]&amp;lt;&amp;gt;'Plain' and [Field B]&amp;lt;&amp;gt;'Color' &lt;/P&gt;&lt;P&gt;,[Product ID]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flag field is a calculated field in the script as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(FieldA) and Main_start_DT &amp;lt; Main_End_Dt &lt;/P&gt;&lt;P&gt;&amp;nbsp; ,1) as "Flag Field"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 23:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991330#M337757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-02T23:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991331#M337758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Count({&amp;lt;[Flag Field] = e({&amp;lt;[Flag Field] = {1}&amp;gt;}), &lt;SPAN style="line-height: 1.5em;"&gt;[Status] = {'ACTIVE'}, [Field A] = {'Blue'}, [Field B] = e({&amp;lt;[Field B] = {'Plain','Color'}&amp;gt;})&amp;gt;} &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;STRONG&gt;Distinct [Product ID])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 00:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991331#M337758</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-03T00:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991332#M337759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not working Sunny. do you have any other suggestion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 04:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991332#M337759</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-03T04:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991333#M337760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest to extend the flag-field to a real else-part like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(FieldA) and Main_start_DT &amp;lt; Main_End_Dt, 1, &lt;STRONG&gt;0&lt;/STRONG&gt;) as "Flag Field"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then to query them within your set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Flag Field]&lt;STRONG&gt; = {0}&lt;/STRONG&gt;, [Status]={'ACTIVE'},[Field A]={'Blue'},[Field B]-={'Plain','Color'}&amp;gt;} &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Distinct [Product ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 17:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991333#M337760</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-03T17:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991334#M337761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QlikDash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Marcus's solution points out, your current [Flag Field] has two possibilities: 1, Null().&lt;/P&gt;&lt;P&gt;The NOT set-analysis operand will not be able to count up the Null() rows of a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following test cannot "grip" the Null area of [Flag Field]:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Flag Field]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={1} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Flag Field]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following can help you measure the existence of Null areas &lt;EM&gt;(but not using set-analysis):&lt;/EM&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NullCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Flag Field]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So per his suggestion, give the areas of missing information a handle &lt;EM&gt;(assigning them '0' instead of Null)&lt;/EM&gt;, should give no problem isolating EQUAL and NOT EQUAL areas in set-analysis. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 18:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991334#M337761</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2015-10-03T18:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991335#M337762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus and Evan Thank you for the suggestion. &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: 13px;"&gt;I made the change to include 0 in the script :&amp;nbsp; if(isnull(FieldA) and Main_start_DT &amp;lt; Main_End_Dt, 1, &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;0&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) as "Flag Field"&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;and assign the Flag field to {0} in the set analysis but it is not working&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 22:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991335#M337762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-03T22:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991336#M337763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before you evaluate the user-interface expression, are you certain the script flag is working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you check the flag set to 1|0, is it doing so properly according to your targeted logic?&amp;nbsp; The IsNull() function won't pick up empty string or space, because they aren't truly null, and I find that If(Len(Trim(FieldA)) is often a more flexible predictor of missing or empty info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, check your Main_start_DT &amp;lt;&amp;nbsp; Main_End_Dt evaluation, and ensure that is evaluating properly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put the [Flag Field] in a list box by itself and check the 'Show Frequency' options.&amp;nbsp; Does the frequency distribution cover areas of both 1 &amp;amp; 0, or is it 100% on just one value.&amp;nbsp; If it 100% on just one value, the script evaluation probably has the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 00:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991336#M337763</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2015-10-04T00:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991337#M337764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While going through your expression I found something which I was not aware of - the case-in-sensitivity of set analysis, I used your expression and started new discussion to understand it better - &lt;A href="https://community.qlik.com/message/881880"&gt;Re: Set Analysis - is it case insensitive ?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression worked fine with the sample data I used so I think you may need to see your data further to understand why it is not working -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just attaching the sample I have used, may be it can be of any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;DJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 07:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991337#M337764</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-10-04T07:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991338#M337765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe like &lt;A href="https://community.qlik.com/qlik-users/189406"&gt;Digvijay&lt;/A&gt; that there are further reasons why it's not worked for you at the moment and think you should look at his answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 09:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991338#M337765</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-04T09:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991339#M337766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;I m trying to use set analysis to count with the following and it is not working, &lt;SPAN style="background: yellow;"&gt;&lt;STRONG&gt;the IF statement is working though.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;count({&amp;lt;[Flag Field]-={'1'},&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;[Status]={'ACTIVE'},[Field A]={'Blue'},[Field B]-={'Plain','Color'}&amp;gt;} &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;Distinct [Product ID])&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;what is wrong in the above Expn&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;count(distinct if([Flag Field]&amp;lt;&amp;gt; 1 and [Status]='&lt;SPAN style="background: yellow;"&gt;&lt;STRONG&gt;ACTIVE&lt;/STRONG&gt;&lt;/SPAN&gt;' &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;and [Field A]='&lt;STRONG&gt;&lt;SPAN style="background: yellow;"&gt;Blue&lt;/SPAN&gt;'&lt;/STRONG&gt; and [Field B]&amp;lt;&amp;gt;'&lt;SPAN style="background: yellow;"&gt;&lt;STRONG&gt;Plain&lt;/STRONG&gt;&lt;/SPAN&gt;' and [Field B]&amp;lt;&amp;gt;'&lt;SPAN style="background: yellow;"&gt;&lt;STRONG&gt;Color&lt;/STRONG&gt;&lt;/SPAN&gt;' &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;,[Product ID]))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;Flag field is a calculated field in the script as below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;if(isnull(FieldA) and Main_start_DT &amp;lt; Main_End_Dt &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica',sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;&amp;nbsp; ,1) as "Flag Field"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;





&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;&lt;BR /&gt;While I agree bugs related to inconsistency of set-analysis/search case-sensitivity is a major concern &lt;EM&gt;(please fix this asap, because I &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt; set-analysis)&lt;/EM&gt;, I'm not certain it is the only possibility here.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;You can see in the requested set-modifiers, there is variance in attempts to match by case.&amp;nbsp; The [Status] modifier sought is upper, while [Field A], [Field B] requests are capitalized.&lt;BR /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 9pt;"&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[Status]&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN&gt;={'ACTIVE'},&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: green;"&gt;//attempt to match a fully uppercase value&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;[Field A]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN&gt;={'Blue'},&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: Calibri;"&gt;&lt;SPAN style="color: green;"&gt;//attemp to match capitalized value&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;[Field B]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN&gt;-={'Plain','Color'} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: green;"&gt;//attempt to match capitalized value&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;This implies two possibilities:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;The variance in case in set-modifiers was inadvertent and QlikDash was not paying attention to case when forming set-analysis. &lt;EM&gt;(A big Qlik no-no, as Qlik developers are made aware at nearly all stages that case sensitivity matters)&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;The variance in case of requested set-modifiers was deliberate and QlikDash was specifically trying to match case-sensitive values.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;&lt;BR /&gt;In which case, the set-analysis case-sensitivity bug would only come into play if:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;- the actual contents of a set-modifier are a &lt;EM&gt;case insensitive&lt;/EM&gt; match within the search field&lt;BR /&gt;- are mutually exclusive in terms of a&lt;EM&gt; case-sensitive&lt;/EM&gt; match.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;&lt;EM&gt;&lt;BR /&gt;(i.e. the expression would only be bug impacted under the following conditions:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;[Status] Set-modifier = ‘ACTIVE’&amp;nbsp;&amp;nbsp; | field only contains:&amp;nbsp; ‘active’,’Active’&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;[Field A] Set-modifier = ‘Blue’&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; field only contains:&amp;nbsp; ‘BLUE’,’blue’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;[Field B] Set-modifier = ‘Plain’,’Color’&amp;nbsp; |&amp;nbsp;&amp;nbsp; field only contains:&amp;nbsp; ‘PLAIN’,’plain’,’COLOR’,’color’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;&lt;EM&gt;I'm not listing every variant of case possibility like plAiN, coLOr, etc.. but you get the idea&lt;/EM&gt;)&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 18pt;"&gt;However…&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;QlikDash goes on to assert that the following IF statement is working:&lt;/SPAN&gt;&lt;SPAN style="color: green; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;[Flag Field]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;&amp;lt;&amp;gt; 1 &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;[Status]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;='ACTIVE' &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;[Field A]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;='Blue' &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;[Field B]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;&amp;lt;&amp;gt;'Plain' &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;[Field B]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;&amp;lt;&amp;gt;'Color' &lt;BR /&gt; ,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;[Product ID]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; As far as we are aware, IF statements do not have an issue matching on case-sensitivity.&amp;nbsp;&amp;nbsp;&amp;nbsp; Which implies the following field values are present and being properly detected in the data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;[Status]: ‘ACTIVE’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;[Field A]: ‘Blue’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;[Field B]: ‘Plain’, ‘Color’&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Based on the working IF statement providing “proof of field contents”, if these field values are indeed present, then the set-modifiers from the set-analysis version should still be able to produce correct results, regardless of the bug&amp;nbsp; (&lt;EM&gt;non-wildcard equi/NOT equi matches are not broken when their exact case-sensitive matches are present in the data)&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 16:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991339#M337766</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2015-10-04T16:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991340#M337767</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;&lt;/P&gt;&lt;P&gt;Thank you so much for providing valuable feed back. The discussion took a different direction, however, probably for a much better insight and discovery surrounding set analysis. The goal behind my question was to find why set analysis was not "gripping" non-1 values. It was not really about case sensitivity. but my good luck, that issue was also identified and discussed with a result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it turns out, I was not able to count [Flag Field] with non-1 values because in my data model, I had a where clause which was loading records where [Flag Field] =1; i disabled that and set analysis correctly picked/"GRIPPED" as &lt;A href="https://community.qlik.com/qlik-users/32367"&gt;Evan_Kurowski&lt;/A&gt;‌ likes to call it&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one thing is clear though: If statement picks up non-1 values even when Flag Field is not defined with (1,0) whereas Set analysis seems to only work when Flag Field is articulately defined with a (1,0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I will pick Marcus suggestion because he pointed out first, the possibility of not gripping due to absence of (1,0) in the calculated field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 21:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991340#M337767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T21:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve this with SET ANALYSIS</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991341#M337768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached the qvw that has where clause restricting "0" values of Flag Field.&lt;/P&gt;&lt;P&gt;Thank you &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/14171"&gt;MichelSommer&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/189406"&gt;Digvijay&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/32367"&gt;Evan_Kurowski&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please feel free to correct my understanding. I am dependent on qlik community for what I do to a good extent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 21:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-solve-this-with-SET-ANALYSIS/m-p/991341#M337768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T21:57:03Z</dc:date>
    </item>
  </channel>
</rss>

