<?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: IF(GetSelectedCount...) in a Text Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-GetSelectedCount-in-a-Text-Box/m-p/784129#M1050726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to me that your comparison is wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(AU_IT_TOWER&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;) = 7&lt;/STRONG&gt;&lt;/SPAN&gt; or GetSelectedCount(AU_IT_TOWER&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;) = 0&lt;/STRONG&gt;&lt;/SPAN&gt; And ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 20:33:00 GMT</pubDate>
    <dc:creator>jduenyas</dc:creator>
    <dc:date>2014-11-06T20:33:00Z</dc:date>
    <item>
      <title>IF(GetSelectedCount...) in a Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/IF-GetSelectedCount-in-a-Text-Box/m-p/784128#M1050724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Text object that shows the Operating % (&lt;STRONG&gt;vOpExPercent&lt;/STRONG&gt;) ) vs the Target (&lt;STRONG&gt;OP_TGT&lt;/STRONG&gt;) based on the associated field called &lt;STRONG&gt;AU_IT_TOWER&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;This expression works perfectly for each individual tower: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM style=": ; color: #808080;"&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM style=": ; color: #808080;"&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;$(vOpExPercent)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;amp; '% vs ' &amp;amp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;&lt;SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 10pt;"&gt;OP_TGT &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;The problem I have is that I need to show a target if either all 7 Towers are selected or if none of the Towers are selected. Each year also has a different target.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;I tried to accomplish this using the following expression but it doesn't work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(vOpExPercent)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &amp;amp; '% vs ' &amp;amp; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;AU_IT_TOWER&lt;/SPAN&gt;=7) &lt;SPAN style="color: #0000ff;"&gt;or&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;AU_IT_TOWER&lt;/SPAN&gt;=0) &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; (&lt;SPAN style="color: #800000;"&gt;FISCAL_YEAR&lt;/SPAN&gt;='FY15'),'xx%', (&lt;SPAN style="color: #800000;"&gt;OP_TGT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please Help! I'm stuck.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;TIA,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Cassandra&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 20:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-GetSelectedCount-in-a-Text-Box/m-p/784128#M1050724</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2014-11-06T20:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: IF(GetSelectedCount...) in a Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/IF-GetSelectedCount-in-a-Text-Box/m-p/784129#M1050726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to me that your comparison is wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(AU_IT_TOWER&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;) = 7&lt;/STRONG&gt;&lt;/SPAN&gt; or GetSelectedCount(AU_IT_TOWER&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;) = 0&lt;/STRONG&gt;&lt;/SPAN&gt; And ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 20:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-GetSelectedCount-in-a-Text-Box/m-p/784129#M1050726</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2014-11-06T20:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: IF(GetSelectedCount...) in a Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/IF-GetSelectedCount-in-a-Text-Box/m-p/784130#M1050727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duh. Thanks Josh!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 20:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-GetSelectedCount-in-a-Text-Box/m-p/784130#M1050727</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2014-11-06T20:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: IF(GetSelectedCount...) in a Text Box</title>
      <link>https://community.qlik.com/t5/QlikView/IF-GetSelectedCount-in-a-Text-Box/m-p/784131#M1050728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cassandra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your =7 needs to be outside the bracket &lt;SPAN style="color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;AU_IT_TOWER&lt;/SPAN&gt;)=7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 20:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-GetSelectedCount-in-a-Text-Box/m-p/784131#M1050728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T20:57:01Z</dc:date>
    </item>
  </channel>
</rss>

