<?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 Create Dimension with zero value if not present in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-Dimension-with-zero-value-if-not-present/m-p/1233936#M869800</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 have a requirement to create a Heat Map like below where one dimension having value :&amp;nbsp; A,B,C and other dimension : 1,2,3 and 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on some calculation, I got the values as 2,3 and 4 but there is no value for 1 (see image 1).&lt;/P&gt;&lt;P&gt;So, I want to display 1 also here, with value 0 like in Image 2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: On un-checking "Suppress When value is NULL", it is showing ' - ' in dim1 and dim2 both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144955_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/144977_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Create Dimension with zero value if not present</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Dimension-with-zero-value-if-not-present/m-p/1233936#M869800</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 have a requirement to create a Heat Map like below where one dimension having value :&amp;nbsp; A,B,C and other dimension : 1,2,3 and 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on some calculation, I got the values as 2,3 and 4 but there is no value for 1 (see image 1).&lt;/P&gt;&lt;P&gt;So, I want to display 1 also here, with value 0 like in Image 2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: On un-checking "Suppress When value is NULL", it is showing ' - ' in dim1 and dim2 both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144955_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/144977_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali Gupta&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/Create-Dimension-with-zero-value-if-not-present/m-p/1233936#M869800</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create Dimension with zero value if not present</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Dimension-with-zero-value-if-not-present/m-p/1233937#M869801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need to play with these parameters (see screenshots) :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sshot1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144984_Sshot1.png" style="height: 548px; width: 620px;" /&gt;&lt;IMG alt="Sshot2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/144985_Sshot2.png" style="height: 548px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 09:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Dimension-with-zero-value-if-not-present/m-p/1233937#M869801</guid>
      <dc:creator>thomaslg_wq</dc:creator>
      <dc:date>2016-11-28T09:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create Dimension with zero value if not present</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Dimension-with-zero-value-if-not-present/m-p/1233938#M869802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. But it didn't worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead I did inline load as below : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; Mid(Dimension,1,1) as DIM2,&lt;/P&gt;&lt;P&gt; Mid(Dimension,2,1) as DIM1&lt;/P&gt;&lt;P&gt;Resident Dimension;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Dimension;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this worked for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2016 10:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Dimension-with-zero-value-if-not-present/m-p/1233938#M869802</guid>
      <dc:creator />
      <dc:date>2016-11-28T10:08:12Z</dc:date>
    </item>
  </channel>
</rss>

