<?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: some coding assistance please in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/some-coding-assistance-please/m-p/1752542#M721509</link>
    <description>&lt;P&gt;The following Design Blog post may be of some help too, but I am not sure.&amp;nbsp; If the above post did work, be sure to close the thread by using the Accept as Solution button on the post...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/How-to-populate-a-sparsely-populated-field/ba-p/1470637" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/How-to-populate-a-sparsely-populated-field/ba-p/1470637&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2020 17:49:41 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-10-14T17:49:41Z</dc:date>
    <item>
      <title>some coding assistance please</title>
      <link>https://community.qlik.com/t5/QlikView/some-coding-assistance-please/m-p/1745719#M721507</link>
      <description>&lt;P&gt;hi guys&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;The data in the model are table volumes, per day and hour.&lt;/P&gt;&lt;P&gt;The problem we sometimes get, is that the whole day is missing and we need to know about those days.&lt;/P&gt;&lt;P&gt;So I...&lt;/P&gt;&lt;P&gt;1) Read the data and create a key existing of the REQ_date and TABLE_NAME.&lt;/P&gt;&lt;P&gt;2). Then I generate a normal calendar using the REQ_DATE and later on, incorporating the TABLE_NAME as well.&lt;/P&gt;&lt;P&gt;My intent is to :&lt;/P&gt;&lt;P&gt;1) Find out which combination of REQ_DATE and TABLE_NAME have no entries in the data and then to Insert/Append these empty rows, with a dummy REQ_HOUR of '00'. So that it at least shows up in the Chart on the first sheet.&lt;/P&gt;&lt;P&gt;I've got most of that right, except the last part - the insert part..I need to take the initially loaded transaction data and just append the rows that contain nothing - please can you assist me with the code - I think my code is very rudimentary - it can probably do with much better looking and performing code.&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/some-coding-assistance-please/m-p/1745719#M721507</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: some coding assistance please</title>
      <link>https://community.qlik.com/t5/QlikView/some-coding-assistance-please/m-p/1748233#M721508</link>
      <description>&lt;P&gt;if i understand the requirement correctly, you wish to add rows in your table t1 for missing dates with the measure=0&lt;/P&gt;&lt;P&gt;instead of creating a separate table MissingValues, use those dates to concatenate to the t1 table.&amp;nbsp; the following code continues yours (add to your script before end script line)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NoConcatenate
req_hr:
load Distinct
REQ_HOUR
Resident
t1
;

join (Missing_Values)
LOAD
REQ_HOUR
Resident
req_hr
;  //code up to here just adds REQ_HOUR to your missing dates
//each missing date will have 24 rows from HR=0 to 23
drop table req_hr;

Concatenate (t1)  //now add the dates and HRS to table t1 with 0 volume
load
%Key,
0 as HOUR_VOLUME,
date#(dat1,'YYYYMMDD') as REQ_DATE,
dat1 as REQ_DATE2,
REQ_HOUR,
tabl as TABLE_NAME,
weekday(date#(dat1,'YYYYMMDD')) as WKDAY,
'HOURLY' as TYPE_GRAPH
Resident
Missing_Values;

drop table Missing_Values  //you dont need this anymore
;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/some-coding-assistance-please/m-p/1748233#M721508</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-09-29T18:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: some coding assistance please</title>
      <link>https://community.qlik.com/t5/QlikView/some-coding-assistance-please/m-p/1752542#M721509</link>
      <description>&lt;P&gt;The following Design Blog post may be of some help too, but I am not sure.&amp;nbsp; If the above post did work, be sure to close the thread by using the Accept as Solution button on the post...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/How-to-populate-a-sparsely-populated-field/ba-p/1470637" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/How-to-populate-a-sparsely-populated-field/ba-p/1470637&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 17:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/some-coding-assistance-please/m-p/1752542#M721509</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-10-14T17:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: some coding assistance please</title>
      <link>https://community.qlik.com/t5/QlikView/some-coding-assistance-please/m-p/1752670#M721510</link>
      <description>&lt;P&gt;Thank you very much Edwin&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 07:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/some-coding-assistance-please/m-p/1752670#M721510</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2020-10-15T07:04:37Z</dc:date>
    </item>
  </channel>
</rss>

