<?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: Master Calendar slow to load in qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Master-Calendar-slow-to-load-in-qlik-sense/m-p/38804#M2670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, how do I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2018 19:55:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-01T19:55:13Z</dc:date>
    <item>
      <title>Master Calendar slow to load in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-slow-to-load-in-qlik-sense/m-p/38802#M2668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm wondering i'm creating this master calendar correctly, it seems to take quite a while on this part&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;min("Valuation Date") as minDate,&lt;/P&gt;&lt;P&gt;max("Valuation Date") as maxDate&lt;/P&gt;&lt;P&gt;Resident WR_MTD_COMB_DTL_F;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the entire code, After all is said and done I really only care about month end date and i'd like to order it descending but that doesn't seem to work either.&amp;nbsp; Any help would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WR_MTD_COMB_DTL_F:&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM [lib://QVD/CombinedMTDDetailFact3.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;QuartersMap:&lt;BR /&gt; MAPPING Load &lt;BR /&gt; rowno() as Month,&lt;BR /&gt; 'Q' &amp;amp; Ceil(RowNo()/3) as Quarter&lt;BR /&gt; AUTOGENERATE (12);&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;Load&lt;BR /&gt;min("Valuation Date") as minDate,&lt;BR /&gt;max("Valuation Date") as maxDate&lt;BR /&gt;Resident WR_MTD_COMB_DTL_F;&lt;/P&gt;&lt;P&gt;// Temp:&lt;BR /&gt;// Load&lt;BR /&gt;//&amp;nbsp; min(FieldValue("Policy Date",recno()))-1 as mindate,&lt;BR /&gt;//&amp;nbsp; max(FieldValue("Policy Date",recno())) as maxdate&lt;BR /&gt;//&amp;nbsp; AUTOGENERATE FieldValueCount("Policy Date");&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Let varMinDate = Num(Peek('minDate',0,'Temp'));&lt;BR /&gt;Let varMaxDate = Num(Peek('maxDate',0,'Temp'));&lt;BR /&gt;DROP Table Temp;&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;BR /&gt;Load&lt;BR /&gt;$(varMinDate) + Iterno()-1 as Num,&lt;BR /&gt;Date($(varMinDate)+Iterno()-1) as TempDate&lt;BR /&gt;AutoGenerate 1 While $(varMinDate)+IterNo()-1 &amp;lt;= $(varMaxDate);&lt;/P&gt;&lt;P&gt;ValuationCalendar:&lt;BR /&gt;Load &lt;BR /&gt; TempDate AS "Valuation Date",&lt;BR /&gt; DATE(monthend(TempDate)) AS "Valuation MonthEnd Date",&lt;BR /&gt;//&amp;nbsp; week(TempDate) as "Valuation Week",&lt;BR /&gt;//&amp;nbsp; Year(TempDate) as "Valuation Year",&lt;BR /&gt;//&amp;nbsp; Month(TempDate) as "Valuation Month",&lt;BR /&gt;//&amp;nbsp; Day(TempDate) as "Valuation Day",&lt;BR /&gt; ApplyMap('QuartersMap',month(TempDate),Null()) as "Valuation Quarter"&lt;BR /&gt;//&amp;nbsp; Week(weekstart(TempDate)) &amp;amp; '-' &amp;amp; WeekYear(TempDate) as "Valuation Week Year",&lt;BR /&gt;//&amp;nbsp; WeekDay(TempDate) as "Valuation Week Day"&lt;BR /&gt; Resident TempCalendar&lt;BR /&gt; Order By TempDate DESC;&lt;BR /&gt; Drop Table TempCalendar;&lt;BR /&gt; &lt;BR /&gt;Store ValuationCalendar into [lib://QVD/ValuationCalendar.qvd](qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Drop Tables ValuationCalendar;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 13:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-slow-to-load-in-qlik-sense/m-p/38802#M2668</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-01T13:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar slow to load in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-slow-to-load-in-qlik-sense/m-p/38803#M2669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share a mock-up?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 14:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-slow-to-load-in-qlik-sense/m-p/38803#M2669</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2018-05-01T14:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar slow to load in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-slow-to-load-in-qlik-sense/m-p/38804#M2670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, how do I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 19:55:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-slow-to-load-in-qlik-sense/m-p/38804#M2670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-01T19:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar slow to load in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-slow-to-load-in-qlik-sense/m-p/38805#M2671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a lot faster method to get the min/max values of a field than a resident-load, see: &lt;A href="http://qlikviewcookbook.com/2013/09/fastest-method-to-read-maxfield-from-a-qvd/" title="http://qlikviewcookbook.com/2013/09/fastest-method-to-read-maxfield-from-a-qvd/"&gt;“Fastest” Method to Read max(field) From a QVD | Qlikview Cookbook&lt;/A&gt;. Even faster and easier would it be if you set these min/max values fix respectively with some functions. For this see my comment here: &lt;A href="https://community.qlik.com/message/1475729"&gt;Re: Calendar&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 14:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-slow-to-load-in-qlik-sense/m-p/38805#M2671</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-05-02T14:51:41Z</dc:date>
    </item>
  </channel>
</rss>

