<?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: Issue with GetSelectedCount() when using IncludeExcluded parameter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581389#M478000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean creating a table in the script that wouldn't be linked up to anythng else but would hold these values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2014 13:45:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-31T13:45:25Z</dc:date>
    <item>
      <title>Issue with GetSelectedCount() when using IncludeExcluded parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581384#M477995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought using &lt;STRONG&gt;GetSelectedCount(FieldName, True())&lt;/STRONG&gt; was supposed to return the total number of distinct values in a field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works for &lt;STRONG&gt;GetSelectedCount(FieldName)&lt;/STRONG&gt; where the selected values are returned but I would like to get the total number of values in the field.&lt;/P&gt;&lt;P&gt;For&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;* &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;F1, F2, F3&lt;BR /&gt;01/01/2012, 01/01/2013, 1&lt;BR /&gt;01/01/2012, 02/01/2013, 2&lt;BR /&gt;01/01/2012, 03/01/2013, 3&lt;BR /&gt;02/01/2012, 01/02/2013, 4&lt;BR /&gt;02/01/2012, 02/02/2013, 5&lt;BR /&gt;02/01/2012, 03/02/2013, 6&lt;BR /&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd expect &lt;STRONG&gt;GetSelectedCount(F1, True())&lt;/STRONG&gt; to return &lt;STRONG&gt;2&lt;/STRONG&gt; at all times (as only 2 unique values) but this isn't happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the only way (?) to do the following instead?&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Count&lt;SPAN style="color: #000000;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;All&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;F1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581384#M477995</guid>
      <dc:creator />
      <dc:date>2014-03-31T13:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with GetSelectedCount() when using IncludeExcluded parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581385#M477996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use fieldvaluecount('F1') too. That's likely the best performing way to get that number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581385#M477996</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-31T13:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with GetSelectedCount() when using IncludeExcluded parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581386#M477997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another easy one for All values i.e. F1 above would return 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581386#M477997</guid>
      <dc:creator />
      <dc:date>2014-03-31T13:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with GetSelectedCount() when using IncludeExcluded parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581387#M477998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;count( all F1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581387#M477998</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-31T13:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with GetSelectedCount() when using IncludeExcluded parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581388#M477999</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 also calculate the value in script in a floating table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581388#M477999</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-03-31T13:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with GetSelectedCount() when using IncludeExcluded parameter</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581389#M478000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean creating a table in the script that wouldn't be linked up to anythng else but would hold these values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-GetSelectedCount-when-using-IncludeExcluded-parameter/m-p/581389#M478000</guid>
      <dc:creator />
      <dc:date>2014-03-31T13:45:25Z</dc:date>
    </item>
  </channel>
</rss>

