<?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 Issues with calendar script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260419#M397638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an existing qlikview application i have an calendar script which generates Min, Max and many other objects for various types of categories. But, it consumes very long time(~24 minutes) where as the rest portion consumes ~4 &lt;SPAN style="font-size: 13.3333px;"&gt;minutes&lt;/SPAN&gt;. Does anyone have an idea of a faster calendar script and also tips to generalize calender objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2016 11:54:38 GMT</pubDate>
    <dc:creator>psk180590</dc:creator>
    <dc:date>2016-12-14T11:54:38Z</dc:date>
    <item>
      <title>Issues with calendar script</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260419#M397638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an existing qlikview application i have an calendar script which generates Min, Max and many other objects for various types of categories. But, it consumes very long time(~24 minutes) where as the rest portion consumes ~4 &lt;SPAN style="font-size: 13.3333px;"&gt;minutes&lt;/SPAN&gt;. Does anyone have an idea of a faster calendar script and also tips to generalize calender objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 11:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260419#M397638</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2016-12-14T11:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with calendar script</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260420#M397639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just what you need:&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewcookbook.com/2015/05/better-calendar-scripts/" title="http://qlikviewcookbook.com/2015/05/better-calendar-scripts/"&gt;Better Calendar Scripts | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 11:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260420#M397639</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-14T11:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with calendar script</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260421#M397640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is this &lt;A href="https://community.qlik.com/docs/DOC-6662"&gt;The Fastest Dynamic Calendar Script (Ever)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But exactly what part is taking the time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 11:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260421#M397640</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-14T11:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with calendar script</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260422#M397641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vineeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my Calender Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;DateListIST:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min(%Key_Date) as MinDate1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max(%Key_Date) as MaxDate1&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident Facts&lt;/P&gt;&lt;P&gt;&amp;nbsp; Where Key = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Join(DateListIST)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min(%Key_&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;) as MinDate2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max(%Key_&lt;SPAN style="font-size: 13.3333px;"&gt;Date&lt;/SPAN&gt;) as MaxDate2&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident Facts&lt;/P&gt;&lt;P&gt;&amp;nbsp; Where Key= '2';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Join(DateListIST)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min(%Key_Date) as MinDate3,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max(%Key_Date) as MaxDate3&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident Facts&lt;/P&gt;&lt;P&gt;&amp;nbsp; Where Key= '3';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Join(DateListIST)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min(%Key_Date) as MinDate4,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max(%Key_Date) as MaxDate4&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident Facts&lt;/P&gt;&lt;P&gt;&amp;nbsp; Where Key= '4';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Join(DateListIST)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min(%Key_Date) as MinDate5,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max(%Key_Date) as MaxDate5&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident Facts&lt;/P&gt;&lt;P&gt;&amp;nbsp; Where Key= '5';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Join(DateListIST)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min(%Key_Datum) as MinDate6,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max(%Key_Datum) as MaxDate6&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident Facts&lt;/P&gt;&lt;P&gt;&amp;nbsp; Where Key= '6'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i check the log file each of this is consuming ~4 mins individually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 12:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260422#M397641</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2016-12-14T12:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with calendar script</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260423#M397642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer the link posted by Sunny and use Field Value instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why are you referring the same field for multiple keys? why don't you use the min and max dates found among all keys?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 12:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260423#M397642</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-14T12:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with calendar script</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260424#M397643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('%Key_Datum',0,'Facts') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MinDate1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('%Key_Datum',-1,'Facts') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxDate1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Facts; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hi, Maybe a peek will make it faster, To use Min and Max in a large dateset will take some time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;You should also do a order by asc on Your Facts table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 12:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260424#M397643</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2016-12-14T12:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with calendar script</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260425#M397644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm fetching the dates from a Fact table which has been concatenated with data from various tables and "Key" in the above script shows which table the data belongs too.&lt;/P&gt;&lt;P&gt;Also, i need to show this tables separately in the dashboard with select able time periods for each.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 13:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260425#M397644</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2016-12-14T13:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with calendar script</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260426#M397645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Staffan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try this too along with the other suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 13:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260426#M397645</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2016-12-14T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with calendar script</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260427#M397646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Fieldvalue(), Refer link posted by &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 13:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-calendar-script/m-p/1260427#M397646</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-14T13:04:49Z</dc:date>
    </item>
  </channel>
</rss>

