<?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 hide dimension entries with no values when using sum TOTAL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/hide-dimension-entries-with-no-values-when-using-sum-TOTAL/m-p/738407#M540488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a full table, where some fields are concatenated to create keys.&lt;/P&gt;&lt;P&gt;These keys are linked to a second table which has values just for some of these keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let say that in Table A, by concatenation I obtain 10 keys&lt;/P&gt;&lt;P&gt;but in Table B I actually have values associated to only 5 of these 10 keys. Let assume these 5 keys ends with AA, meanwhile the keys with no values in table B ends with BB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I use following expression in a pivot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( { 1&amp;lt;key={' *AA'}&amp;gt;} value )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get correct values just for those 5 keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if I use following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max( sum( { 1&amp;lt;key={' *AA'}&amp;gt;} TOTAL value )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the Total sum of all the 5 values is given on ALL of the ten keys.&lt;/P&gt;&lt;P&gt;Previously the pivot was just showing the 5 keys with a value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to avoid to show, by using the max/TOTAL function, the keys which actually dont have a value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2014 11:15:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-24T11:15:11Z</dc:date>
    <item>
      <title>hide dimension entries with no values when using sum TOTAL</title>
      <link>https://community.qlik.com/t5/QlikView/hide-dimension-entries-with-no-values-when-using-sum-TOTAL/m-p/738407#M540488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a full table, where some fields are concatenated to create keys.&lt;/P&gt;&lt;P&gt;These keys are linked to a second table which has values just for some of these keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let say that in Table A, by concatenation I obtain 10 keys&lt;/P&gt;&lt;P&gt;but in Table B I actually have values associated to only 5 of these 10 keys. Let assume these 5 keys ends with AA, meanwhile the keys with no values in table B ends with BB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I use following expression in a pivot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( { 1&amp;lt;key={' *AA'}&amp;gt;} value )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get correct values just for those 5 keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if I use following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max( sum( { 1&amp;lt;key={' *AA'}&amp;gt;} TOTAL value )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the Total sum of all the 5 values is given on ALL of the ten keys.&lt;/P&gt;&lt;P&gt;Previously the pivot was just showing the 5 keys with a value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to avoid to show, by using the max/TOTAL function, the keys which actually dont have a value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 11:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hide-dimension-entries-with-no-values-when-using-sum-TOTAL/m-p/738407#M540488</guid>
      <dc:creator />
      <dc:date>2014-07-24T11:15:11Z</dc:date>
    </item>
  </channel>
</rss>

