<?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 Set variable value with the selected year on the multibox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313107#M495535</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;Go to menu Settings --&amp;gt; Variable Overview. Create a variable (ADD)&amp;nbsp; and put:&lt;/P&gt;&lt;P&gt; =GetCurrentSelections(Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say the variable it's call Var. Now create a Text objext and put =Var&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 14:19:41 GMT</pubDate>
    <dc:creator>jvitantonio</dc:creator>
    <dc:date>2012-02-23T14:19:41Z</dc:date>
    <item>
      <title>Set variable value with the selected year on the multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313106#M495534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm a beginner in qlikview and I want to know if this is possible and how can I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get the selected year on the multibox and set to a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313106#M495534</guid>
      <dc:creator />
      <dc:date>2012-02-23T14:14:14Z</dc:date>
    </item>
    <item>
      <title>Set variable value with the selected year on the multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313107#M495535</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;Go to menu Settings --&amp;gt; Variable Overview. Create a variable (ADD)&amp;nbsp; and put:&lt;/P&gt;&lt;P&gt; =GetCurrentSelections(Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say the variable it's call Var. Now create a Text objext and put =Var&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313107#M495535</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-02-23T14:19:41Z</dc:date>
    </item>
    <item>
      <title>Set variable value with the selected year on the multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313108#M495536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use this expression &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =GetFieldSelections(Fieldname,',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313108#M495536</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-23T14:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set variable value with the selected year on the multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313109#M495537</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;Create a variable Settings - &amp;gt; Variable Overview -&amp;gt; Add -&amp;gt; Give variable name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and give definition of the variable as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Max(YearDimensionName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313109#M495537</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-23T14:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set variable value with the selected year on the multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313110#M495538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Whe I use these expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;=GetCurrentSelections(Year)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;=GetFieldSelections(Fieldname,',')&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I reload the script, It give me an error, and show that cannot load the qvds that I'm using in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;=Max(YearDimensionName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Is, If I want to show a total of a group of selected month in the year or a group of selected years I can't do it 'cause it sum the max of the month or year. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that you can help me with this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 15:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313110#M495538</guid>
      <dc:creator />
      <dc:date>2012-02-23T15:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set variable value with the selected year on the multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313111#M495539</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 using the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat(Distinct &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;YearDimensionName&lt;/SPAN&gt;, ',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you Years in comma separated list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 15:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313111#M495539</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-23T15:19:43Z</dc:date>
    </item>
    <item>
      <title>Set variable value with the selected year on the multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313112#M495540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works get the information that I need. But What can I do to use it on the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 13:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313112#M495540</guid>
      <dc:creator />
      <dc:date>2012-02-24T13:31:19Z</dc:date>
    </item>
    <item>
      <title>Set variable value with the selected year on the multibox</title>
      <link>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313113#M495541</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;Can you explain clearly what you really want.&amp;nbsp; I can't get you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 14:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-variable-value-with-the-selected-year-on-the-multibox/m-p/313113#M495541</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-24T14:58:21Z</dc:date>
    </item>
  </channel>
</rss>

