<?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 and alternative state in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920518#M468797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;state is the 3rd parameter, field the 1st&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;this is from Qlik help&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;STRONG&gt;getselectedcount (&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="Italic"&gt;FieldName [, IncludeExcluded [, State]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/STRONG&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 class="example"&gt;Examples&lt;/P&gt;&lt;P class="Code"&gt;getselectedcount ( Year ) &lt;/P&gt;&lt;P class="Code"&gt;getselectedcount ( Year, true( ) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 08:21:59 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-08-12T08:21:59Z</dc:date>
    <item>
      <title>GetSelectedCount and alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920516#M468795</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;Can I use "GetSelectedCount" with alternative state? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a conditional for my expression: sum({[Simulation State]}if([Project type] ='Back up project', Hours)) so that it would do the calculation only if there is at least one value selected in a field "Back up projects". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try if(GetSelectedCount( {[Simulation State]} [Back up projects])&amp;lt;&amp;gt;0, ....) it shows error line for the Alt State first curly bracket.. Is it a syntax problem? If I add only() between getselectedcount and alt state it says expression OK but it doesn't make it work as I want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you community already advanced!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heidi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 07:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920516#M468795</guid>
      <dc:creator />
      <dc:date>2015-08-12T07:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount and alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920517#M468796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look here: &lt;A href="https://community.qlik.com/message/564314"&gt;Re: GetSelectedCount and Alternative State&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 08:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920517#M468796</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-12T08:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount and alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920518#M468797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;state is the 3rd parameter, field the 1st&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;this is from Qlik help&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;STRONG&gt;getselectedcount (&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="Italic"&gt;FieldName [, IncludeExcluded [, State]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/STRONG&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 class="example"&gt;Examples&lt;/P&gt;&lt;P class="Code"&gt;getselectedcount ( Year ) &lt;/P&gt;&lt;P class="Code"&gt;getselectedcount ( Year, true( ) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 08:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920518#M468797</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-12T08:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount and alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920519#M468798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=GetSelectedCount( [Back up projects], False(),&lt;STRONG&gt; 'Simulation State'&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 08:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920519#M468798</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-12T08:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount and alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920520#M468799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It shows an error after the false and without the false() it doesn't work either?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AltStateError.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95759_AltStateError.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 10:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920520#M468799</guid>
      <dc:creator />
      <dc:date>2015-08-12T10:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount and alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920521#M468800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using a version older than 11.2 SR8, the above won't work. This is because it got introduced in SR 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 10:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920521#M468800</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-12T10:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount and alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920522#M468801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Link for SR8 Beta Release which talks about this new added functionality in SR8: &lt;A href="https://community.qlik.com/qlik-blogpost/3839"&gt;QlikView 11.20 Service Release 8 Beta is now available&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 10:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920522#M468801</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-12T10:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount and alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920523#M468802</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;Thank you Sunny and swuehl! I updated to the SR12 version and now everything works as they should (:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heidi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 08:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920523#M468802</guid>
      <dc:creator />
      <dc:date>2015-08-13T08:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount and alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920524#M468803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad we were able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 08:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-and-alternative-state/m-p/920524#M468803</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-13T08:15:41Z</dc:date>
    </item>
  </channel>
</rss>

