<?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: create calander months and years only in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089604#M930742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Year(datecolumnname) as Year&lt;/P&gt;&lt;P&gt;Month(Datecolumnname) as month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the above code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2016 05:27:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-17T05:27:49Z</dc:date>
    <item>
      <title>create calander months and years only</title>
      <link>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089600#M930738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found many examples of how to create a calendar table in a QlikView report to act as a selection dimension.&lt;/P&gt;&lt;P&gt;Has anybody got an example of how to create a calendar of just months and years?&lt;/P&gt;&lt;P&gt;I want to match to the calendar on a field that has a YYYYMM value so having a calendar dimension for every day is a bit wasteful.&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/create-calander-months-and-years-only/m-p/1089600#M930738</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: create calander months and years only</title>
      <link>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089601#M930739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The principle is the same. Only instead of adding 1 for each day with IterNo() you use MonthStart( DateField, IterNo() -1) to get the next month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vMin = Num(MakeDate(2010));&lt;/P&gt;&lt;P&gt;LET vMax = Num(MakeDate(2017));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;LOAD Month, Year(Month) as Year;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart($(vMin),IterNo()-1),'YYYYMM') as Month&lt;/P&gt;&lt;P&gt;AutoGenerate 1&lt;/P&gt;&lt;P&gt;While &lt;SPAN style="font-size: 13.3333px;"&gt;MonthStart($(vMin),IterNo()-1) &amp;lt;= $(vMax);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 16:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089601#M930739</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-16T16:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: create calander months and years only</title>
      <link>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089602#M930740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use a "normal" master-calendar which could be used by many applications which may have a different need of granularity and I think that the overhead from a daily level is very small compared to the applications itself so that you wouldn't notice any difference in performance. More informations could you find here: &lt;A href="https://community.qlik.com/docs/DOC-8843"&gt;How to use - Master-Calendar and Date-Values&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, 16 Mar 2016 16:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089602#M930740</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-03-16T16:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: create calander months and years only</title>
      <link>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089603#M930741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Roy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use listed below script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;LET vMinDate = Num(Date('01/01/2015',&lt;/TD&gt;&lt;TD&gt;'DD/MM/YYYY')); //Example. Start Date is September 2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;LET vMaxDate = Num(Date(Today(),&lt;/TD&gt;&lt;TD&gt;'DD/MM/YYYY')); //Today Date is 17/03/2016&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;LOAD DISTINCT MonthStart($(vMinDate) + IterNo() - 1)&amp;nbsp;&amp;nbsp; as Temp_Date&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;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;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 05:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089603#M930741</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-03-17T05:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: create calander months and years only</title>
      <link>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089604#M930742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Year(datecolumnname) as Year&lt;/P&gt;&lt;P&gt;Month(Datecolumnname) as month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the above code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 05:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089604#M930742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-17T05:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: create calander months and years only</title>
      <link>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089605#M930743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a good idea.&amp;nbsp;&amp;nbsp; So you would create a master calendar in a QVD once and then load it on all reports with the required elements.&amp;nbsp; I think I'll do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 08:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089605#M930743</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2016-03-17T08:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: create calander months and years only</title>
      <link>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089606#M930744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code certainly works but it is more sophisticated than I have encountered before.&lt;/P&gt;&lt;P&gt;Can you explain why there are two LOAD statements and why they are not rejected?&amp;nbsp; I have never seen a table created with two LOAD's before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 09:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089606#M930744</guid>
      <dc:creator>rebelfox</dc:creator>
      <dc:date>2016-03-17T09:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: create calander months and years only</title>
      <link>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089607#M930745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's called a preceding load. The results of the lower load are passed upwards in the preceding load. See this blog post for more information: &lt;A href="https://community.qlik.com/qlik-blogpost/2972"&gt;Preceding Load&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 09:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-calander-months-and-years-only/m-p/1089607#M930745</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-17T09:29:45Z</dc:date>
    </item>
  </channel>
</rss>

