<?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: Year, Quarter, Month Selection List Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435434#M162342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above all suggestions are good &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to do in new way, try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(left(QuarterName(TempDate),7)='Jan-Mar','Q1',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(left(QuarterName(TempDate),7)='Apr-Jun','Q2',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(left(QuarterName(TempDate),7)='Jul-Sep','Q3','Q4')))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Quarter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(---&amp;gt; if you want to create financial quarter just create financial year and change according to month names in above link .)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-premhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 12:31:22 GMT</pubDate>
    <dc:creator>preminqlik</dc:creator>
    <dc:date>2013-07-17T12:31:22Z</dc:date>
    <item>
      <title>Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435421#M162329</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/" style="max-width: 1200px; max-height: 900px;" /&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:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435421#M162329</guid>
      <dc:creator />
      <dc:date>2012-12-13T14:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435422#M162330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(len(&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt; &lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;[Invoice Date]&lt;/SPAN&gt;) &amp;gt; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;,'Q' &amp;amp; Ceil(Month([Invoice Date])/3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;,''&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;) as Quarter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 15:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435422#M162330</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-12-13T15:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435423#M162331</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If(Len(Trim([Invoice Date])) &amp;gt; 0, 'Q' &amp;amp; Ceil(Month([Invoice Date])/3))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 16:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435423#M162331</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-12-13T16:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435424#M162332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may load faster if InvoiceDetail is a large table.&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;Year([Invoice Date]) as Year,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Month([Invoice Date]) as Month,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Date(Monthstart([Invoice Date]), 'D-MMM-YY') as YearMonth,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;'Q' &amp;amp; Ceil(Month([Invoice Date])/3) as Quarter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;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;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Week([Invoice Date]) as Week&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(fieldvalue('Invoice Date',recno())) as [Invoice Date]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AUTOGENERATE fieldvaluecount('Invoice Date')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that will also avoid any null invoice dates, so I don't think it would need the Rob/Mayil change in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 20:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435424#M162332</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2012-12-13T20:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435425#M162333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check whether all the values in invoice date field is in correct date format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 20:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435425#M162333</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-12-13T20:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435426#M162334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some syntax error I think.. not relaoding...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Date],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([Invoice Date]) as Year,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([Invoice Date]) as Month,&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(Trim([Invoice Date])) &amp;gt; 0, 'Q' &amp;amp; Ceil(Month([Invoice Date])/3)) as Quarter&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week([Invoice Date]) as Week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT InvoiceDetail;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 08:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435426#M162334</guid>
      <dc:creator />
      <dc:date>2012-12-14T08:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435427#M162335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As i am new, so i think some error by me in adding your advised code. When I reload, periods not coming up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Date],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([Invoice Date]) as Year,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([Invoice Date]) as Month,&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len( [Invoice Date]) &amp;gt; 0,'Q' &amp;amp; Ceil(Month([Invoice Date])/3,'') as Quarter&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week([Invoice Date]) as Week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT InvoiceDetail;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 08:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435427#M162335</guid>
      <dc:creator />
      <dc:date>2012-12-14T08:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435428#M162336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John! It works great. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I think Load * is same as Load distinct?&lt;/P&gt;&lt;P&gt;2) As I dont need Year-Month and Year-Quarter, after trial and error in puting comma and semi-colon at right places, I wrote like this and it is working ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Calendar]:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;Year([Invoice Date]) as Year,&lt;/P&gt;&lt;P&gt;Month([Invoice Date]) as Month,&lt;/P&gt;&lt;P&gt;'Q' &amp;amp; Ceil(Month([Invoice Date])/3) as Quarter&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;LOAD date(fieldvalue('Invoice Date',recno())) as [Invoice Date]&lt;/P&gt;&lt;P&gt;AUTOGENERATE fieldvaluecount('Invoice Date')&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 08:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435428#M162336</guid>
      <dc:creator />
      <dc:date>2012-12-14T08:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435429#M162337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Format is ok, need to put fuctionlaity to not to consider nil values or suppress nil values in date coulmn. It's working ok with John code, Rob/mayil code I may not have been able to merge correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 08:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435429#M162337</guid>
      <dc:creator />
      <dc:date>2012-12-14T08:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435430#M162338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear John/All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont have any associated data with selection 2011(Year) and Q2(quarter). But when I click 2011 and then Q2, it brings data assocated with 2012 and Q2. Upon clicking Q2, 2012 gets selected and 2011 deselected. Is there any way that it does not jump to 2012 until selected 2012 and Q2?&amp;nbsp; Because if a user has selected 2011, it means he does not want to see 2012 at the moment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise about code to maintain natural flow of viewing and it does not jump to unwanted period.&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>Fri, 14 Dec 2012 11:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435430#M162338</guid>
      <dc:creator />
      <dc:date>2012-12-14T11:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435431#M162339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"LOAD *" means "load all fields".&amp;nbsp; (Edit: It's not the same as a load distinct, and you don't need a load distinct here because the fieldvalue() approach already gives you distinct values.)&amp;nbsp; A load statement with another load immediately following is called a "preceding load".&amp;nbsp; What it does is load all rows from the load statement beneath it, and the "LOAD *" tells it to load all fields from it as well.&amp;nbsp; In this case, there's only one field so I could have listed it, but I'm in the "LOAD *" habit in preceding loads unless there's a reason to restrict which fields I'm getting.&amp;nbsp; It's similar to an SQL SELECT *, though that's something I'd recommend almost never doing due to the extra overhead on your DBMS and the way it opens you up to problems caused by new fields added to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your script revision looks fine to me.&amp;nbsp; I nearly always use actual dates formatted as Year, Month and Quarter, as it allows me to use all of QlikView's date functions on them.&amp;nbsp; But it's probably better to do what you've done if you're intending to do things like compare the months of one year to the months of the next, which may well be what you intend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The (overly) simple answer to your question is no, I don't think there's any good way to keep QlikView from deselecting things that don't match the new selection you're making - that's just how QlikView behaves.&amp;nbsp; Some users would prefer it came back and said "no matching data" or something, but that's just not how QlikView behaves.&amp;nbsp; That said, Q2 should have been grayed out when you selected 2011.&amp;nbsp; That MEANS there's no matching data, and it's the user's signal that if they DO select Q2, it's going to change some of their other selections so that Q2 DOES match some data.&amp;nbsp; If the users really want to lock in what they've selected so far, they can use the lock function, but it's really easier if they just learn to recognize what gray selections mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this specific problem, though, one solution would be to generate a calendar with all dates in it instead of just all dates with data.&amp;nbsp; That's actually what I typically do (well, load my calendar from a QVD that has all dates).&amp;nbsp; So you'd let the users select 2011 Q2, and you'd just get no associated invoice data instead of wiping out 2011 when they select Q2.&amp;nbsp; There are ways to pull min and max dates out of your data set, then generate everything between.&amp;nbsp; But more typically, I know the date range that I'm trying to show in an application, such as all data from the beginning of three years ago through today.&amp;nbsp; In that case, you can generate your dates with an AUTOGENERATE statement and not worry about when your actual data starts and ends.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 15:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435431#M162339</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2012-12-14T15:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435432#M162340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It laoding now. I am able to write correct syntax now. Just to learn, I am also trying your suggestion but when it shows up ok all year, quarters (Q1, Q2, Q3, Q4) and months BUT when I click any year, quarter or month data in tables or chart not is filtering up. Code is below for your kind advise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Calendar]:&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;Year([Invoice Date]) as Year,&lt;/P&gt;&lt;P&gt;Month([Invoice Date]) as Month,&lt;/P&gt;&lt;P&gt;if(len([Invoice Date])&amp;gt;0,'Q' &amp;amp; Ceil(Month([Invoice Date])/3),) as Quarter&lt;/P&gt;&lt;P&gt;Resident InvoiceDetail;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 17:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435432#M162340</guid>
      <dc:creator />
      <dc:date>2012-12-14T17:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435433#M162341</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;LOAD DISTINCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Date],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([Invoice Date]) as Year,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([Invoice Date]) as Month,&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len( [Invoice Date]) &amp;gt; 0,'Q' &amp;amp; Ceil(Month([Invoice Date])/3&lt;STRONG&gt;)&lt;/STRONG&gt;,'') as &lt;STRONG&gt;Quarter, // missed comma here and one closing braces.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week([Invoice Date]) as Week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESIDENT InvoiceDetail;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And follows the &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" href="https://community.qlik.com/people/johnw" id="jive-22268887398953688484"&gt;John Witherspoon&lt;/A&gt;&amp;nbsp; suggesion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 17:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435433#M162341</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-12-14T17:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Year, Quarter, Month Selection List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435434#M162342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above all suggestions are good &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to do in new way, try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(left(QuarterName(TempDate),7)='Jan-Mar','Q1',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(left(QuarterName(TempDate),7)='Apr-Jun','Q2',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(left(QuarterName(TempDate),7)='Jul-Sep','Q3','Q4')))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Quarter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(---&amp;gt; if you want to create financial quarter just create financial year and change according to month names in above link .)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-premhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 12:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-Quarter-Month-Selection-List-Box/m-p/435434#M162342</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2013-07-17T12:31:22Z</dc:date>
    </item>
  </channel>
</rss>

