<?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 GetFieldSelections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333950#M492320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, people&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have this func:GetFieldSelections(filed)&amp;nbsp; and i have an &lt;SPAN style="color: #000000; font-family: arial, sans-serif; font-size: 10pt; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Multiple &lt;/SPAN&gt;select and i want to get the higest select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like: 2010,2011,2012 and get only 2012. (i do it on variables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone know how to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2012 11:47:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-04T11:47:45Z</dc:date>
    <item>
      <title>GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333950#M492320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, people&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have this func:GetFieldSelections(filed)&amp;nbsp; and i have an &lt;SPAN style="color: #000000; font-family: arial, sans-serif; font-size: 10pt; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;Multiple &lt;/SPAN&gt;select and i want to get the higest select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like: 2010,2011,2012 and get only 2012. (i do it on variables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone know how to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 11:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333950#M492320</guid>
      <dc:creator />
      <dc:date>2012-07-04T11:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333951#M492321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with Max(field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable with:&lt;/P&gt;&lt;P&gt;=Max(field)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 11:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333951#M492321</guid>
      <dc:creator />
      <dc:date>2012-07-04T11:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333952#M492322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thankes for answering but it's still not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is what i do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=GetFieldSelections($(vMaxYear))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but isn't give any value in the text box (for cheaking)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 13:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333952#M492322</guid>
      <dc:creator />
      <dc:date>2012-07-04T13:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333953#M492323</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create a variable like vMaxYear = max(Year)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and use the variable in text box like =vMaxYear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and select the years in list box.. You will get the maximum year ,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 13:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333953#M492323</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-07-04T13:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333954#M492324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i try to be more clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the user select years:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="17716" class="jive-image" alt="YEARS.png" src="https://community.qlik.com/legacyfs/online/17716_YEARS.png" /&gt;&lt;/P&gt;&lt;P&gt;and i want to take the max year from is &lt;SPAN style="text-decoration: underline;"&gt;select&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i use &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;GetFieldSelections(years) i get this in text box: 2009,2010,2011.&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: #eef4f9;"&gt;Now&amp;nbsp; i want to get the max result in this case :2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 13:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333954#M492324</guid>
      <dc:creator />
      <dc:date>2012-07-04T13:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333955#M492325</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 say the result of max(years) in your case. That help to fix the issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 13:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333955#M492325</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-07-04T13:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333956#M492326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2012&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 13:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333956#M492326</guid>
      <dc:creator />
      <dc:date>2012-07-04T13:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333957#M492327</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; Did you check after select the years, and if so, please give in the text&amp;nbsp; object itself ,and check once = max(years) without variable .. I hope it works...check the filed name once..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 13:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333957#M492327</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-07-04T13:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333958#M492328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is working in the textbox, but when i put it in the func: =GetFieldSelections($(vMaxYear))&lt;/P&gt;&lt;P&gt;i get null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 14:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333958#M492328</guid>
      <dc:creator />
      <dc:date>2012-07-04T14:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333959#M492329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a 3 table of big,good(up) and bad(Down) brunchs and a chart to show the progres in time line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, when someone select for e.g. 2009,2010,2011 he get in the chart the up &amp;amp; down every month/Q/year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in table he should get the change from 2009 till 2011 the problem is when he clik more than one year &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;he get null if it only to year i have soulition =GetFieldSelections(KeyYear)-1 and it work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want more dinamic for the user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 15:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333959#M492329</guid>
      <dc:creator />
      <dc:date>2012-07-04T15:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333960#M492330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't really get your point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The suggested &lt;/P&gt;&lt;P&gt;&lt;EM&gt;=max(KeyYear) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. in a variable defintion will return the max possible KeyYear (2012 if nothing is selected, or the maximum KeyYear within the selected list of KeyYears).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just drop the GetFieldSelections() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to get a result when the user has selected at least one KeyYear, define your variable like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=if(GetSelectedCount(KeyYear), max(KeyYear) )&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 15:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections/m-p/333960#M492330</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-04T15:11:22Z</dc:date>
    </item>
  </channel>
</rss>

