<?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: GetSelectedCount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915113#M317424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've experimented with this formula. Now I see how the first part of it works.&lt;/P&gt;&lt;P&gt;1) getselectedcount (Brands, Var_&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncludeExcluded&lt;/SPAN&gt;=1)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;2) getselectedcount (Brands, Var_&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncludeExcluded&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;These two variants resulted in the different figures according to the value of the variable &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Var_&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncludeExcluded.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;But I still don't see how I should add alternate state to this formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If I type brackets &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[] as you explained above, then QV considers the syntax to be wrong.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Could you please clarify?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;The alternate state name is AS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;How should I add it to the formula: '&lt;SPAN style="font-size: 13.3333330154419px;"&gt;getselectedcount (Brands, Var_&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncludeExcluded&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=0)'?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Jul 2015 16:46:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-26T16:46:43Z</dc:date>
    <item>
      <title>GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915110#M317421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I hear that the function GetSelectedCount (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;in the latest QV version) &lt;/SPAN&gt;is able to take the alternate state as an argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so then what syntax is needed? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard syntax '&lt;SPAN style="font-size: 13.3333330154419px;"&gt;GetSelectedCount({AS} FieldName)' doesn't work.&lt;/SPAN&gt;&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;larisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2015 16:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915110#M317421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-26T16:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915111#M317422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This function will only works in front end&lt;/P&gt;&lt;P&gt;like this(from help)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor285"&gt;&lt;/A&gt;&lt;A name="getselectedcount"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;getselectedcount (&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;FieldName [, IncludeExcluded [, State]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P&gt;Returns the current number of selected values in a field. It is possible to query an alternate state.&lt;/P&gt;&lt;P&gt;If &lt;SPAN class="Italic"&gt;IncludeExcluded&lt;/SPAN&gt; is true the count will include selected values, which are currently excluded by selections in other fields. If false or omitted these values will not be included.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;State&lt;/SPAN&gt; is the alternate state to query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'comic sans ms', sans-serif;"&gt;Feeling Qlikngry?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="8342" data-objecttype="102" href="https://community.qlik.com/docs/DOC-8342" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;How To /Missing Manual(18 articles)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2015 16:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915111#M317422</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-07-26T16:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915112#M317423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Larisa,&lt;/P&gt;&lt;P&gt;Robert is right, but since QV 11.20 SR8.&lt;/P&gt;&lt;P&gt;You remember, Concat() and Count() functions support Alternate State.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2015 16:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915112#M317423</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2015-07-26T16:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915113#M317424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've experimented with this formula. Now I see how the first part of it works.&lt;/P&gt;&lt;P&gt;1) getselectedcount (Brands, Var_&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncludeExcluded&lt;/SPAN&gt;=1)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;2) getselectedcount (Brands, Var_&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncludeExcluded&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;These two variants resulted in the different figures according to the value of the variable &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Var_&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncludeExcluded.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;But I still don't see how I should add alternate state to this formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If I type brackets &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[] as you explained above, then QV considers the syntax to be wrong.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Could you please clarify?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;The alternate state name is AS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;How should I add it to the formula: '&lt;SPAN style="font-size: 13.3333330154419px;"&gt;getselectedcount (Brands, Var_&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IncludeExcluded&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=0)'?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2015 16:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915113#M317424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-26T16:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915114#M317425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;=GetSelectedCount(FieldName, 0, 'AS')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2015 16:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915114#M317425</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-07-26T16:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915115#M317426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! It works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2015 16:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount/m-p/915115#M317426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-26T16:58:07Z</dc:date>
    </item>
  </channel>
</rss>

