<?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 Master Calendar with Hour Minute issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Master-Calendar-with-Hour-Minute-issue/m-p/825124#M666636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm using this piece of code combined with the remaining master calendar script for time with hour minute but I'm having an issue: it seems that I can't get the code to generate the hh:00 time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;floor(MIN(timestamp#(CAL_DATETIME, 'DD-MM-YYYY hh:mm')))&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;as MinDate&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vMinDate = peek('MinDate',0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;TimeStamp($(vMinDate) + (RecNo()/60/24) + (IterNo() -1)) AS AddedTimeStamp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try this for the 1st recno in the 1st iterno, then I'm getting ( for MinDate 41914 -&amp;gt; )&lt;/P&gt;&lt;P&gt;TimeStamp(41914 + (1/60/24) + (1 -1)) = 02/10/2014 00:01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems I can't get the first minute of each hour (hh:00) but only the 2nd (hh:01). I can't figure out what I'm doing wrong here, could you please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you very much,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Marina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2014 16:43:12 GMT</pubDate>
    <dc:creator>marinasbc</dc:creator>
    <dc:date>2014-12-12T16:43:12Z</dc:date>
    <item>
      <title>Master Calendar with Hour Minute issue</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-with-Hour-Minute-issue/m-p/825124#M666636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm using this piece of code combined with the remaining master calendar script for time with hour minute but I'm having an issue: it seems that I can't get the code to generate the hh:00 time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;floor(MIN(timestamp#(CAL_DATETIME, 'DD-MM-YYYY hh:mm')))&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;as MinDate&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vMinDate = peek('MinDate',0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;TimeStamp($(vMinDate) + (RecNo()/60/24) + (IterNo() -1)) AS AddedTimeStamp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try this for the 1st recno in the 1st iterno, then I'm getting ( for MinDate 41914 -&amp;gt; )&lt;/P&gt;&lt;P&gt;TimeStamp(41914 + (1/60/24) + (1 -1)) = 02/10/2014 00:01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems I can't get the first minute of each hour (hh:00) but only the 2nd (hh:01). I can't figure out what I'm doing wrong here, could you please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you very much,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Marina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 16:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-with-Hour-Minute-issue/m-p/825124#M666636</guid>
      <dc:creator>marinasbc</dc:creator>
      <dc:date>2014-12-12T16:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar with Hour Minute issue</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-with-Hour-Minute-issue/m-p/825125#M666637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as RecNo() also starts at 1, the last line actually should read:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;TimeStamp($(vMinDate) + (&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;&lt;STRONG&gt;(RecNo()-1)&lt;/STRONG&gt;&lt;/SPAN&gt;/60/24) + (IterNo() -1)) AS AddedTimeStamp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;but if you post some more of this script, then maybe we can abbreviate it a bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 22:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-with-Hour-Minute-issue/m-p/825125#M666637</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-12-12T22:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar with Hour Minute issue</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-with-Hour-Minute-issue/m-p/825126#M666638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_145648_Pic1.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73381_QlikCommunity_Thread_145648_Pic1.JPG" style="height: 411px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_145648_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/73385_QlikCommunity_Thread_145648_Pic2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14184237697209394" jivemacro_uid="_14184237697209394"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD Timestamp#(CAL_DATETIME, 'DD-MM-YYYY hh:mm') as CAL_DATETIME&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;CAL_DATETIME&lt;/P&gt;
&lt;P&gt;10-02-2014 12:34&lt;/P&gt;
&lt;P&gt;12-02-2014 18:24&lt;/P&gt;
&lt;P&gt;14-02-2014 03:04&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCalendar:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DayName(AddedTimeStamp) as Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour(AddedTimeStamp) as Hour,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(AddedTimeStamp) as Day,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(AddedTimeStamp) as WeekDay,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(AddedTimeStamp) as Week,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekName(AddedTimeStamp) as WeekName,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(AddedTimeStamp) as Month,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(AddedTimeStamp) as MonthName,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Month(AddedTimeStamp)/3) as Quarter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterName(AddedTimeStamp) as QuarterName,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(AddedTimeStamp) as Year,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekYear(AddedTimeStamp) as WeekYear;&lt;/P&gt;
&lt;P&gt;LOAD Timestamp(MinDate+(IterNo()-1)/1440, 'DD-MM-YYYY hh:mm') as AddedTimeStamp&lt;/P&gt;
&lt;P&gt;While MinDate+(IterNo()-1)/1440&amp;lt;=MaxDate;&lt;/P&gt;
&lt;P&gt;LOAD Floor(Min(CAL_DATETIME)) as MinDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Max(CAL_DATETIME)) as MaxDate&lt;/P&gt;
&lt;P&gt;Resident table1;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 22:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-with-Hour-Minute-issue/m-p/825126#M666638</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-12-12T22:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar with Hour Minute issue</title>
      <link>https://community.qlik.com/t5/QlikView/Master-Calendar-with-Hour-Minute-issue/m-p/825127#M666639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES, Thank you very much! That was exactly the problem, thanks!&lt;/P&gt;&lt;P&gt;Problem solved &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, thank you for the reply with the master calendar!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Marina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 17:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-Calendar-with-Hour-Minute-issue/m-p/825127#M666639</guid>
      <dc:creator>marinasbc</dc:creator>
      <dc:date>2014-12-18T17:29:44Z</dc:date>
    </item>
  </channel>
</rss>

