<?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: Re: Multiple Selection Trigger based on variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624533#M1107942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;='&amp;amp;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vSelectTAM2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;='&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSelectTAM1) &lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Mar 2014 11:45:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-26T11:45:57Z</dc:date>
    <item>
      <title>Multiple Selection Trigger based on variables</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624528#M1107937</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;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'm currently on my first QV steps, so I really appreciate any help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I want to automatically select a range of month-year dates when clicking on a text box with an action set. The selection has to be last12 months from 2 months before now. For instance, if we are now 03-2014 the selection should be from 01-2013 to 12-2013. I set the variables for the range bounds:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;v1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthName(Date(MonthStart(AddMonths(Max({1} Datefield),-2))-1)), 'MM-YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;v2:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthName(Date(MonthStart(AddMonths(Max({1} Datefield),-13))-1)), 'MM-YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If I add a Field Selection action in the text box:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Field -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;String -&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =$(v1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;it works fine, so v1 and v2 are ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I couldn't make it work when I tried to select the whole range from v1 to v2 (month-year). I found some solutions based on concat(.....|....), but the inside text was always strings, not variables. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 10:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624528#M1107937</guid>
      <dc:creator />
      <dc:date>2014-03-26T10:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection Trigger based on variables</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624529#M1107938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be better if you have enclosed a sample file or sample apps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 10:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624529#M1107938</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-26T10:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection Trigger based on variables</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624530#M1107939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The approach I would use for this is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Have a calendar that has an 'ISMonths-2-14' flag field (i.e. 1 or 0)&lt;/P&gt;&lt;P&gt;2) Create a button that has multiple actions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) Select In Field&amp;nbsp; 'ISMonths-2-14'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b) Select Possible [your months field]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c) Clear field 'ISMonths-2-14'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would give the illusion to the end user of QlikView directly selecting the 12 months you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 10:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624530#M1107939</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-03-26T10:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection Trigger based on variables</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624531#M1107940</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;Today ----&amp;gt; 03-2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create variables&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vBackDate = Date&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Monthstart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()),-2),'MM-YYYY')&amp;nbsp; ----&amp;gt; 01-2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;vFutureDate = &lt;/SPAN&gt;Date&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;YearEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()),'MM-YYYY')&amp;nbsp;&amp;nbsp; ----&amp;gt; 12-2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Button/AnyAction :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Field ---&amp;gt; Your Date Field (MM-YYYY)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SearchString : &lt;/SPAN&gt;='&amp;gt;='&amp;amp;vBackDate&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;='&amp;amp;&lt;SPAN style="font-size: 8pt;"&gt;vFutureDate &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 11:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624531#M1107940</guid>
      <dc:creator />
      <dc:date>2014-03-26T11:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection Trigger based on variables</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624532#M1107941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, I attached a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 11:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624532#M1107941</guid>
      <dc:creator />
      <dc:date>2014-03-26T11:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Multiple Selection Trigger based on variables</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624533#M1107942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;='&amp;amp;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vSelectTAM2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'&amp;lt;='&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vSelectTAM1) &lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 11:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624533#M1107942</guid>
      <dc:creator />
      <dc:date>2014-03-26T11:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection Trigger based on variables</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624534#M1107943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I finally chose your option. Defined in script and simplier to set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 11:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624534#M1107943</guid>
      <dc:creator />
      <dc:date>2014-03-26T11:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection Trigger based on variables</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624535#M1107944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying in this way, but I finally chose the other solution posted. Also thank you anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 11:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624535#M1107944</guid>
      <dc:creator />
      <dc:date>2014-03-26T11:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Selection Trigger based on variables</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624536#M1107945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simpler is usually better &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 11:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Selection-Trigger-based-on-variables/m-p/624536#M1107945</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-03-26T11:56:03Z</dc:date>
    </item>
  </channel>
</rss>

