<?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: Automatic Month Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613897#M226494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that Ramkumar. It is slightly different to what I ended up using but would work as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2014 00:41:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-12T00:41:26Z</dc:date>
    <item>
      <title>Automatic Month Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613892#M226489</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 to following issue:&lt;/P&gt;&lt;P&gt;I have a selection box of month names and data for the targets for each month. The first month of the financial year has a base target number and each month after that has the total increase of the target. ie if July has a target of 100 and June's target is 150, June has a target of 50. The final target value is calculated by adding all the targets together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say a user selects November, I need the selection go automatically select all months prior to November as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a user selects months that do not include the first month of the financial year the target will not calculate correctly. What I need is a way to take to highest month a user selects and add up all the target values up to that month. Is there a simple way to do this? I've tried using set analysis but I'm not quite sure how to get all the months up to the highest month selected. I'm totally stumped!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 05:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613892#M226489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T05:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Month Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613893#M226490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;Menu--&amp;gt; Document properties--&amp;gt;Triggers--&amp;gt;Field event Trigger --&amp;gt; selectfield--&amp;gt; onselect--&amp;gt;add action--&amp;gt; field = value, search string = ='&amp;gt;= &amp;amp; &amp;lt;=' &amp;amp; value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 05:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613893#M226490</guid>
      <dc:creator />
      <dc:date>2014-02-06T05:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Month Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613894#M226491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey thanks for the reply Vishwaranjan. I tried what you suggested but it doesn't seem to work. Any explanation as to what the code is doing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;deally I'd like to be able to use set analysis to calculate the target and save it in a variable. The reason is that there's 3 different targets for each month and only one of them is set up in the way I explained in my previous post. All the others have a new target each month so I just display the target as is. If I change the selection on screen it will then throw out the other targets... Very frustrating!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 06:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613894#M226491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T06:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Month Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613895#M226492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up finding a solution using set analysis. The code I used was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;FiscalMonthName = {"&amp;lt;=$(=max(FiscalMonthName))"}, Quarter=,MonthName= &amp;gt;}Target))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Quarter and MonthName would likely be unique to my environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 22:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613895#M226492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-11T22:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Month Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613896#M226493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try the attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 00:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613896#M226493</guid>
      <dc:creator />
      <dc:date>2014-02-12T00:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Month Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613897#M226494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that Ramkumar. It is slightly different to what I ended up using but would work as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 00:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatic-Month-Selection/m-p/613897#M226494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-12T00:41:26Z</dc:date>
    </item>
  </channel>
</rss>

