<?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 calender min and max in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381341#M810239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this worked. I now have the following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make a scorecard with detailed data from the source (XLS file).&lt;/P&gt;&lt;P&gt;However, if I create a table chart, I get to see more lines than orginally created in the XLS file because they are filled with the dates that are created. I only want to see the lines that are actually filled with data and not only with generated dates. How to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2017 09:00:53 GMT</pubDate>
    <dc:creator>tomgrouwe</dc:creator>
    <dc:date>2017-10-18T09:00:53Z</dc:date>
    <item>
      <title>Master calender min and max</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381335#M810233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me out with the following issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've set up a master calender and i want to set the minimal date on 1-10-2017 and maximum date on 30-9-2018. How to do this. Also, When i create a tablechart i can see all the dates the calender created but there is no further data to display in these rows, and i don't want Qlikview to display these rows. How to solve this? Below you'll find the script for the calender.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;minmaxdates:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; NUM(Date('01/10/2017','DD/MM/YYYY')) As minDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Num(Date('30/09/2018','DD/MM/YYYY')) As maxDate&lt;/P&gt;&lt;P&gt;AutoGenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMindate = Num(Peek('minDate',0,'minmaxdates'));&lt;/P&gt;&lt;P&gt;Let vMaxdate = Num(Peek('maxDate',0,'minmaxdates'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP table minmaxdates;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataRanges:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vMinDate) + IterNo()-1 as dateNum,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date($(vMinDate) + IterNo()-1) as TempDate&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoGenerate 1 While $(vMinDate) + IterNo()-1 &amp;lt;= $(vMaxDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalender:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDate AS AcLoadDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Day(TempDate) AS Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week(TempDate) As Week,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate)&amp;amp;'-'&amp;amp;Week(TempDate) As YearWeek,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(TempDate) As Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate)&amp;amp;'-'&amp;amp;Month(TempDate) As YearMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Q'&amp;amp; Ceil(Month(TempDate)/3) As Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate)&amp;amp;'-'&amp;amp;'Q'&amp;amp; Ceil(Month(TempDate)/3) As YearQuarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate) As Year&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident DataRanges Order by TempDate asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table DataRanges;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381335#M810233</guid>
      <dc:creator>tomgrouwe</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Master calender min and max</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381336#M810234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD *,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(Date) as Day,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(Date) as WeekDay,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(Date) as Week,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekName(Date) as WeekName,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date) as Month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Date) as MonthName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual('Q'&amp;amp;Ceil(Month(Date)/3),Ceil(Month(Date)/3)) as Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q'&amp;amp;Ceil(Month(Date)/3) &amp;amp; '-' &amp;amp; Year(Date) as QuarterYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterName(Date) as QuarterName,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Date) as Year,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(Date) &amp;amp; '-' &amp;amp; Month(Date) as DayMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Week'&amp;amp;Ceil(Day(Date)/7) as WeekNum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekYear(Date) as WeekYear;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD Date(MinDate+IterNo()-1) as Date&amp;nbsp; &lt;/P&gt;&lt;P&gt;While MinDate+IterNo()-1 &amp;lt;= MaxDate;&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD &lt;STRONG&gt;MonthStart(Today())&lt;/STRONG&gt; as MinDate,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;MonthEnd(AddMonths(Today(),11))&lt;/STRONG&gt; as MaxDate&lt;/P&gt;&lt;P&gt;AutoGenerate 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381336#M810234</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-17T08:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Master calender min and max</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381337#M810235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Seems to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One question regarding this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LOAD &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MonthStart(Today())&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; as MinDate, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Is it so, that in November, October would be excluded?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381337#M810235</guid>
      <dc:creator>tomgrouwe</dc:creator>
      <dc:date>2017-10-17T08:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Master calender min and max</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381338#M810236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, You can use this for not exclude the October when we are at November&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MakeDate(2017,10,01) as MinDate&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381338#M810236</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-17T08:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Master calender min and max</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381339#M810237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see. Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381339#M810237</guid>
      <dc:creator>tomgrouwe</dc:creator>
      <dc:date>2017-10-17T08:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Master calender min and max</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381340#M810238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Always,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Note - If you like to wish to close this thread and some response mark as helpful from thread. Go ahead and do ...&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381340#M810238</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-17T08:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Master calender min and max</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381341#M810239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this worked. I now have the following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make a scorecard with detailed data from the source (XLS file).&lt;/P&gt;&lt;P&gt;However, if I create a table chart, I get to see more lines than orginally created in the XLS file because they are filled with the dates that are created. I only want to see the lines that are actually filled with data and not only with generated dates. How to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 09:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381341#M810239</guid>
      <dc:creator>tomgrouwe</dc:creator>
      <dc:date>2017-10-18T09:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Master calender min and max</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381342#M810241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would ask you to create one more thread for that. You can use Calendar table to Fact table using Concatenate between to pull all records from Calendar and your XLS table..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 09:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calender-min-and-max/m-p/1381342#M810241</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-18T09:19:40Z</dc:date>
    </item>
  </channel>
</rss>

