<?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: getfieldselections in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546225#M204030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The brackets outside the $expansion do the trick as long as I select &lt;SPAN style="text-decoration: underline;"&gt;only one value.&lt;/SPAN&gt; once I select multiple he can't cope with the result from the 'getfieldselection'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also added an 'if' to my getfieldselection to take '*' in case nothing was selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the quick response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2013 10:46:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-09T10:46:40Z</dc:date>
    <item>
      <title>getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546223#M204028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone ever used the getfieldselections within a set analysis as a set modifier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I tried to accomplish it but so far without working result: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;attempt 1: within the set analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=avg({1&amp;lt;ext_nis_gewest_naam={'Vlaams Gewest'},ext_data_monthyear={$(=getfieldselection(ext_data_monthyear,','))})&amp;gt;}ext_data_waarde_abs)/Axis_Slider&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;attempt 2: with the getfieldselection in a variable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=avg({1&amp;lt;ext_nis_gewest_naam={'Vlaams Gewest'},ext_data_monthyear={$(#selectionmonthyear})&amp;gt;}ext_data_waarde_abs)/Axis_Slider&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 10:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546223#M204028</guid>
      <dc:creator />
      <dc:date>2013-12-09T10:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546224#M204029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have wrong brakets in second ver near variable #selectionmonthyear:&lt;BR /&gt;{$&lt;STRONG style="text-decoration: underline;"&gt;(&lt;/STRONG&gt;#selectionmonthyear&lt;STRONG style="text-decoration: underline;"&gt;}&lt;/STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;)&lt;/SPAN&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried quotation marks:&lt;BR /&gt;{ &lt;STRONG&gt;'&lt;/STRONG&gt;$(#selectionmonthyear)&lt;STRONG&gt;'&lt;/STRONG&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 10:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546224#M204029</guid>
      <dc:creator>karolina_</dc:creator>
      <dc:date>2013-12-09T10:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546225#M204030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The brackets outside the $expansion do the trick as long as I select &lt;SPAN style="text-decoration: underline;"&gt;only one value.&lt;/SPAN&gt; once I select multiple he can't cope with the result from the 'getfieldselection'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also added an 'if' to my getfieldselection to take '*' in case nothing was selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the quick response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 10:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546225#M204030</guid>
      <dc:creator />
      <dc:date>2013-12-09T10:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546226#M204031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have something like that:&lt;BR /&gt;variable: vCurrent&lt;BR /&gt;Concat(DISTINCT chr(39)&amp;amp;[Field name]&amp;amp;chr(39),',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(only({1&amp;lt;[Field name] -= {$(=$(vCurrentINames))} &amp;gt;} [Field name]),[Field name])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my variable show possible values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try&lt;/P&gt;&lt;P&gt;=Concat(DISTINCT chr(39)&amp;amp;GetFieldSelections([Field name])&amp;amp;chr(39),',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use {$(=$(vCurrent))} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the aim of this variable is to do search string so u can use it in set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 11:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546226#M204031</guid>
      <dc:creator>karolina_</dc:creator>
      <dc:date>2013-12-09T11:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546227#M204032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=avg({1&amp;lt;ext_nis_gewest_naam={'Vlaams Gewest'},ext_data_monthyear={$(=getfieldselection(ext_data_monthyear,','))})&amp;gt;}ext_data_waarde_abs)/Axis_Slider&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;replace with :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;getfieldselection(ext_data_monthyear,','&lt;/SPAN&gt;,8)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or make ur variable like : &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;getfieldselection(ext_data_monthyear,','&lt;/SPAN&gt;,8)&amp;nbsp; - depending which expresion you use ofc.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 11:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546227#M204032</guid>
      <dc:creator />
      <dc:date>2013-12-09T11:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546228#M204033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karolina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Concat(DISTINCT chr(39)&amp;amp;GetFieldSelections([Field name])&amp;amp;chr(39),',') puts the brackets on the outside ('dec-2007, dec-2008') whereas&amp;nbsp; the correct format should be 'dec-2007','dec-2008'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Unless I understood it the wrong way,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;thank you again for your quick reply!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Kr,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Kevin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 11:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546228#M204033</guid>
      <dc:creator />
      <dc:date>2013-12-09T11:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546229#M204034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,you're right i didnt notice it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe then you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;variable: vCurrent&lt;/P&gt;&lt;P&gt;Concat(DISTINCT chr(39)&amp;amp;[Field name]&amp;amp;chr(39),',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the place where you want to use it check if selection was made&lt;BR /&gt;.&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount([Field name]),&lt;/P&gt;&lt;P&gt;Aggr(only({1&amp;lt;[Field name] = {$(=$(vCurrentI))} &amp;gt;} [Field name]),[Field name]),&lt;/P&gt;&lt;P&gt;Here put epression when no selections are made&lt;BR /&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 12:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546229#M204034</guid>
      <dc:creator>karolina_</dc:creator>
      <dc:date>2013-12-09T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546230#M204035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;=replace(Concat(DISTINCT chr(39)&amp;amp;GetFieldSelections([Field Name])&amp;amp;chr(39),','),',',chr(39)&amp;amp;','&amp;amp;chr(39))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 12:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546230#M204035</guid>
      <dc:creator>karolina_</dc:creator>
      <dc:date>2013-12-09T12:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546231#M204036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 13:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546231#M204036</guid>
      <dc:creator />
      <dc:date>2013-12-09T13:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: getfieldselections in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546232#M204037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed expression I use for your requirements but i realized you do not need concat as GetFieldSelections give you Fields separated by comma. That's enough:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=chr(39)&amp;amp;replace(GetFieldSelections([Field Name]),',',chr(39)&amp;amp;','&amp;amp;chr(39))&amp;amp;chr(39)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 08:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getfieldselections-in-set-analysis/m-p/546232#M204037</guid>
      <dc:creator>karolina_</dc:creator>
      <dc:date>2013-12-10T08:18:16Z</dc:date>
    </item>
  </channel>
</rss>

