<?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: Count number of values selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718738#M1062981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GetSelectedCount is the function you are searching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor283"&gt;&lt;/A&gt;&lt;A name="getselectedcount"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;getselectedcount(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;NombredeCampo [, IncluirExcluidos]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 10:10:53 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2014-09-17T10:10:53Z</dc:date>
    <item>
      <title>Count number of values selected</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718736#M1062979</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;I have a selection field that shows the months (Jan - Dec).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to find out, how many months have been selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use 'Count(Distinct Month)' then I do get the number of selected months, but I also get 12 if there is no month selected. How can I adjust the count to find out if there are none selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718736#M1062979</guid>
      <dc:creator />
      <dc:date>2014-09-17T10:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of values selected</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718737#M1062980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use GetSelectedCount() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718737#M1062980</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-09-17T10:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of values selected</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718738#M1062981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GetSelectedCount is the function you are searching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor283"&gt;&lt;/A&gt;&lt;A name="getselectedcount"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;getselectedcount(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;NombredeCampo [, IncluirExcluidos]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718738#M1062981</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-17T10:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of values selected</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718739#M1062982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=GetSelectedCount(months)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718739#M1062982</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-17T10:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of values selected</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718740#M1062983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=GetSelectedCount(Month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718740#M1062983</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-17T10:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of values selected</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718741#M1062984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Month&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp; '( ' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;amp; ')'&amp;nbsp; will give you count of selected Months&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Chaitanya&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718741#M1062984</guid>
      <dc:creator>ychaitanya</dc:creator>
      <dc:date>2014-09-17T10:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of values selected</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718742#M1062985</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;You can use GetSelectedCount(Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logically when no month is selected then you are getting data of all months therefore It means you have all available month to count.&lt;/P&gt;&lt;P&gt;So try GetSelectedCount() instead of count(Distinct Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718742#M1062985</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-17T10:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of values selected</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718743#M1062986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=GetSelectedCount(months)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718743#M1062986</guid>
      <dc:creator />
      <dc:date>2014-09-17T10:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of values selected</title>
      <link>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718744#M1062987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, thanks so much for all your replies &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 01:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-number-of-values-selected/m-p/718744#M1062987</guid>
      <dc:creator />
      <dc:date>2014-09-18T01:41:56Z</dc:date>
    </item>
  </channel>
</rss>

