<?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 Getting the row count of chart in text object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259444#M97922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using macro to count all the rows will work with any table but the macro must be triggered somehow (button,selection etc.) Using expression calculation in textbox also can give you the number. Can you provede a sample qvw file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jun 2011 05:44:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-02T05:44:17Z</dc:date>
    <item>
      <title>Getting the row count of chart in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259443#M97921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know if there is any function I can use to find the number of rows of a chart object. that is, when a specific selection is made, I want to get the row count of a straing table chart in a text box. I was trying out with nowofrows() function, but I was not able to get to the solution I was checking. Please give me some inputs for the same.&lt;/P&gt;&lt;P&gt;Thanks for all the help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Joseph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 04:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259443#M97921</guid>
      <dc:creator />
      <dc:date>2011-06-02T04:37:44Z</dc:date>
    </item>
    <item>
      <title>Getting the row count of chart in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259444#M97922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using macro to count all the rows will work with any table but the macro must be triggered somehow (button,selection etc.) Using expression calculation in textbox also can give you the number. Can you provede a sample qvw file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 05:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259444#M97922</guid>
      <dc:creator />
      <dc:date>2011-06-02T05:44:17Z</dc:date>
    </item>
    <item>
      <title>Getting the row count of chart in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259445#M97923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try below macro to achive what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sub Get_Row&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set chart = ActiveDocument.Sheets("Main").CreateStraightTable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.AddDimension "Class"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.AddDimension "Member"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; chart.AddExpression "only(MemberComment)"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox("number of class members = "&amp;amp;chart.GetNoOfRows)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Go to module and paste this.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note: Change the dimension and expression as per your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 06:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259445#M97923</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-06-02T06:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the row count of chart in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259446#M97924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;This is a kinda workaround if you dont want to use macro/any other code in your application. PFA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just copy of actual table andhidden all all column but Total Rows. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 08:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259446#M97924</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-06-02T08:06:38Z</dc:date>
    </item>
    <item>
      <title>Getting the row count of chart in text object</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259447#M97925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Number of rows in a chart could be tricky, as for the other answers.&lt;/P&gt;&lt;P&gt;However, if the real question is not about the number of rows, but about the count of dimension values, you're probably better set with a simple expression in the text object, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=Count(Distinct Dimension1 &amp;amp; '_' &amp;amp; Dimension2 &amp;amp; '_' &amp;amp; Dimension3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I can get you the idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 09:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-row-count-of-chart-in-text-object/m-p/259447#M97925</guid>
      <dc:creator />
      <dc:date>2011-06-02T09:04:02Z</dc:date>
    </item>
  </channel>
</rss>

