<?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 How to count rows from conditional chart table fields in text object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879083#M531616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering how do I count the number of rows in a text object based on a selected conditional dimension in a chart table? As you can see below, I would like the count of rows to display in that text box. The conditional dimensions are controlled by the list boxes on the left. This allows the user to build a custom table of data to then export to excel. This whole point of this is to warn the user when the selections are reach 1 million rows, so they do not export to much data to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-05-29_0909.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87923_2015-05-29_0909.png" style="height: 310px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 May 2015 14:15:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-29T14:15:29Z</dc:date>
    <item>
      <title>How to count rows from conditional chart table fields in text object</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879083#M531616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering how do I count the number of rows in a text object based on a selected conditional dimension in a chart table? As you can see below, I would like the count of rows to display in that text box. The conditional dimensions are controlled by the list boxes on the left. This allows the user to build a custom table of data to then export to excel. This whole point of this is to warn the user when the selections are reach 1 million rows, so they do not export to much data to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-05-29_0909.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87923_2015-05-29_0909.png" style="height: 310px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 14:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879083#M531616</guid>
      <dc:creator />
      <dc:date>2015-05-29T14:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to count rows from conditional chart table fields in text object</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879084#M531617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example for an approach that usually gives a reasonable estimation. The result can be higher than the number of rows in the chart because of zero/null suppression and reduced sets resulting from set analysis expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2015 16:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879084#M531617</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-29T16:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to count rows from conditional chart table fields in text object</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879085#M531618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put the code below in my text object. I am just getting a zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(1, $(=concat(%Dimension, ',' ))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the formula I use for the conditional dimensions/expressions to appear when the user selects them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SubStringCount(Concat(%Dimension, '|'), 'Hospital') and GetSelectedCount(%Dimension) &amp;gt; 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 18:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879085#M531618</guid>
      <dc:creator />
      <dc:date>2015-06-02T18:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to count rows from conditional chart table fields in text object</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879086#M531619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have any field names containing spaces (or other special characters)? If so, try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum(aggr(1, $(=concat('[' &amp;amp; %Dimension &amp;amp; ']', ',' ))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post a qlikview document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 07:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879086#M531619</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-06-03T07:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to count rows from conditional chart table fields in text object</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879087#M531620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=concat(_dimension, ',' ))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt; to count the lines in my Ad Hoc table but the numbers don't match. It gives me 335, for example, but only exports 152. Any thoughts without me posting a sample?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cassandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 17:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-rows-from-conditional-chart-table-fields-in-text/m-p/879087#M531620</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-04T17:56:03Z</dc:date>
    </item>
  </channel>
</rss>

