<?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 with Multiple selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367562#M136667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(findoneof(GetCurrentSelections(yourField),'4')&amp;gt;0, 'true','false')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2012 13:00:46 GMT</pubDate>
    <dc:creator>jvitantonio</dc:creator>
    <dc:date>2012-05-24T13:00:46Z</dc:date>
    <item>
      <title>GetFieldSelections with Multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367561#M136666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to check if an item is selected when you've selected multiple items in the field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, let's I have a field with values 1-10. I know that if I only have one selection made, I can use GetFieldSelection. If I want to see if 4 was selected, I can use if(GetFieldSelections(num)=4,True)&lt;/P&gt;&lt;P&gt;What if I've selected values 1,2,3,4,5? I can't use the same logic. Is there anything I can use to see if 4 was selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 12:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367561#M136666</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2012-05-24T12:44:37Z</dc:date>
    </item>
    <item>
      <title>GetFieldSelections with Multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367562#M136667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(findoneof(GetCurrentSelections(yourField),'4')&amp;gt;0, 'true','false')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 13:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367562#M136667</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2012-05-24T13:00:46Z</dc:date>
    </item>
    <item>
      <title>GetFieldSelections with Multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367563#M136668</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 SubStringCount() or WildMatch()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(SubStringCount(GetFieldSelections(num,'|'),'4')&amp;gt;0,1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch(4,$(=GetFieldSelections(num,','))),1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 13:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367563#M136668</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-05-24T13:01:41Z</dc:date>
    </item>
    <item>
      <title>GetFieldSelections with Multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367564#M136669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SubStringCount seems to be doing what I want, but I still have a small problem. In the example I gave, there was only a small data set. In my actual data, there are many more values, and there might be a large amount of selections. In GetFieldSelections, when you get above a certain number of selections, it doesn't list each one - it might say '20 of 300'. Is there a way to make it give the full list?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 13:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367564#M136669</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2012-05-24T13:10:34Z</dc:date>
    </item>
    <item>
      <title>GetFieldSelections with Multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367565#M136670</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; Yes.Then you have to specify the max number of selections&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;GetFieldSelections(num,'|',100) here i assumed you have list box with 100 values.&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;Celambarasan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 13:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367565#M136670</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-05-24T13:15:00Z</dc:date>
    </item>
    <item>
      <title>GetFieldSelections with Multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367566#M136671</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;getselectedcount(YOURFIELD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it gives you the number of field selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 13:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetFieldSelections-with-Multiple-selections/m-p/367566#M136671</guid>
      <dc:creator />
      <dc:date>2012-05-24T13:21:11Z</dc:date>
    </item>
  </channel>
</rss>

