<?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: Count function based on chart variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-function-based-on-chart-variable/m-p/450956#M168297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Guys...&lt;BR /&gt;Both of those are just giving me the old " - " in my text box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2013 12:14:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-07T12:14:13Z</dc:date>
    <item>
      <title>Count function based on chart variable</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-based-on-chart-variable/m-p/450954#M168295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've developed a pivot displaying revenue by customers (and other dimensions)&lt;/P&gt;&lt;P&gt;This is linked to an input box for "Show customers with rev above: &lt;EM&gt;variable&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;It works perfectly for the chart and limits it as it should, but I also display a box on the screen with a count of customers in the current selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As this variable is not actually &lt;EM&gt;selecting&lt;/EM&gt; the customers (just supressing view) the count is not updating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I could have three in my pivot but still be saying 46'732 customers in selection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tied the following but so far have been unable to jiggle it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='# of Holding Companies in Selection&amp;nbsp; '&amp;amp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Holding Company]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Revenue&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &amp;gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;VRevenue&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Holding Company]&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;I want to count (distinct if poss.) Holding Company, if the revenue at the holding company is greater than VRevenue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any ideas ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;T&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 11:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-based-on-chart-variable/m-p/450954#M168295</guid>
      <dc:creator />
      <dc:date>2013-06-07T11:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count function based on chart variable</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-based-on-chart-variable/m-p/450955#M168296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use exp likr this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(total(&amp;lt;HoldingCampany&amp;gt;Revenue)&amp;gt;VRevenue),Count(Distinct---),null())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 11:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-based-on-chart-variable/m-p/450955#M168296</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-06-07T11:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count function based on chart variable</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function-based-on-chart-variable/m-p/450956#M168297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Guys...&lt;BR /&gt;Both of those are just giving me the old " - " in my text box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 12:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function-based-on-chart-variable/m-p/450956#M168297</guid>
      <dc:creator />
      <dc:date>2013-06-07T12:14:13Z</dc:date>
    </item>
  </channel>
</rss>

