<?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: Alternate State variable calls GetSelectedCount([_ROWS]) does not work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421675#M1325027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Wynn&lt;/P&gt;&lt;P&gt;BB&amp;amp;T | Financial Technology Services&lt;/P&gt;&lt;P&gt;IT Systems Consultant&lt;/P&gt;&lt;P&gt;7701 Airport Center Drive&lt;/P&gt;&lt;P&gt;Greensboro, NC 27409&lt;/P&gt;&lt;P&gt;Jim.Wynn@bbandt.com&lt;/P&gt;&lt;P&gt;T: 336-455-9269 | C: 336-404-1221&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2017 18:36:49 GMT</pubDate>
    <dc:creator>wynnjimbbt</dc:creator>
    <dc:date>2017-11-06T18:36:49Z</dc:date>
    <item>
      <title>Alternate State variable calls GetSelectedCount([_ROWS]) does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421673#M1325023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;upgrading from QV11.2 SR7 to QV12.1 SR5&lt;/P&gt;&lt;P&gt;variables that call functions like GetSelectedCount([_ROWS]) do not calculate correctly within Alternate State. I cannot find the correct syntax to define the Alternate State in the Variable definition??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vClientFieldSelected:&amp;nbsp;&amp;nbsp; below, how do I define the Alternate State = 'PortView_Model' ??&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;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&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;[_ROWS]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;gt; 0,1,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421673#M1325023</guid>
      <dc:creator>wynnjimbbt</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State variable calls GetSelectedCount([_ROWS]) does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421674#M1325025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can specify which state to use in your GetSelectedCount() function like so:&lt;/P&gt;&lt;P&gt;=If(GetSelectedCount([_ROWS], False(), '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PortView_Model&lt;/SPAN&gt;') &amp;gt; 0, 1, 0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 16:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421674#M1325025</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2017-11-06T16:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State variable calls GetSelectedCount([_ROWS]) does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421675#M1325027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Wynn&lt;/P&gt;&lt;P&gt;BB&amp;amp;T | Financial Technology Services&lt;/P&gt;&lt;P&gt;IT Systems Consultant&lt;/P&gt;&lt;P&gt;7701 Airport Center Drive&lt;/P&gt;&lt;P&gt;Greensboro, NC 27409&lt;/P&gt;&lt;P&gt;Jim.Wynn@bbandt.com&lt;/P&gt;&lt;P&gt;T: 336-455-9269 | C: 336-404-1221&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 18:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421675#M1325027</guid>
      <dc:creator>wynnjimbbt</dc:creator>
      <dc:date>2017-11-06T18:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State variable calls GetSelectedCount([_ROWS]) does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421676#M1325029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nicole!&lt;BR /&gt;That fixed my GetSelected variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;so I have:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vBeginMnth&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt; and &lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vBaseMnth&lt;/EM&gt;&lt;/STRONG&gt; defined in the Dashboard load script&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;vBeginMonth is defined as &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Report Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vBeginMnth&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; , &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vBaseMnth&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vBeginMnth&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;the if stmt works in a textbox but the variable &lt;SPAN style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;vBeginMonth &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;does not work correctly&lt;BR /&gt;&lt;BR /&gt;can you help?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 21:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421676#M1325029</guid>
      <dc:creator>wynnjimbbt</dc:creator>
      <dc:date>2017-11-06T21:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State variable calls GetSelectedCount([_ROWS]) does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421677#M1325031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't give you an exact answer without seeing what you're trying to do with it, but have you tried wrapping it in dollar sign expansion? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/dollar-sign-expansion-using-variable.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Scripting/dollar-sign-expansion-using-variable.htm"&gt;Dollar-sign expansion using a variable ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 22:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-variable-calls-GetSelectedCount-ROWS-does-not/m-p/1421677#M1325031</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2017-11-06T22:47:02Z</dc:date>
    </item>
  </channel>
</rss>

