<?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: fetch null rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820260#M289163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my data set is close to 10 million so I would rather prefer a set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2015 13:24:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-17T13:24:44Z</dc:date>
    <item>
      <title>set analysis: fetch null rows</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820255#M289158</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;I have this expression in chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14241786091062382" jivemacro_uid="_14241786091062382"&gt;
&lt;P&gt;SUM({&amp;lt;status-={5}&amp;gt;}saleamount)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have unchecked suppress null values and also unchecked supprse zero and missing values. Can someone please tell me why would this expression still not fetch the null rows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820255#M289158</guid>
      <dc:creator />
      <dc:date>2015-02-17T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: fetch null rows</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820256#M289159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum only works with real values (not NULL)&lt;/P&gt;&lt;P&gt;try rangesum instead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820256#M289159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T13:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: fetch null rows</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820257#M289160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but I do see those null values if I remove the set analysis and then uncheck the suppress zero and suppress missing values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the product on dimensions so I would like to see those products that have null sale amount. We do have those empty sale amount against many products but the chart is not showing those if I have the set analysis. If I remove this set analysis, then it seems to work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820257#M289160</guid>
      <dc:creator />
      <dc:date>2015-02-17T13:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: fetch null rows</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820258#M289161</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;Set analysis works in the same way as manual selections. In manual selections, &lt;SPAN style="text-decoration: underline;"&gt;you cannot select NULL values&lt;/SPAN&gt;, and the same applies to set expressions. You have these options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use NULLASVALUE on the field in the load script so that a null behaves like an empty string and is selectable. {&amp;lt;Status={''}&amp;gt;}&lt;/LI&gt;&lt;LI&gt;Set a Null flag in your load script {&amp;lt;NullFlag={1}&amp;gt;}&lt;/LI&gt;&lt;LI&gt;Use&amp;nbsp; &lt;EM&gt;Sum(If(IsNull(Status) Or Status &amp;lt;&amp;gt; 5, saleamount)&amp;nbsp; &lt;/EM&gt;(but that may perform poorly on a large data set)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: the IsNull(Status) is redundant here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820258#M289161</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-17T13:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: fetch null rows</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820259#M289162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try if Statement to ao´void set Analysis?&lt;/P&gt;&lt;P&gt;if (Status&amp;lt;&amp;gt; 5, sum(saleamount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820259#M289162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T13:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: fetch null rows</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820260#M289163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my data set is close to 10 million so I would rather prefer a set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820260#M289163</guid>
      <dc:creator />
      <dc:date>2015-02-17T13:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: fetch null rows</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820261#M289164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first two options in my post use set analysis and should perform well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820261#M289164</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-17T13:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: fetch null rows</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820262#M289165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sure thats the better solution&lt;/P&gt;&lt;P&gt;maybe this might help: multiply your sum with the Boole value *-1 if Status&amp;lt;&amp;gt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Saleamount)*(-1*(Status&amp;lt;&amp;gt;5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you might build a flag in&amp;nbsp; the script&lt;/P&gt;&lt;P&gt;if (Status&amp;lt;&amp;gt;5,1,0) as StatusFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you could use&lt;/P&gt;&lt;P&gt;sum(Saleamount)*StatusFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had something similiar and it was faster than IF conditions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-fetch-null-rows/m-p/820262#M289165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T13:30:51Z</dc:date>
    </item>
  </channel>
</rss>

