<?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: Hide values that equal zero in a straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937798#M951335</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;1. Create a variable "vHideZero" and set value as -1&lt;/P&gt;&lt;P&gt;2. Create the button "hide zeros" and add action External -&amp;gt; Set variable as below&lt;/P&gt;&lt;P&gt;variable : vHideZero&lt;/P&gt;&lt;P&gt;Value:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = if(vHideZero= -1,0,1)&lt;/P&gt;&lt;P&gt;3.in chart,&amp;nbsp; your expression should be&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Count({&amp;lt;TradeMonth={$(vMonthMinus1)},TradeYear={$(vYearMonthMinus1)}&amp;gt;}Destination) &amp;gt;vHideZero,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Count({&amp;lt;TradeMonth={$(vMonthMinus1)},TradeYear={$(vYearMonthMinus1)}&amp;gt;}Destination) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;4. In Presentation tab, Check the "Supress Missing" and uncheck the "Supress Zero values"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;hemanth.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2015 16:39:50 GMT</pubDate>
    <dc:creator>hemhund2016</dc:creator>
    <dc:date>2015-12-02T16:39:50Z</dc:date>
    <item>
      <title>Hide values that equal zero in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937794#M951326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I have a straight table that has several columns with different expressions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;One of the examples is this expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Count({&amp;lt;Month={$(vMonthMinus1)},Year={$(vYearMonthMinus1)}&amp;gt;}Place)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I want to have a button that says 'hide zeros', then when I press this button, if &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Count({&amp;lt;Month={$(vMonthMinus1)},Year={$(vYearMonthMinus1)}&amp;gt;}Place) = 0, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I want to hide all zero values in the column in my straight table and show values &amp;gt;0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Is this possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 16:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937794#M951326</guid>
      <dc:creator>stjernvd</dc:creator>
      <dc:date>2015-12-02T16:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values that equal zero in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937795#M951327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;May be this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;If(vVar = 0, &lt;SPAN style="font-size: 13.3333px;"&gt;Count({&amp;lt;TradeMonth={$(vMonthMinus1)},TradeYear={$(vYearMonthMinus1)}&amp;gt;}Destination),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;If(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;Count({&amp;lt;TradeMonth={$(vMonthMinus1)},TradeYear={$(vYearMonthMinus1)}&amp;gt;}Destination) &amp;gt; 0, &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Count({&amp;lt;TradeMonth={$(vMonthMinus1)},TradeYear={$(vYearMonthMinus1)}&amp;gt;}Destination)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where vVar (&lt;STRONG&gt;If(vVar = 1, 0, 1)&lt;/STRONG&gt;) will be controlled with the button. When it is 0, everything will be showed, when it is 1, you won't see 0s.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 16:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937795#M951327</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-02T16:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values that equal zero in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937796#M951329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to hide the lines where&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Count({&amp;lt;TradeMonth={$(vMonthMinus1)},TradeYear={$(vYearMonthMinus1)}&amp;gt;}Destination) = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;you can enable 'suppress zero values' on presentation tab. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;This will hide the lines where &lt;EM&gt;all&lt;/EM&gt; expression columns are zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;So every other expression needs to check your condition, too:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;If(&amp;nbsp; "ExpressionLabelWithZeros" &amp;lt;&amp;gt; 0, OtherExpression, 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 16:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937796#M951329</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-02T16:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values that equal zero in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937797#M951332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally this - result of 0 - would be hide per default (option within the tab presentation) but if you have further expressions which have a value for this row the row remained visible. Then you would need to implement such condition for each expression, like this (generic approach):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if('$(var)' = 'hidden', if(count(value)&amp;gt;0, ExpressionForThisColumn, Null()), ExpressionForThisColumn)&lt;/P&gt;&lt;P&gt;// the value for var will be changed per button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe an alternatively could be to use several objects within a container and the user could switch which view he/she want to see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 16:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937797#M951332</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-02T16:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values that equal zero in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937798#M951335</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;1. Create a variable "vHideZero" and set value as -1&lt;/P&gt;&lt;P&gt;2. Create the button "hide zeros" and add action External -&amp;gt; Set variable as below&lt;/P&gt;&lt;P&gt;variable : vHideZero&lt;/P&gt;&lt;P&gt;Value:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = if(vHideZero= -1,0,1)&lt;/P&gt;&lt;P&gt;3.in chart,&amp;nbsp; your expression should be&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Count({&amp;lt;TradeMonth={$(vMonthMinus1)},TradeYear={$(vYearMonthMinus1)}&amp;gt;}Destination) &amp;gt;vHideZero,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Count({&amp;lt;TradeMonth={$(vMonthMinus1)},TradeYear={$(vYearMonthMinus1)}&amp;gt;}Destination) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;4. In Presentation tab, Check the "Supress Missing" and uncheck the "Supress Zero values"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;hemanth.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 16:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937798#M951335</guid>
      <dc:creator>hemhund2016</dc:creator>
      <dc:date>2015-12-02T16:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values that equal zero in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937799#M951338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you are having scenario where there are multiple expressions, enabling suppress zero values option on all expressions will only supress rows when complete row is calculated to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With button you should be able to achieve this using variable as suggested above.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 17:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937799#M951338</guid>
      <dc:creator>thakkarrahul01</dc:creator>
      <dc:date>2015-12-02T17:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hide values that equal zero in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937800#M951339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 17:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-values-that-equal-zero-in-a-straight-table/m-p/937800#M951339</guid>
      <dc:creator>stjernvd</dc:creator>
      <dc:date>2015-12-02T17:48:07Z</dc:date>
    </item>
  </channel>
</rss>

