<?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: Creating a Master Time Table in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752793#M5477</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikhelptime1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42341iB7F7C226B76FDB55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qlikhelptime1.PNG" alt="qlikhelptime1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I want to output it like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikhelptime2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42340iB00F0504239A8A2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qlikhelptime2.PNG" alt="qlikhelptime2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the minute it could be for every minute or every 15 min, both is ok for me. As I said in the original post I tried to use the same solution as I use for my master calendar. But as you can see in the screenshots my master timetable does not get filled with data!&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2020 12:28:20 GMT</pubDate>
    <dc:creator>Dilie</dc:creator>
    <dc:date>2020-10-15T12:28:20Z</dc:date>
    <item>
      <title>Creating a Master Time Table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752715#M5471</link>
      <description>&lt;P&gt;I am trying to create a master Time Table in Qlik Sense. I tried using the same method that I use for my Master Calendar, but without succes...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;createdOnTime:
Load
	
    CalDate as createdOn_time,
    Hour(CalDate) as createdOn_time_hour,
    Minute(CalDate) as createdOn_time_minute,
    ;

Load 
	Date(MinTime + IterNo()) as CalDate
While MinTime + IterNo() &amp;lt;= MaxTime;

Load

	Num(Min(FieldValue('createdOn_time', RecNo()))) as MinTime, 
    Num(Max(FieldValue('createdOn_time', RecNo()))) as MaxTime
AutoGenerate FieldValueCount('createdOn_time')
;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;createdOn_time is in hh:mm format, I only want to track hours and minutes.&lt;/P&gt;&lt;P&gt;I've read this blog post but it didn't help me forward:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Master-Time-Table/ba-p/1469392" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-Master-Time-Table/ba-p/1469392&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me with fixing my code or help me with better code for the Master Time Table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dilie&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 08:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752715#M5471</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-10-15T08:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Time Table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752745#M5472</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt;&amp;nbsp; how you want to generate time? Do you want to record for each minutes of the day?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 10:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752745#M5472</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-15T10:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Time Table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752760#M5473</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I want to be able to filter in hours and minutes. Every 15 minute is also ok.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 11:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752760#M5473</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-10-15T11:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Time Table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752783#M5474</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt;&amp;nbsp; try below. Assuming&amp;nbsp;createdOn_time is in timestamp format (Date+time) . Below code will create records for every 15 minutes for each day.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Data:
LOAD createdOn_time,
     date(floor(createdOn_time)) as createdOn_Date
FROM Table;

Dates:
LOAD MinDate+IterNo()-1 as Date
While MinDate+IterNo()-1&amp;lt;=MaxDate;
LOAD min(Date) as MinDate,
     max(Date) as MaxDate;
LOAD FieldValue('createdOn_Date',RecNo()) as Date
AutoGenerate FieldValueCount('createdOn_Date');

Join(Dates)
LOAD time(recno()/96,'hh:mm') as Time,
     hour(recno()/96) as Hour,
     Minute(recno()/96) as Minute
autogenerate(96);

Master_time:
LOAD Time,
     Hour,
     Minute,
     timestamp(Date+Time) as createdOn_time
Resident Dates;

DROP Table Dates;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752783#M5474</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-15T12:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Time Table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752785#M5475</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;createdOn_time is in Time format, hh:mm. I already have a createdOn with a master calendar. The only thing I need is a Time table!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752785#M5475</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-10-15T12:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Time Table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752788#M5476</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt;&amp;nbsp; can you share example data with expected output?&amp;nbsp; Because it will give you accurate solution&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752788#M5476</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-15T12:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Time Table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752793#M5477</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikhelptime1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42341iB7F7C226B76FDB55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qlikhelptime1.PNG" alt="qlikhelptime1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I want to output it like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikhelptime2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42340iB00F0504239A8A2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="qlikhelptime2.PNG" alt="qlikhelptime2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the minute it could be for every minute or every 15 min, both is ok for me. As I said in the original post I tried to use the same solution as I use for my master calendar. But as you can see in the screenshots my master timetable does not get filled with data!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752793#M5477</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-10-15T12:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Time Table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752797#M5478</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125582"&gt;@Dilie&lt;/a&gt;&amp;nbsp; try below. Create separate table and link it with actual table on&amp;nbsp;&amp;nbsp;createdOn_time&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// to generate every 1 minute
Master_time:
LOAD time(recno()/1440,'hh:mm') as createdOn_time,
     hour(recno()/1440) as Hour,
     Minute(recno()/1440)as Minute
autogenerate(1440);

// to generate every 15 minute
Master_time:
LOAD time(recno()/96,'hh:mm') as createdOn_time,
     hour(recno()/96) as Hour,
     Minute(recno()/96)as Minute
autogenerate(96);&lt;/LI-CODE&gt;&lt;P&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752797#M5478</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-15T12:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Master Time Table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752801#M5479</link>
      <description>&lt;P&gt;I didn't think about this, for time and hour I can use a static table...&amp;nbsp; I wanted to generate it based on the times I use in my other table. Thanks for this solution it is working!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Creating-a-Master-Time-Table/m-p/1752801#M5479</guid>
      <dc:creator>Dilie</dc:creator>
      <dc:date>2020-10-15T12:50:05Z</dc:date>
    </item>
  </channel>
</rss>

