<?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: All Months &amp; Quarters Should Display. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235286#M867081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is a sample master calender which I generated for the year 2016. Take a look and adopt the code as per your needs. Hope this helps.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2016 07:27:55 GMT</pubDate>
    <dc:creator>trdandamudi</dc:creator>
    <dc:date>2016-12-09T07:27:55Z</dc:date>
    <item>
      <title>All Months &amp; Quarters Should Display.</title>
      <link>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235282#M867077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've a date only with last Quarter information but on the front-end I would like to display all Months ( Jan to Dec) and Quarters ( Q1, Q2, Q3,Q4). When i use the Master Calendar I see only the months and quarter that i've in my data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this Master Calendar.&lt;/P&gt;&lt;P&gt;MasterCalendar: &lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt; TempDate AS DATE, &lt;/P&gt;&lt;P&gt; week(TempDate) As Week, &lt;/P&gt;&lt;P&gt; Year(TempDate) As Year, &lt;/P&gt;&lt;P&gt; Month(TempDate) As Month, &lt;/P&gt;&lt;P&gt; Day(TempDate) As Day, &lt;/P&gt;&lt;P&gt; 'Q' &amp;amp; ceil(month(TempDate) / 3) AS Quarter, &lt;/P&gt;&lt;P&gt; Week(weekstart(TempDate)) &amp;amp; '-' &amp;amp; WeekYear(TempDate) as WeekYear, &lt;/P&gt;&lt;P&gt; WeekDay(TempDate) as WeekDay &lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//=== Generate a temp table of dates === &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt; date(mindate + IterNo()) AS TempDate&lt;/P&gt;&lt;P&gt; ,maxdate // Used in InYearToDate() above, but not kept &lt;/P&gt;&lt;P&gt;WHILE mindate + IterNo() &amp;lt;= maxdate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//=== Get min/max dates from Field ===/&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt; min(FieldValue('DATE', recno()))-1 as mindate,&lt;/P&gt;&lt;P&gt; max(FieldValue('DATE', recno())) as maxdate&lt;/P&gt;&lt;P&gt;AUTOGENERATE FieldValueCount('DATE');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************&lt;/P&gt;&lt;P&gt;I see the below Quarters and Months in respect to my data. But i wanted to dispay all Quarters and Months. &lt;/P&gt;&lt;P&gt;Please help me!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146132_Capture.PNG" style="height: auto;" /&gt;&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/All-Months-Quarters-Should-Display/m-p/1235282#M867077</guid>
      <dc:creator>MuraliPrasath</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: All Months &amp; Quarters Should Display.</title>
      <link>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235283#M867078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so you need to generate more data using your calendar script.&lt;/P&gt;&lt;P&gt;At the moment it is only loading data between your min and max DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the script like below (you might want to tweek the date format etc)&lt;/P&gt;&lt;P&gt;&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;Date('01/01/2016') as mindate,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date('31/12/2016') as maxdate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AUTOGENERATE 1;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please remember to mark this as helpful or the correct answer if I have helped you or answered your question.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This will help users identify the answers should they come across this thread in the future.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 07:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235283#M867078</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-12-09T07:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: All Months &amp; Quarters Should Display.</title>
      <link>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235284#M867079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on your data, you have only Q4 and that is&amp;nbsp; the reason you are seeing only three months. If you need to see the remaining quarters and the months then make sure your minimum date starts from 01/01/2016. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 07:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235284#M867079</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-12-09T07:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: All Months &amp; Quarters Should Display.</title>
      <link>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235285#M867080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to generate dummy dates which they fill all your needs, then you derive your fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 07:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235285#M867080</guid>
      <dc:creator />
      <dc:date>2016-12-09T07:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: All Months &amp; Quarters Should Display.</title>
      <link>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235286#M867081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is a sample master calender which I generated for the year 2016. Take a look and adopt the code as per your needs. Hope this helps.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 07:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235286#M867081</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-12-09T07:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: All Months &amp; Quarters Should Display.</title>
      <link>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235287#M867082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is only for three months and your calendar is created based on them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So It will show the available months in the UI.&lt;/P&gt;&lt;P&gt;&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;yearstart(FieldValue('DATE', recno()))-1) as mindate,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;yearend(FieldValue('DATE', recno()))) as maxdate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AUTOGENERATE 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 07:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-Months-Quarters-Should-Display/m-p/1235287#M867082</guid>
      <dc:creator>arasantorule</dc:creator>
      <dc:date>2016-12-09T07:34:28Z</dc:date>
    </item>
  </channel>
</rss>

