<?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: Populate the Missing Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463128#M558321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a logic to create the Null values for Missing data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jun 2013 11:40:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-12T11:40:35Z</dc:date>
    <item>
      <title>Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463124#M558317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks, I am trying to populate the missing data. Please find the attched qvw and qvd files for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the 3 fields in QVD: &lt;STRONG&gt;ID, MonthName, Qunatity&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the ID's dont have the Quantity values for particular MonthNames. So I need to populate the Missing quantity values with Zero for Each ID &amp;amp; MonthName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 21:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463124#M558317</guid>
      <dc:creator />
      <dc:date>2013-06-11T21:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463125#M558318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right click on your chart &amp;gt; Properties &amp;gt; Dimensions &amp;gt; for each dimension check the box Show All Values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 21:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463125#M558318</guid>
      <dc:creator />
      <dc:date>2013-06-11T21:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463126#M558319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply. Is there any way to do Script level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciated for help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 21:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463126#M558319</guid>
      <dc:creator />
      <dc:date>2013-06-11T21:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463127#M558320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;Gysbert Wassenaar&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also replace nulls with 0's in the script by adding these two lines at the top of the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NullAsValue *;&lt;/P&gt;&lt;P&gt;set NullValue=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/350235#350235"&gt;http://community.qlik.com/message/350235#350235&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 21:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463127#M558320</guid>
      <dc:creator />
      <dc:date>2013-06-11T21:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463128#M558321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a logic to create the Null values for Missing data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 11:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463128#M558321</guid>
      <dc:creator />
      <dc:date>2013-06-12T11:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463129#M558322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should do something similar to what I describe in &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference, however, is that your problem is two-dimensional (ID+MonthName) and the blog post is a bout a one-dimensional case. The document on &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-3786"&gt;http://community.qlik.com/docs/DOC-3786&lt;/A&gt; has an example for a two-dimensional case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 11:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463129#M558322</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-06-12T11:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463130#M558323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked the "Show All values" on the Dimesions tab. Still I didn't see all the values in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 12:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463130#M558323</guid>
      <dc:creator />
      <dc:date>2013-06-12T12:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463131#M558324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks HIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw your blog. but in my case MonthName is string. How can I loop over the string value ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 12:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463131#M558324</guid>
      <dc:creator />
      <dc:date>2013-06-12T12:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463132#M558325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For each vMonth in '01_13','02_13','03_13','04_13','05_13','06_12','07_12','08_12','09_12','10_12','11_12','12_12'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Next vMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield('01_13,02_13,03_13,04_13,05_13,06_12,07_12,08_12,09_12,10_12,11_12,12_12',',') as Month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(month,'00') &amp;amp; '_' &amp;amp; Num(year,'00') as Month;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11 + RecNo() as year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IterNo() as month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; While IterNo() &amp;lt;= 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 12:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463132#M558325</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-06-12T12:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Populate the Missing Data</title>
      <link>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463133#M558326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks HIC. I can't hard code MonthName Values because these values got changed on time varies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I work around and finally done it. Please find the below script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD DISTINCT MONTHNAME FROM T_12M.qvd (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;LET vCount = NoOfRows('TEMP');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;MAPMN: &lt;/P&gt;&lt;P&gt;MAPPING LOAD MONTHNAME, ROWNO() AS VALUE Resident TEMP;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;MNMAP: &lt;/P&gt;&lt;P&gt;MAPPING LOAD ROWNO() AS VAL, MONTHNAME AS MNA RESIDENT TEMP;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DROP Table TEMP;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;T1: &lt;/P&gt;&lt;P&gt;LOAD DISTINCT ORG_INVITEM_ID FROM T_12M.qvd (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;TEMPDATA: &lt;/P&gt;&lt;P&gt;LOAD ORG_INVITEM_ID ,IterNo() AS MONTHNO Resident T1 While IterNo() &amp;lt;= $(vCount);&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD ORG_INVITEM_ID , APPLYMAP('MAPMN',MONTHNAME) AS MONTHNO , QUANTITY FROM T_12M.qvd (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DROP Table T1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;NULLMAP:&lt;/P&gt;&lt;P&gt;MAPPING LOAD NULL(), 0 AutoGenerate 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;MAP QUANTITY using NULLMAP;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD ORG_INVITEM_ID,MONTHNO, ApplyMap('MNMAP',MONTHNO) AS MONTHNAME, QUANTITY Resident TEMPDATA;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DROP Table TEMPDATA;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;UNMAP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on large dataset and I am worried about the performance. Can you please provide the comments on my script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 13:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Populate-the-Missing-Data/m-p/463133#M558326</guid>
      <dc:creator />
      <dc:date>2013-06-12T13:36:04Z</dc:date>
    </item>
  </channel>
</rss>

