<?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 Missing Hours in chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Missing-Hours-in-chart/m-p/1764764#M454206</link>
    <description>&lt;P&gt;Hi team.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jpando_2-1606402989828.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44882i64644C6F22897993/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jpando_2-1606402989828.png" alt="jpando_2-1606402989828.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see in the image attached I have a table with some hours where we track the repairs done by hour.&lt;/P&gt;&lt;P&gt;The need is to add/create the missing hours, because I want to show&amp;nbsp; "0" values, so we can see what are the hours with no repairs.&lt;/P&gt;&lt;P&gt;For example in the table above, on the 1st dimension I don't have "25-nov. 06am" and "25-nov 11am" either. I need to add those values in that table, those values are not in the data model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values are updating every half an hour so the solution should be functional for the future values that are going to be appearing.&lt;/P&gt;&lt;P&gt;In the script I have this for the repair timestamp showed:&lt;/P&gt;&lt;P&gt;Repairs:&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;LOAD&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;closed, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;open, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;unit_status, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;last_unit_repair_timestamp&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;FROM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;.........................................&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;MasterCalendarRepairs:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;LOAD&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt;,&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;Day&lt;/FONT&gt;(&lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt;)&amp;amp;'-'&amp;amp; &lt;FONT color="#3366FF"&gt;Month&lt;/FONT&gt;(&lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt;)&amp;amp;' '&amp;amp;&lt;FONT color="#3366FF"&gt;time&lt;/FONT&gt;(&lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt;,'hh tt') &lt;FONT color="#3366FF"&gt;as&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;DayMonthTimeRepair&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;Resident&lt;/FONT&gt; Repairs &lt;FONT color="#3366FF"&gt;Order by&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt; &lt;FONT color="#3366FF"&gt;ASC&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:46:20 GMT</pubDate>
    <dc:creator>jpando</dc:creator>
    <dc:date>2024-11-16T17:46:20Z</dc:date>
    <item>
      <title>Missing Hours in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-Hours-in-chart/m-p/1764764#M454206</link>
      <description>&lt;P&gt;Hi team.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jpando_2-1606402989828.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/44882i64644C6F22897993/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jpando_2-1606402989828.png" alt="jpando_2-1606402989828.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see in the image attached I have a table with some hours where we track the repairs done by hour.&lt;/P&gt;&lt;P&gt;The need is to add/create the missing hours, because I want to show&amp;nbsp; "0" values, so we can see what are the hours with no repairs.&lt;/P&gt;&lt;P&gt;For example in the table above, on the 1st dimension I don't have "25-nov. 06am" and "25-nov 11am" either. I need to add those values in that table, those values are not in the data model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values are updating every half an hour so the solution should be functional for the future values that are going to be appearing.&lt;/P&gt;&lt;P&gt;In the script I have this for the repair timestamp showed:&lt;/P&gt;&lt;P&gt;Repairs:&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;LOAD&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;closed, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;open, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;unit_status, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF6600"&gt;last_unit_repair_timestamp&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;FROM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;.........................................&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;MasterCalendarRepairs:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;LOAD&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt;,&lt;BR /&gt;&lt;FONT color="#3366FF"&gt;Day&lt;/FONT&gt;(&lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt;)&amp;amp;'-'&amp;amp; &lt;FONT color="#3366FF"&gt;Month&lt;/FONT&gt;(&lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt;)&amp;amp;' '&amp;amp;&lt;FONT color="#3366FF"&gt;time&lt;/FONT&gt;(&lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt;,'hh tt') &lt;FONT color="#3366FF"&gt;as&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;DayMonthTimeRepair&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;Resident&lt;/FONT&gt; Repairs &lt;FONT color="#3366FF"&gt;Order by&lt;/FONT&gt; &lt;FONT color="#FF0000"&gt;last_unit_repair_timestamp&lt;/FONT&gt; &lt;FONT color="#3366FF"&gt;ASC&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-Hours-in-chart/m-p/1764764#M454206</guid>
      <dc:creator>jpando</dc:creator>
      <dc:date>2024-11-16T17:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Hours in chart</title>
      <link>https://community.qlik.com/t5/QlikView/Missing-Hours-in-chart/m-p/1764792#M454208</link>
      <description>&lt;P&gt;you need to generate your calendar independent of the Fact so you have a comprehensive calendar with all the dates/times you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example if you know when your data starts (assuming 1/1/2019)&lt;/P&gt;&lt;P&gt;load Timestamp( date('1/1/2019')+iterno()/24/2) as time&lt;BR /&gt;while floor(date(date('1/1/2019')+iterno()/24/2))&amp;lt;=date('$(vmaxDate)');&lt;BR /&gt;load 1 AutoGenerate(1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where vmaxdate is a variable containing the max of your date time stamp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 17:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Missing-Hours-in-chart/m-p/1764792#M454208</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-11-26T17:35:55Z</dc:date>
    </item>
  </channel>
</rss>

