<?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 Set Analysis does not suppress zero values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226331#M864497</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;I'm having an issue using set analysis together with not selecting 'suppress zero values'.&lt;/P&gt;&lt;P&gt;I use a pivot table with one dimension and one expression.&amp;nbsp; In this expression, I use set analysis to show data only for the current year (2016), unless an other year is selected by the end user.&lt;/P&gt;&lt;P&gt;My expression looks like this :&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Year) = 0,Sum({&amp;lt;Year = {2016}&amp;gt;} Qtty),Sum(Qtty))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when the end user does not select a Year, I show data for 2016 only.&amp;nbsp; Otherwise, data for the selected Year is shown (or at least, that's my intention).&lt;/P&gt;&lt;P&gt;My pivot table looks like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 12-22-16 at 03.08 PM.PNG" class="jive-image image-1" src="/legacyfs/online/147423_Screen Shot 12-22-16 at 03.08 PM.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I know that there's zero values in Quarter 2016-Q4, so I want to de-select 'suppress zero values' to show this data.&amp;nbsp; But, when I do this, my table also shows data for 2015 and 2017, which is what I have filtered out using set analysis :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 12-22-16 at 03.10 PM.PNG" class="jive-image image-2" height="42" src="/legacyfs/online/147424_Screen Shot 12-22-16 at 03.10 PM.PNG" style="height: 41.8932px; width: 749px;" width="749" /&gt; &lt;/P&gt;&lt;P&gt;How can I prevent this from happening and have QV show a table like this one ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 12-22-16 at 03.18 PM.PNG" class="jive-image image-3" src="/legacyfs/online/147431_Screen Shot 12-22-16 at 03.18 PM.PNG" style="height: 52px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226331#M864497</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;I'm having an issue using set analysis together with not selecting 'suppress zero values'.&lt;/P&gt;&lt;P&gt;I use a pivot table with one dimension and one expression.&amp;nbsp; In this expression, I use set analysis to show data only for the current year (2016), unless an other year is selected by the end user.&lt;/P&gt;&lt;P&gt;My expression looks like this :&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Year) = 0,Sum({&amp;lt;Year = {2016}&amp;gt;} Qtty),Sum(Qtty))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when the end user does not select a Year, I show data for 2016 only.&amp;nbsp; Otherwise, data for the selected Year is shown (or at least, that's my intention).&lt;/P&gt;&lt;P&gt;My pivot table looks like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 12-22-16 at 03.08 PM.PNG" class="jive-image image-1" src="/legacyfs/online/147423_Screen Shot 12-22-16 at 03.08 PM.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I know that there's zero values in Quarter 2016-Q4, so I want to de-select 'suppress zero values' to show this data.&amp;nbsp; But, when I do this, my table also shows data for 2015 and 2017, which is what I have filtered out using set analysis :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 12-22-16 at 03.10 PM.PNG" class="jive-image image-2" height="42" src="/legacyfs/online/147424_Screen Shot 12-22-16 at 03.10 PM.PNG" style="height: 41.8932px; width: 749px;" width="749" /&gt; &lt;/P&gt;&lt;P&gt;How can I prevent this from happening and have QV show a table like this one ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 12-22-16 at 03.18 PM.PNG" class="jive-image image-3" src="/legacyfs/online/147431_Screen Shot 12-22-16 at 03.18 PM.PNG" style="height: 52px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226331#M864497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226332#M864498</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 dont no if this is enough, but try to add Quarter like this:&lt;/P&gt;&lt;P&gt; If(GetSelectedCount(Year) = 0,Sum({&amp;lt;Year = {2016&lt;STRONG&gt;}, Quarter={'*'&lt;/STRONG&gt;}&amp;gt;} Qtty),Sum(Qtty))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 14:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226332#M864498</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-12-22T14:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226333#M864499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you please share your app ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 14:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226333#M864499</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-12-22T14:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226334#M864500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Staffan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, it does not help.&amp;nbsp; I get the same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 14:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226334#M864500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T14:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226335#M864501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The app contains a lot of company-sensitive information like budgets and turnover, so I cannot share the entire app.&lt;/P&gt;&lt;P&gt;I shall try to isolate part of it or create a new app with only this particular data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 14:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226335#M864501</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T14:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226336#M864502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this?&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;&lt;STRONG&gt;If(GetSelectedCount(Year) = 0,&lt;SPAN style="color: #ff0000;"&gt;RangeSum(&lt;/SPAN&gt;Sum({&amp;lt;Year = {2016}&amp;gt;} Qtty)&lt;SPAN style="color: #ff0000;"&gt;, Avg(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;Year = {2016}&amp;gt;}&lt;/SPAN&gt; 0.0000000001))&lt;/SPAN&gt;, Sum(Qtty))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep 'Suppress Zero Values' checked on presentation tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 14:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226336#M864502</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T14:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226337#M864503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works fine for 2016, but now I am missing the zero values for 2015 and 2017 when I select one (or both) of those years.&lt;/P&gt;&lt;P&gt;That's why I wanted to de-select 'suppress zero values'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 14:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226337#M864503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T14:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226338#M864504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(GetSelectedCount(Year) = 0,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(&lt;/SPAN&gt;Sum({&amp;lt;Year = {2016}&amp;gt;} Qtty)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, Avg(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;{&amp;lt;Year = {2016}&amp;gt;}&lt;/SPAN&gt; 0.0000000001))&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(&lt;/STRONG&gt;&lt;/SPAN&gt;Sum(Qtty), &lt;SPAN style="color: #ff0000; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;Avg(0.0000000001)&lt;/STRONG&gt;&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 14:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226338#M864504</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T14:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226339#M864505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works.&amp;nbsp; Brilliant solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks friend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 15:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226339#M864505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T15:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis does not suppress zero values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226340#M864506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 15:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-does-not-suppress-zero-values/m-p/1226340#M864506</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T15:24:17Z</dc:date>
    </item>
  </channel>
</rss>

