<?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 in dynamic pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331149#M841096</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;New in Qlikview I need your help. I have an application and need in a textbox display the number of rows in my pivot table.&lt;/P&gt;&lt;P&gt;The problem is that that pivot table is dynamic (and empty by default) and the user select the dimensions and metrics which have to be shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way to put in text box some formula like CountRow(total) of idobjectCH10 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>how to count rows in dynamic pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331149#M841096</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;New in Qlikview I need your help. I have an application and need in a textbox display the number of rows in my pivot table.&lt;/P&gt;&lt;P&gt;The problem is that that pivot table is dynamic (and empty by default) and the user select the dimensions and metrics which have to be shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way to put in text box some formula like CountRow(total) of idobjectCH10 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331149#M841096</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to count rows in dynamic pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331150#M841097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the dimensions used here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 15:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331150#M841097</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-04-27T15:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to count rows in dynamic pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331151#M841098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share sample data, would like to know the dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 15:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331151#M841098</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-04-27T15:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to count rows in dynamic pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331152#M841099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, there is no CountObjectRows(CHxx) function.&amp;nbsp; What you can do is count the combinations of the dimension values of the chart.&amp;nbsp; For example, if your chart used the Dimensions: Customer, Year, Product.&amp;nbsp; A text box expression of:&lt;/P&gt;&lt;P&gt;=count(DISTINCT Customer &amp;amp; Year &amp;amp; Product) should give you the number of combinations, therefore the number of rows in any table using those three Dimensions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are using a dynamic table, you will have to build the count() expression dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 23:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331152#M841099</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-04-27T23:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to count rows in dynamic pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331153#M841100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what about if I have a table with e conditional expression which limits the rows to be displayed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;=If(Aggr(Sum(MyValues), MyCode)&amp;lt;0, MyCode, Null()) and "Suppress null values" checkbox marked in the dimension&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;If(Sum(MyValues)&amp;lt;0, Sum(&lt;SPAN style="font-size: 13.3333px;"&gt;MyValues&lt;/SPAN&gt;)) in the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The count (distinc(MyCode)) shows all possibile values and not only the displayed ones....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 15:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331153#M841100</guid>
      <dc:creator>gamaplast</dc:creator>
      <dc:date>2017-12-29T15:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to count rows in dynamic pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331154#M841101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;looking for something like this &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count (distinct dim1,dim2...) &lt;/STRONG&gt; if you have fixed dimensions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if they are populated from a list box than &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;if(getselectedcount(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;YourDimensionListbox)&amp;gt;0,&lt;/STRONG&gt;count(distinct $(=concat('[' &amp;amp; YourDimensionListbox &amp;amp; ']', '&amp;amp;'))),0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/message/1408695"&gt;Re: Add a row no field to a straight table&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps: there may be typo in the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 15:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331154#M841101</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-12-29T15:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to count rows in dynamic pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331155#M841102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's:&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; font-size: 13px;"&gt;count( If(Aggr(Sum(MyValues), MyCode)&amp;lt;0, MyCode, Null()))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 18:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-count-rows-in-dynamic-pivot-table/m-p/1331155#M841102</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-01-02T18:49:05Z</dc:date>
    </item>
  </channel>
</rss>

