<?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: Calendar with Start and End Date from Fact in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107789#M16893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works but why a &amp;amp; instead of a $?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2018 19:58:40 GMT</pubDate>
    <dc:creator>carlcimino</dc:creator>
    <dc:date>2018-07-19T19:58:40Z</dc:date>
    <item>
      <title>Calendar with Start and End Date from Fact</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107786#M16890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to limit my calendar using the max and min dates from my fact dataset.&amp;nbsp; What I have done so far is create the max and min dates in a temp table and used those to set the variable.&amp;nbsp; The part I am having trouble with is how to apply those variables to the calendar itself (I am not auto generating the calendar it is a static table from our corporate systems).&amp;nbsp; Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempCal:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;min(CREATE_DATE) as Min_Create_Date,&lt;/P&gt;&lt;P&gt;max(CREATE_DATE) as Max_Create_Date&lt;/P&gt;&lt;P&gt;Resident CombinedQuotes&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMaxDate = peek(Max_Create_Date,0,'TempCal');&lt;/P&gt;&lt;P&gt;let vMinDate = peek(Min_Create_Date,0,'TempCal')&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CommonCalendar:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCOUNTING_YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left(ACCOUNTING_QUARTER,2) as ACCOUNTING_QUARTER, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCOUNTING_MONTH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MONTH_NUMBER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DAY_OF_WEEK,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCOUNTING_DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCOUNTING_MONTH_YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Date",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALENDAR_YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALENDAR_WEEK_NUMBER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CY_FLAG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PY_FLAG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CM_FLAG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FUTURE_FLAG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YTD_FLAG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PYTD_FLAG&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM [lib://Daily_Quote_QVDs/AcctCal.qvd](qvd)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 18:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107786#M16890</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2018-07-19T18:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with Start and End Date from Fact</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107787#M16891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CommonCalendar:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://Daily_Quote_QVDs/AcctCal.qvd](qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where Date&amp;gt;='&amp;amp;(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMinDate&lt;/SPAN&gt;)' and Date &amp;lt;= &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'&amp;amp;(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMaxDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)' &lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 18:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107787#M16891</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-07-19T18:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with Start and End Date from Fact</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107788#M16892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're missing the where clause. Just have to add the condition where Date greater than your MIN variable and less than your MAX variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 19:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107788#M16892</guid>
      <dc:creator>CarlosAMonroy</dc:creator>
      <dc:date>2018-07-19T19:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with Start and End Date from Fact</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107789#M16893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works but why a &amp;amp; instead of a $?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 19:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107789#M16893</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2018-07-19T19:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar with Start and End Date from Fact</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107790#M16894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mis-typed.should be $&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 12:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-with-Start-and-End-Date-from-Fact/m-p/107790#M16894</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-07-20T12:11:30Z</dc:date>
    </item>
  </channel>
</rss>

