<?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: Is Null in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427569#M491150</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;=Sum({&amp;lt;TCNB ={0],TCW-={*}&amp;gt;}TCAmt)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2012 19:30:14 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2012-09-20T19:30:14Z</dc:date>
    <item>
      <title>Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427566#M491147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Help.&amp;nbsp;&amp;nbsp; I am just trying to convert the If/Then SUM expression below, that works fine but is slow, to Set Analysis.&amp;nbsp;&amp;nbsp; I don't know how to get the IsNull to work in Set Analysis despite searching forums.&amp;nbsp;&amp;nbsp; Seems like this should be a simple modification.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please assist??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks MUCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original If/Then that works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;IsNull&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;TCW&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TCNB&lt;/SPAN&gt;=0,&lt;SPAN style="color: #800000;"&gt;TCAmt&lt;/SPAN&gt;)) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Trying to convert to Set Analysis, have tried this one and many others with no luck.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;SPAN style="color: #008000;"&gt;=sum({&amp;lt;TCNB={0}, $(TCW=("")"} TCAmt)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 18:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427566#M491147</guid>
      <dc:creator />
      <dc:date>2012-09-20T18:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427567#M491148</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 like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;TCNB ={0],TCW={''}&amp;gt;}TCAmt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 18:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427567#M491148</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-20T18:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427568#M491149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This resulted in no data.&amp;nbsp;&amp;nbsp; So no luck.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 18:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427568#M491149</guid>
      <dc:creator />
      <dc:date>2012-09-20T18:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427569#M491150</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;=Sum({&amp;lt;TCNB ={0],TCW-={*}&amp;gt;}TCAmt)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 19:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427569#M491150</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-20T19:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427570#M491151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume this will work:&lt;/P&gt;&lt;P&gt;=sum({&lt;STRONG&gt;($ -&amp;lt;TCW={'*'}&amp;gt;) &lt;/STRONG&gt;* &amp;lt;TCNB={'0'}&amp;gt;} TCAmt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 19:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427570#M491151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-20T19:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427571#M491154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well this one seems to be close, the others are not working at all.&amp;nbsp;&amp;nbsp;&amp;nbsp; (name blanked out)&amp;nbsp;&amp;nbsp; It returns the correct SUM in total, but when drilling into details in all cases the If/Then returns data for the Name, and in SOME cases the Set Analysis returns data as well.&amp;nbsp; But in SOME cases it returns NULL (see below for side by side example).&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;You can see the TCW and TCNB values are 0 and NULL, as they should be.&amp;nbsp;&amp;nbsp; Just can't figure out why a bunch of the names are returning NULL, however working fine with If/Then.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other tweaks that might solve this?&amp;nbsp; Thank you again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22264" class="jive-image-thumbnail jive-image" height="92" onclick="" alt="Capture.PNG" src="https://community.qlik.com/legacyfs/online/22264_Capture.PNG" width="598" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 20:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427571#M491154</guid>
      <dc:creator />
      <dc:date>2012-09-20T20:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427572#M491156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mayil is there a typo in the formula?&amp;nbsp;&amp;nbsp; QV is asking for a comma for some reason and giving a syntax error when i try this expression.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 20:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427572#M491156</guid>
      <dc:creator />
      <dc:date>2012-09-20T20:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427573#M491159</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; Its a bug in expression validation ,ignore it. And check the result.. Expression is fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 21:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427573#M491159</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-20T21:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427574#M491161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, i tried it &lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;TCNB ={0],TCW-={*}&amp;gt;}TCAmt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the square bracket after the 0 should be curly bracket right?&amp;nbsp;&amp;nbsp; Regardless i tried it both ways and recieved 0 for all records.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 21:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427574#M491161</guid>
      <dc:creator />
      <dc:date>2012-09-20T21:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427575#M491163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis evaluates data &lt;STRONG&gt;over the complete data set&lt;/STRONG&gt;, it "doesn't know" about the chart dimensions.&amp;nbsp; That means that set analysis modifiers can be used in a chart expression only if they're applicable to any row regardless chart dimensions.&lt;BR /&gt;Apparently it is not the case in your example, hence you get correct result in total but wrong per dimension.&amp;nbsp; Using "if" is the reliable approach here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 12:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427575#M491163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-21T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427576#M491164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael.&amp;nbsp; I was beginning to come to that conclusion as well.&amp;nbsp; I will likely still try and determine why the data model and set analysis works perfectly in some of the results but returns blanks in others.&amp;nbsp; Seems odd but of course there is a reason, just need to find it.&amp;nbsp; I am sure it has something to do with the key table I have created with Outer Joins.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;In the mean time, will stick with the IF, as I have 'bigger fish to fry' in this dev effort.&lt;/P&gt;&lt;P&gt;Appreciate all the feedback!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 12:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427576#M491164</guid>
      <dc:creator />
      <dc:date>2012-09-21T12:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427577#M491165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI - I tried this formula in a different element and it worked perfectly.&amp;nbsp; So marked as correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 21:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427577#M491165</guid>
      <dc:creator />
      <dc:date>2012-09-25T21:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427578#M491166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, FYI&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;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[Field_name]=e({&amp;lt;[&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Field_name&lt;/SPAN&gt;]={''}&amp;gt;} [&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Field_name&lt;/SPAN&gt;]) - if we want NOT ISNULL (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Field_name&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;])&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 05:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/427578#M491166</guid>
      <dc:creator />
      <dc:date>2015-07-02T05:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is Null in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/1616598#M491167</link>
      <description>&lt;P&gt;Hi Micheal,&lt;/P&gt;&lt;P&gt;Requesting to help me understand &lt;SPAN&gt;{&lt;/SPAN&gt;&lt;STRONG&gt;($ -&amp;lt;TCW={'*'}&amp;gt;)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;* &amp;lt;TCNB={'0'}&amp;gt;}&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Das&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 13:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-Null-in-Set-Analysis/m-p/1616598#M491167</guid>
      <dc:creator>jmatarini2015</dc:creator>
      <dc:date>2019-08-26T13:23:18Z</dc:date>
    </item>
  </channel>
</rss>

