<?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: how to return 0 (zero) when set analysis expression not fulfilled in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-return-0-zero-when-set-analysis-expression-not-fulfilled/m-p/85642#M509851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my mistake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 10:33:27 GMT</pubDate>
    <dc:creator>wizardo</dc:creator>
    <dc:date>2018-10-09T10:33:27Z</dc:date>
    <item>
      <title>how to return 0 (zero) when set analysis expression not fulfilled</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-return-0-zero-when-set-analysis-expression-not-fulfilled/m-p/85640#M509849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;let's say i have a set analysis expression like this&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;Year={2015}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;and there is no year 2015 in the data&lt;/P&gt;&lt;P&gt;the expression is calculated and returns sales for all the years&lt;/P&gt;&lt;P&gt;my question is&lt;/P&gt;&lt;P&gt;is it possible to make it return 0 (zero) instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or do I have to use IF&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, 09 Oct 2018 10:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-return-0-zero-when-set-analysis-expression-not-fulfilled/m-p/85640#M509849</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2018-10-09T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to return 0 (zero) when set analysis expression not fulfilled</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-return-0-zero-when-set-analysis-expression-not-fulfilled/m-p/85641#M509850</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;DANIEL CHOTZEN wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;let's say i have a set analysis expression like this&lt;/P&gt;
&lt;P&gt;sum( {&amp;lt;Year={2015}&amp;gt;} sales)&lt;/P&gt;
&lt;P&gt;and &lt;STRONG&gt;there is no year 2015 in the data&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;the expression is calculated and returns sales for all the years&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;my question is&lt;/P&gt;
&lt;P&gt;is it possible to make it return 0 (zero) instead?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;or do I have to use IF&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;



&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is not correct. Qlik returns 0 (zero).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share a sample where the behavior (as you explained) could be noticed? I can think of one possibility - your field reference might be being wrong, i.e. - may be, by mistake you are typing a&amp;nbsp; wrong field name in set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 10:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-return-0-zero-when-set-analysis-expression-not-fulfilled/m-p/85641#M509850</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-10-09T10:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to return 0 (zero) when set analysis expression not fulfilled</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-return-0-zero-when-set-analysis-expression-not-fulfilled/m-p/85642#M509851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my mistake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 10:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-return-0-zero-when-set-analysis-expression-not-fulfilled/m-p/85642#M509851</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2018-10-09T10:33:27Z</dc:date>
    </item>
  </channel>
</rss>

