<?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: Pivot - missing entries in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-missing-entries/m-p/897932#M1000111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no ways to display such missing data without some disadvantages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "classic" way would be to create these data within the script which could be extremly expensive by larger datasets or if you need such approach over all possible data-associations which meant you would need to create a cartesian product over all fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way could be to build such cartesian products within the gui per calculated dimensions. But this is quite complex and beside the need of enormous ressources (ram+cpu) you will have disadvantages with the usability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easier are approaches like you have already done and/or to use a further (dummy) expression with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then to hide them manually or per macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub SetColumnWidth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH23")&lt;/P&gt;&lt;P&gt;chart.SetPixWidth 3, 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But everything will be a compromise. Recommended is to use of insights which you could get from associations-colorsheme from green-white-grey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 10:08:10 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-06-16T10:08:10Z</dc:date>
    <item>
      <title>Pivot - missing entries</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-missing-entries/m-p/897931#M1000110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Afternoon everyone.&lt;/P&gt;&lt;P&gt;I have two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Master&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; width: 336px; height: 112px;" width="334"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;EmpID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Stannis&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sansa&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Cersei&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jon&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Details&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="174" style="border: 1px solid rgb(0, 0, 0); width: 577px; height: 158px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;EmpID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Project&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Feb&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a PIVOT table with the EmpID (and Name) and Month as Dimensions.&amp;nbsp; This gives me the following:&lt;/P&gt;&lt;TABLE height="99" style="height: 101px; width: 337px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;EmpID&lt;/TD&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Project&lt;/TD&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Stannis&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;1&lt;/TD&gt;&lt;TD colspan="1"&gt;Stannis&lt;/TD&gt;&lt;TD colspan="1"&gt;B&lt;/TD&gt;&lt;TD colspan="1"&gt;-&lt;/TD&gt;&lt;TD colspan="1"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Sansa&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Jon&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Jon&lt;/TD&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. with no data for Cersei.&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How can I ensure Cersei has an entry in the PIVOT table?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I would rather not script it at LOAD time.&amp;nbsp; Note also that my data is quite complex - with many entries in the dimension space (specifically PROJECT).&amp;nbsp; I tried using PRESENTATION &amp;gt; SUPPRESS ZERO VALUES (untick), but then it creates many, many entries with blank entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm really after is simply to ensure that Cersei is represented in the PIVOT (without creating an entry for Stannis for projects C and D).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 05:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-missing-entries/m-p/897931#M1000110</guid>
      <dc:creator />
      <dc:date>2015-06-16T05:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot - missing entries</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-missing-entries/m-p/897932#M1000111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no ways to display such missing data without some disadvantages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "classic" way would be to create these data within the script which could be extremly expensive by larger datasets or if you need such approach over all possible data-associations which meant you would need to create a cartesian product over all fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way could be to build such cartesian products within the gui per calculated dimensions. But this is quite complex and beside the need of enormous ressources (ram+cpu) you will have disadvantages with the usability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easier are approaches like you have already done and/or to use a further (dummy) expression with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then to hide them manually or per macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub SetColumnWidth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH23")&lt;/P&gt;&lt;P&gt;chart.SetPixWidth 3, 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But everything will be a compromise. Recommended is to use of insights which you could get from associations-colorsheme from green-white-grey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 10:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-missing-entries/m-p/897932#M1000111</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-16T10:08:10Z</dc:date>
    </item>
  </channel>
</rss>

