<?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 expressions if no values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261381#M1204740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, in the example, the trivial way is to just make Sex a second dimension instead of using two expressions. We'll assume your real case isn't that simple.&lt;/P&gt;&lt;P&gt;One way I'm thinking to do it is make three charts (for the example). One with just female, one with just male, and one with both. Then only display the appropriate chart. That would get pretty ridiculous for anything more than a couple expressions, though, since you'd have to have a chart for every combination of expressions.&lt;/P&gt;&lt;P&gt;Ah, probably a better way to do it is with a valuelist. Make a value for each of your expressions. Then combine all your expressions into one with a pick(match()) to get the right expression.&lt;/P&gt;&lt;P&gt;See attached for all three solutions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2011 01:56:24 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-04-27T01:56:24Z</dc:date>
    <item>
      <title>Hide expressions if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261375#M1204734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to hide expressions when there is no values?&lt;/P&gt;&lt;P&gt;Fex: I want to hide "Female"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 144pt; border-collapse: collapse;" width="192"&gt;&lt;COLGROUP&gt;&lt;COL span="3" style="width: 48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-right: #e2e2e2; border-top: windowtext 0.5pt solid; border-left: #e2e2e2; width: 48pt; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;" width="64"&gt;&lt;/TD&gt;&lt;TD class="xl28" style="border-right: #e2e2e2; border-top: windowtext 0.5pt solid; border-left: #e2e2e2; width: 48pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="64"&gt;Female&lt;/TD&gt;&lt;TD class="xl28" style="border-right: #e2e2e2; border-top: windowtext 0.5pt solid; border-left: #e2e2e2; width: 48pt; border-bottom: windowtext 0.5pt solid; background-color: transparent;" width="64"&gt;Male&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD height="17" style="height: 12.75pt; background-color: transparent; border: #e2e2e2;"&gt;xxxx&lt;/TD&gt;&lt;TD class="xl27" style="background-color: transparent; border: #e2e2e2;"&gt;0&lt;/TD&gt;&lt;TD class="xl27" style="background-color: transparent; border: #e2e2e2;"&gt;43&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl24" height="17" style="border-right: #e2e2e2; border-top: #e2e2e2; border-left: #e2e2e2; border-bottom: windowtext 0.5pt solid; height: 12.75pt; background-color: transparent;"&gt;xxxx&lt;/TD&gt;&lt;TD class="xl26" style="border-right: #e2e2e2; border-top: #e2e2e2; border-left: #e2e2e2; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;0&lt;/TD&gt;&lt;TD class="xl26" style="border-right: #e2e2e2; border-top: #e2e2e2; border-left: #e2e2e2; border-bottom: windowtext 0.5pt solid; background-color: transparent;"&gt;41&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 15:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261375#M1204734</guid>
      <dc:creator>matzas</dc:creator>
      <dc:date>2010-06-07T15:35:39Z</dc:date>
    </item>
    <item>
      <title>Re. :Hide expressions if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261376#M1204735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have the 'suppress when value is null' option in the dimension tab of the chart's properties&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/2043.QC.PNG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/2043.QC.PNG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 15:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261376#M1204735</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-06-07T15:57:42Z</dc:date>
    </item>
    <item>
      <title>Re. :Hide expressions if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261377#M1204736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I would use that if a "Dimension" has value null, but I want to do the same thing when an "Expression" have value null.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 16:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261377#M1204736</guid>
      <dc:creator>matzas</dc:creator>
      <dc:date>2010-06-07T16:24:52Z</dc:date>
    </item>
    <item>
      <title>Re. :Hide expressions if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261378#M1204737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think it is possible, so I'm going to make a bad suggestion that would work on your example, but would be harder with a more complicated example. Make multiple charts. Have on that just shows Male, one that just shows Female and one with both. Then using the Conditional Show (Sum{&amp;lt;Gender={"Female"}&amp;gt; Value)&amp;gt;0) to show the one you want to see.&lt;/P&gt;&lt;P&gt;You could probably even come up with a complicated way to only need as many charts as you have expressions. One for one expression, one for two expressions, etc. And then just make the expressions dynamic based on what you want to show.&lt;/P&gt;&lt;P&gt;Like I said, not a very good suggestion. &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 17:36:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261378#M1204737</guid>
      <dc:creator />
      <dc:date>2010-06-07T17:36:03Z</dc:date>
    </item>
    <item>
      <title>Re. :Hide expressions if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261379#M1204738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached are a couple of approaches using this data table:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD * INLINE [&lt;BR /&gt;Type, Sex, Value&lt;BR /&gt;AAAA, Male, 43&lt;BR /&gt;BBBB, Male, 41&lt;BR /&gt;CCCC, Female, 52&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Select types AAAA and BBBB to see the Female columns disappear.&lt;/P&gt;&lt;P&gt;The first chart is a pivot table. If there is no data for the column, it will naturally be removed in a pivot table, no special effort on your part.&lt;/P&gt;&lt;P&gt;The second chart is a straight table with separate expressions for Female and Male. It then uses a conditional show on the presentation tab, where the condition IS the expression. Therefore, if the expression evaluates to 0 or null, it won't display the column. This might not be EXACTLY what you want if there are negatives, since if the positives and negatives add to 0, it would also exclude the column. That can be fixed as well, but wouldn't be worth the extra trouble if you don't have negative values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 20:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261379#M1204738</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-07T20:05:13Z</dc:date>
    </item>
    <item>
      <title>Re. :Hide expressions if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261380#M1204739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to get this solution to work with a bar chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 19:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261380#M1204739</guid>
      <dc:creator />
      <dc:date>2011-04-26T19:32:04Z</dc:date>
    </item>
    <item>
      <title>Re. :Hide expressions if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261381#M1204740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, in the example, the trivial way is to just make Sex a second dimension instead of using two expressions. We'll assume your real case isn't that simple.&lt;/P&gt;&lt;P&gt;One way I'm thinking to do it is make three charts (for the example). One with just female, one with just male, and one with both. Then only display the appropriate chart. That would get pretty ridiculous for anything more than a couple expressions, though, since you'd have to have a chart for every combination of expressions.&lt;/P&gt;&lt;P&gt;Ah, probably a better way to do it is with a valuelist. Make a value for each of your expressions. Then combine all your expressions into one with a pick(match()) to get the right expression.&lt;/P&gt;&lt;P&gt;See attached for all three solutions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 01:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261381#M1204740</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-04-27T01:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re. :Hide expressions if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261382#M1204741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a Ton John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This resolved my issue as well !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 13:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261382#M1204741</guid>
      <dc:creator>sandy2671</dc:creator>
      <dc:date>2012-09-14T13:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hide expressions if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261383#M1204742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The answer depends on what version of QV you use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 14:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-expressions-if-no-values/m-p/261383#M1204742</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-14T14:57:41Z</dc:date>
    </item>
  </channel>
</rss>

