<?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 Showing a table row count in a text object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674685#M244998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;i&lt;/SPAN&gt; have a chart table "A"&amp;nbsp; and &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;i&lt;/SPAN&gt; want to show the number of rows in table A in a separate text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I do that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Aug 2014 14:43:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-13T14:43:07Z</dc:date>
    <item>
      <title>Showing a table row count in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674685#M244998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;i&lt;/SPAN&gt; have a chart table "A"&amp;nbsp; and &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;i&lt;/SPAN&gt; want to show the number of rows in table A in a separate text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I do that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 14:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674685#M244998</guid>
      <dc:creator />
      <dc:date>2014-08-13T14:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Showing a table row count in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674686#M244999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count(some_table_field)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=count({1} some_table_field)&lt;/P&gt;&lt;P&gt;(disregarding selections)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 14:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674686#M244999</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-08-13T14:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Showing a table row count in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674687#M245000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add one more line in script while loading table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RowNO() as NO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use&lt;/P&gt;&lt;P&gt;COUNT(NO)&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Max(NO)&lt;/P&gt;&lt;P&gt;in text box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 14:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674687#M245000</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-13T14:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Showing a table row count in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674688#M245001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H,&lt;/P&gt;&lt;P&gt;it is possible and refer the screen shot.Here I have selected a Dim and a expression. Also do note the Total mode that I have showed.You can also hide Dim column if you do not want to show alist under presentation.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64337" alt="rowcount.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64337_rowcount.jpg" style="width: 620px; height: 500px;" /&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 14:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674688#M245001</guid>
      <dc:creator>senarath</dc:creator>
      <dc:date>2014-08-13T14:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Showing a table row count in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674689#M245002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use count function.&lt;/P&gt;&lt;P&gt;Like count(Field), Here Field -&amp;gt; you have to use any dimensional field in that chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can use macro also&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUB ReadRowsCount&lt;BR /&gt;set v = ActiveDocument.GetVariable("Variable")&lt;BR /&gt;v.SetContent ActiveDocument.GetSheetObject( "ChartId" ).GetRowCount-1, true&lt;BR /&gt;end SUB &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 15:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674689#M245002</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2014-08-13T15:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Showing a table row count in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674690#M245003</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;Thanks for your advices, but i don't want to count the rows in a table that i load into Qlikview, i want to count the rows in a table chart i have in my dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;Sathish&lt;/SPAN&gt; - &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;i&lt;/SPAN&gt; don't understand what &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;i&lt;/SPAN&gt; need to do with your macro, what should &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;i&lt;/SPAN&gt; write in the text object what will show there the table row count?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 06:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674690#M245003</guid>
      <dc:creator />
      <dc:date>2014-08-14T06:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Showing a table row count in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674691#M245004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can even use this macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub CountRow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH01")&lt;/P&gt;&lt;P&gt;'msgbox("number of class members = "&amp;amp;chart.GetNoOfRows)&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("RowsNum")&lt;/P&gt;&lt;P&gt;v.SetContent chart.GetNoOfRows,true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 07:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674691#M245004</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-08-14T07:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Showing a table row count in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674692#M245005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use count(Dimensionfield in the table) in the text object this will give the no of rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use the macro which i have mentioned in the above one. That macro also finds the no of rows in the particular table. After running the macro pass the "Variable" in the text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 11:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674692#M245005</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2014-08-14T11:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Showing a table row count in a text object</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674693#M245006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't use macros for tasks like that, it is a major performance risk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to replicate your table in the text box by using the aggr function. For example, if in your table dimension is DimA and expression is sum(value) then in the text box you need the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeCount(aggr(sum(value), DimA))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes the count of rows is different that the count the expression returns based on certain criteria. Try it though, it may work for you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 12:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-a-table-row-count-in-a-text-object/m-p/674693#M245006</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-08-14T12:15:58Z</dc:date>
    </item>
  </channel>
</rss>

