<?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 Count Rows in Ad Hoc Report in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Rows-in-Ad-Hoc-Report/m-p/956607#M526268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have an Ad Hoc report that I need to state how many rows are included in the file so that the user knows if it will exceed the max rows that Excel can handle (something like 1.048 m I think).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried creating a variable called vGetFields =&lt;SPAN style="color: #0000ff;"&gt;GetFieldSelections&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;_Dimension&lt;/SPAN&gt;, ' &amp;amp; ',100) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and then a Text Box: ='Number of Lines ' &amp;amp; &lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(vGetFields)&lt;/EM&gt;&lt;/STRONG&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;but it is not working as I intended. For example, if the Dimensions I have selected result in one row of data, it should read 1.&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&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cassandra&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2015 17:30:37 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2015-12-04T17:30:37Z</dc:date>
    <item>
      <title>Count Rows in Ad Hoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Rows-in-Ad-Hoc-Report/m-p/956607#M526268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have an Ad Hoc report that I need to state how many rows are included in the file so that the user knows if it will exceed the max rows that Excel can handle (something like 1.048 m I think).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried creating a variable called vGetFields =&lt;SPAN style="color: #0000ff;"&gt;GetFieldSelections&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;_Dimension&lt;/SPAN&gt;, ' &amp;amp; ',100) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and then a Text Box: ='Number of Lines ' &amp;amp; &lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(vGetFields)&lt;/EM&gt;&lt;/STRONG&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;but it is not working as I intended. For example, if the Dimensions I have selected result in one row of data, it should read 1.&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&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cassandra&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 17:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Rows-in-Ad-Hoc-Report/m-p/956607#M526268</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-04T17:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count Rows in Ad Hoc Report</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Rows-in-Ad-Hoc-Report/m-p/956608#M526269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe Gysbert's answer can help you&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/786004"&gt;How to count rows from conditional chart table fields in text object&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 17:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Rows-in-Ad-Hoc-Report/m-p/956608#M526269</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-12-04T17:32:57Z</dc:date>
    </item>
  </channel>
</rss>

