<?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 Get Number of Current Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Number-of-Current-Selections/m-p/291145#M108064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean selections in two different fields? If I don't miss anything more simple, this gives you the number of fields with selections in:&lt;/P&gt;&lt;P&gt;=if(len(GetCurrentSelections()),SubStringCount(GetCurrentSelections(),chr(13))+1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean selection within a field,you could use GetSelectedCount() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2011 20:31:20 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-08-22T20:31:20Z</dc:date>
    <item>
      <title>Get Number of Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Number-of-Current-Selections/m-p/291144#M108063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a condition where I need to ensure at least 2 current selections have been made.&amp;nbsp; Does anyone know how to get the number of current selections?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 20:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Number-of-Current-Selections/m-p/291144#M108063</guid>
      <dc:creator />
      <dc:date>2011-08-22T20:08:02Z</dc:date>
    </item>
    <item>
      <title>Get Number of Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Number-of-Current-Selections/m-p/291145#M108064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean selections in two different fields? If I don't miss anything more simple, this gives you the number of fields with selections in:&lt;/P&gt;&lt;P&gt;=if(len(GetCurrentSelections()),SubStringCount(GetCurrentSelections(),chr(13))+1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean selection within a field,you could use GetSelectedCount() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 20:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Number-of-Current-Selections/m-p/291145#M108064</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-22T20:31:20Z</dc:date>
    </item>
    <item>
      <title>Get Number of Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Number-of-Current-Selections/m-p/291146#M108065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;works! thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using it in a button enable statement so I just cutout this part:&lt;/P&gt;&lt;P&gt;SubStringCount(GetCurrentSelections(),chr(13))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 22:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Number-of-Current-Selections/m-p/291146#M108065</guid>
      <dc:creator />
      <dc:date>2011-08-22T22:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get Number of Current Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Number-of-Current-Selections/m-p/291147#M108066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would reduce this to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Alt(SubStringCount(GetCurrentSelections(), Chr(13)) + 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so it doesn't have to GetCurrentSelections() twice. (and because I love Alt even more than Excel's IFERROR)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 15:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Number-of-Current-Selections/m-p/291147#M108066</guid>
      <dc:creator>brian554xx</dc:creator>
      <dc:date>2017-06-28T15:01:45Z</dc:date>
    </item>
  </channel>
</rss>

