<?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 for AND in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424733#M158194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can achieve this using intersection operator.&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;MinNoAfterFirstYes&lt;/SPAN&gt;={*}&amp;gt;}*{&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;MinFirstYes=&lt;/SPAN&gt;{*}&amp;gt;}*{&amp;lt;Audit_Date={"&amp;gt;=$(=Date_Master_From)&amp;lt;=$(=Date_Master_To)"}&amp;gt;} CallID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2012 18:17:39 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-10-17T18:17:39Z</dc:date>
    <item>
      <title>Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424732#M158193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;count( if(not isnull(MinNoAfterFirstYes) and not isnull(MinFirstYes),if(Audit_Date&amp;gt;=Date_Master_From and Audit_Date&amp;lt;=Date_Master_To,CallID)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i write it in set analysis method.....Please help....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 17:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424732#M158193</guid>
      <dc:creator />
      <dc:date>2012-10-17T17:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424733#M158194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can achieve this using intersection operator.&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;MinNoAfterFirstYes&lt;/SPAN&gt;={*}&amp;gt;}*{&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;MinFirstYes=&lt;/SPAN&gt;{*}&amp;gt;}*{&amp;lt;Audit_Date={"&amp;gt;=$(=Date_Master_From)&amp;lt;=$(=Date_Master_To)"}&amp;gt;} CallID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 18:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424733#M158194</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-10-17T18:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424734#M158195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;everything looking gud but its missing not null in above expression. How to use add that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 18:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424734#M158195</guid>
      <dc:creator />
      <dc:date>2012-10-17T18:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424735#M158196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;={*} is to return the non null values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 20:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424735#M158196</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-10-17T20:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424736#M158197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression provided by you is not working....Shows red lines in expression window of any chart object. Syntax error kind of thing. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 07:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424736#M158197</guid>
      <dc:creator />
      <dc:date>2012-10-18T07:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424737#M158198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that {*} calculates null values because nulls cannot be selected. I would probably create a flag into the data that tells you if a certain field is null. Then you can use the flag to include those null rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 08:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424737#M158198</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2012-10-18T08:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424738#M158199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide me the syntax by assuming flag. Anyway I wil create flag. After that what will be the syntax for above expression which I have posted above....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424738#M158199</guid>
      <dc:creator />
      <dc:date>2012-10-18T12:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424739#M158200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide me the syntax by assuming flag. Anyway I wil create flag. After that what will be the syntax for above expression which I have posted above....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424739#M158200</guid>
      <dc:creator />
      <dc:date>2012-10-18T12:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424740#M158201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What this means?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;not isnull(MinNoAfterFirstYes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Your trying to retrieve non null values. right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;It doesn't select null values it will select non null values..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 15:07:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424740#M158201</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-10-18T15:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424741#M158202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am talikng about this expression. It is not working. Shows syntax error when i put in expr&lt;/P&gt;&lt;P&gt;ession window. Can you provide me right syntax.&lt;/P&gt;&lt;P&gt;I tried by changing here and there but not worked. So please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;MinNoAfterFirstYes&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;={*}&amp;gt;}*{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;MinFirstYes=&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;{*}&amp;gt;}*{&amp;lt;Audit_Date={"&amp;gt;=$(=Date_Master_From)&amp;lt;=$(=Date_Master_To)"}&amp;gt;} CallID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 17:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424741#M158202</guid>
      <dc:creator />
      <dc:date>2012-10-18T17:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424742#M158203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oops, my bad about the not isnull &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;Does this expression work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt; MinNoAfterFirstYes={*}, MinFirstYes={*}, Audit_Date={"&amp;gt;=$(=Date_Master_From)&amp;lt;=$(=Date_Master_To)"} &amp;gt;} CallID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should show you all the data that has non null values in fields "MinNoAfterFirstYes" and "MinFirstYes" and the date falls between the defined dates. If it gives you a syntax error, try replacing Audit_Date={"&amp;gt;=$(=Date_Master_From)&amp;lt;=$(=Date_Master_To)"} with (for example) this to see if the date part is the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Audit_Date={"&amp;gt;=1.10.2012 &amp;lt;=31.10.2012"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 06:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424742#M158203</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2012-10-19T06:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424743#M158204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression provided by you is working fine but can you tell me why it shows red lines in expression window of any chart object. For set analysis only it shows like this. If I write the simple if condition then it wont show the red lines. Looks like syntax error but not exactly.(Means it works but red lines shows). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 13:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424743#M158204</guid>
      <dc:creator />
      <dc:date>2012-10-19T13:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for AND</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424744#M158205</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;Often when you use variables in set analysis, the parser thinks there's a syntax error even if there isn't. So basically it's just a "feature" of the parser component &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;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 13:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-AND/m-p/424744#M158205</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2012-10-19T13:16:47Z</dc:date>
    </item>
  </channel>
</rss>

