<?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 Two ListBoxes with Year and Month not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143395#M22644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;BR /&gt;My "wrong" qualifier is specific for the current situation. In fact, I &lt;STRONG&gt;always&lt;/STRONG&gt; create Month-Year field - to the additon of "normal" Year, and Month fileds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2009 00:19:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-05-06T00:19:20Z</dc:date>
    <item>
      <title>Two ListBoxes with Year and Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143391#M22640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have a YearMonth field (eg. 200901) from my datasource and want to create two ListBoxes one to select the year and another one to select the month.&lt;/P&gt;&lt;P&gt;The year ListBox has the function: =Year(MakeDate(left(JAHRMONAT,4), right(JAHRMONAT,2)))&lt;/P&gt;&lt;P&gt;and the month ListBox has the function =Month(MakeDate(left(JAHRMONAT,4), right(JAHRMONAT,2)))&lt;/P&gt;&lt;P&gt;I can select a year and the month are filtered but when I try to filter both the years filter was dropped. E.G. I select a year hold down the CTRL key and then selelect a month. Then is the month green but the year filter is dropped.&lt;/P&gt;&lt;P&gt;Is there a possibility to filter with both list boxes?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Bastian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 22:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143391#M22640</guid>
      <dc:creator>btrompetter</dc:creator>
      <dc:date>2009-05-05T22:21:45Z</dc:date>
    </item>
    <item>
      <title>Two ListBoxes with Year and Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143392#M22641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bastian,&lt;/P&gt;&lt;P&gt;The problem is that when you make a selection in a calculated list box, you're actually selectin g values of the underlying fields. The same field is used in both boxes, so you simply making a new selection, not adding to the existing one.&lt;BR /&gt;The right thing to do is to separate the JAHRMONAT into two separate fields, Month and Year.&lt;BR /&gt;The wrong thing to do (if your prefer so) is to create one calculated list box for Month-Year, something like this:&lt;BR /&gt;month(makedate(left(JAHRMONAT 4), right(date,JAHRMONAT))) &amp;amp; '-' &amp;amp; left(JAHRMONAT,4)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 23:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143392#M22641</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-05T23:12:35Z</dc:date>
    </item>
    <item>
      <title>Two ListBoxes with Year and Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143393#M22642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Bastian,&lt;/P&gt;&lt;P&gt;It is not possible to use two separate list boxes on a single source data field. Also the Current Selections box will show the selection based on the source data field (JAHRMONAT). You should separate the field in your reload script, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; Year(MakeDate(left(JAHRMONAT,4), right(JAHRMONAT,2))) AS Year,&lt;BR /&gt; Month(MakeDate(left(JAHRMONAT,4), right(JAHRMONAT,2))) as Month&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;regards Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 23:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143393#M22642</guid>
      <dc:creator />
      <dc:date>2009-05-05T23:20:20Z</dc:date>
    </item>
    <item>
      <title>Two ListBoxes with Year and Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143394#M22643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Michael Solomovich wrote:The right thing to do is to separate the JAHRMONAT into two separate fields, Month and Year.&lt;BR /&gt;The wrong thing to do (if your prefer so) is to create one calculated list box for Month-Year&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="margin:0in 0in 0pt;"&gt;Right and wrong approaches for dates depend heavily on the application. If you want to compare specific months across years, it's easier to split apart Month and Year fields. But if you want to show a trend report by month for three years, it's easier to do that with a Month-Year field. In my applications at least, I much more often want months like "Jan 09" than simply "January", and I don't consider this wrong, as it is appropriate for my applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 23:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143394#M22643</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-05T23:56:58Z</dc:date>
    </item>
    <item>
      <title>Two ListBoxes with Year and Month not working</title>
      <link>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143395#M22644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;BR /&gt;My "wrong" qualifier is specific for the current situation. In fact, I &lt;STRONG&gt;always&lt;/STRONG&gt; create Month-Year field - to the additon of "normal" Year, and Month fileds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 00:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-ListBoxes-with-Year-and-Month-not-working/m-p/143395#M22644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-06T00:19:20Z</dc:date>
    </item>
  </channel>
</rss>

