<?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 another Alternate State in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673023#M244417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; =count (&amp;nbsp; distinct {State A} &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Field&lt;/SPAN&gt; )&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This will return possible values not selected values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Aug 2014 15:17:13 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-08-13T15:17:13Z</dc:date>
    <item>
      <title>GetSelectedCount() in another Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673018#M244412</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 situation where I need GetSelectedCount(Field) into a Text Box in "Inherited State". &lt;/P&gt;&lt;P&gt;"Field" in Alternate State - "State A".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following expression does not give the count for the "Field" in State "State A", but returns the count of the same Field in Inherited State instead.&lt;/P&gt;&lt;P&gt;=max({State A} GetSelectedCount(Field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please note:&lt;/STRONG&gt; My requirement is to achieve this without changing the state of the text object to "State A".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673018#M244412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-13T10:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in another Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673019#M244413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Test'&amp;amp;chr(32)&amp;amp;if(GetSelectedCount(Your_Field)&amp;gt;0,'- '&amp;amp;GetFieldSelections(Your_Field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673019#M244413</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-08-13T10:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in another Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673020#M244414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am afraid that this would not be possible. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673020#M244414</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-13T10:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in another Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673021#M244415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is not possible, because you don't have any parameters apart from FieldName for GetSelectedCount() and GetFieldSelections().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673021#M244415</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-08-13T10:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in another Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673022#M244416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =count (&amp;nbsp; distinct {State A} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Field&lt;/SPAN&gt; )&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 10:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673022#M244416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-13T10:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount() in another Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673023#M244417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; =count (&amp;nbsp; distinct {State A} &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Field&lt;/SPAN&gt; )&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This will return possible values not selected values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 15:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetSelectedCount-in-another-Alternate-State/m-p/673023#M244417</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-08-13T15:17:13Z</dc:date>
    </item>
  </channel>
</rss>

