<?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: How to create Quarter and Month Selection Boxes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325031#M119738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written this code&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([Invoice Date]) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([Invoice Date]) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Monthstart([Invoice Date]), 'D-MMM-YY') as YearMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; Ceil(Month([Invoice Date])/3) as Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Year([Invoice Date]) &amp;amp; '-Q' &amp;amp; Ceil(Month([Invoice Date])/3), Year([Invoice Date]) &amp;amp; Ceil(Month([Invoice Date])/3)) as YearQtr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week([Invoice Date]) as Week&lt;/P&gt;&lt;P&gt;RESIDENT InvoiceDetail;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;-------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is showing quarter as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/thread/68398" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont want this "Q". There is no record also associated with "Q" when I click it. I need Q1, Q2, Q3 and Q4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;SAK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2012 14:53:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-13T14:53:50Z</dc:date>
    <item>
      <title>How to create Quarter and Month Selection Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325023#M119730</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;I have created a dashboard which has a date field in it which the user can select the date and all the information and charts change. However, the user wants to be able to select, year , quarter and month in stead of a specific date. How can i set this up?&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;Laura &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 16:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325023#M119730</guid>
      <dc:creator />
      <dc:date>2011-11-16T16:27:06Z</dc:date>
    </item>
    <item>
      <title>How to create Quarter and Month Selection Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325024#M119731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Year(date) as Year,&lt;/P&gt;&lt;P&gt;Month(date) as Month,&lt;/P&gt;&lt;P&gt; 'Q' &amp;amp; Ceil(date/3) as Quarter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 16:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325024#M119731</guid>
      <dc:creator />
      <dc:date>2011-11-16T16:40:59Z</dc:date>
    </item>
    <item>
      <title>How to create Quarter and Month Selection Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325025#M119732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are another two to get a concatenation of the month and year...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(monthstart(Date),'MMM-YYYY') as Date_MonthYear,&lt;/P&gt;&lt;P&gt;MonthName(Date) as monthYear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 17:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325025#M119732</guid>
      <dc:creator />
      <dc:date>2011-11-16T17:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Quarter and Month Selection Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325026#M119733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a bit more than you're asking for, but I create a calendar QVD and then load it in the QVWs.&amp;nbsp; That way, I only maintain my date logic in one place, and it helps standardize formats.&amp;nbsp; Here's some of the relevant code (there are a lot more fields than this).&amp;nbsp; I almost never use the "... Only" fields.&amp;nbsp; I almost always prefer data that includes the year in it.&amp;nbsp; An exception would be for year on year comparisons, which are more easily done with the year split out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;[Calendar]:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,dual('Q' &amp;amp; "Quarter Only" &amp;amp; ' ' &amp;amp; "Year Only",quarterstart("Date")) as "Quarter"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,ceil("Month Only"/3) as "Quarter Only"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,date(monthstart("Date"),'MMM YYYY') as "Month"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,date(yearstart("Date"),'YYYY') as "Year"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,month("Date") as "Month Only"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;,year("Date") as "Year Only"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD date(today() + 10000 - recno()) as Date&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AUTOGENERATE 20000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 18:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325026#M119733</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-16T18:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Quarter and Month Selection Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325027#M119734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Where abouts do you put that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 12:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325027#M119734</guid>
      <dc:creator />
      <dc:date>2011-11-17T12:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Quarter and Month Selection Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325028#M119735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry i am really confused :s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Dates Field which has dates like 15/05/2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to break that field down into three selection boxes. Year, Month and Quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i do this within the load script or in the selection box expression tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 12:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325028#M119735</guid>
      <dc:creator />
      <dc:date>2011-11-17T12:34:13Z</dc:date>
    </item>
    <item>
      <title>How to create Quarter and Month Selection Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325029#M119736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Do it in the script. Use this peice of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date_temp:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt; today()-recno()+1 as Date&lt;/P&gt;&lt;P&gt;autogenerate(today()-'2007-12-31');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date as myDateField, - (myDateField is your current date field)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Date) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; Ceil(date/3) as Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(monthstart(Date),'MMM-YYYY') as Date_MonthYear,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Date) as monthYear&lt;/P&gt;&lt;P&gt;Resident Date_temp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 12:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325029#M119736</guid>
      <dc:creator />
      <dc:date>2011-11-17T12:39:44Z</dc:date>
    </item>
    <item>
      <title>How to create Quarter and Month Selection Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325030#M119737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Where abouts in the script. I put it at the bottom and its gets an error. It doesn't like my date field name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 16:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325030#M119737</guid>
      <dc:creator />
      <dc:date>2011-12-06T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Quarter and Month Selection Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325031#M119738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written this code&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([Invoice Date]) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([Invoice Date]) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Monthstart([Invoice Date]), 'D-MMM-YY') as YearMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; Ceil(Month([Invoice Date])/3) as Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Year([Invoice Date]) &amp;amp; '-Q' &amp;amp; Ceil(Month([Invoice Date])/3), Year([Invoice Date]) &amp;amp; Ceil(Month([Invoice Date])/3)) as YearQtr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week([Invoice Date]) as Week&lt;/P&gt;&lt;P&gt;RESIDENT InvoiceDetail;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;-------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is showing quarter as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/thread/68398" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont want this "Q". There is no record also associated with "Q" when I click it. I need Q1, Q2, Q3 and Q4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;SAK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 14:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Quarter-and-Month-Selection-Boxes/m-p/325031#M119738</guid>
      <dc:creator />
      <dc:date>2012-12-13T14:53:50Z</dc:date>
    </item>
  </channel>
</rss>

