<?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 Accumulated Percentage in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulated-Percentage-in-Pivot-Table/m-p/623260#M229373</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;i am trying to create an accumulated percentage in a pivot table chart. Please take a look at the charts below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the output that i am expeceting :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="392"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Days&lt;/TD&gt;&lt;TD class="xl64" width="98"&gt;Week&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;W1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;W2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;12.50%&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;22.22%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;23&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none;"&gt;23&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;37.50%&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;33.33%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;34&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none;"&gt;34&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;50.00%&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;55.55%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;45&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none;"&gt;45&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;75.00%&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;66.67%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: none;"&gt;Total&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;75.00%&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;66.67%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i tried it in QV it keeps showing this value (picture below), for each days it will show what is the percentage against the TOTAL.&lt;/P&gt;&lt;P&gt;What i am expecting is, the 2nd, 3rd, days and so on and so forth will be the accumulated with the percentage of the days before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/54708_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i used in the Expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;Days={"&amp;gt;$(=0)"}&amp;gt;}Nomor)&lt;/P&gt;&lt;P&gt;/Aggr(NODISTINCT Count(Nomor),Week)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attached is my QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate for the help guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 10:28:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-11T10:28:59Z</dc:date>
    <item>
      <title>Accumulated Percentage in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-Percentage-in-Pivot-Table/m-p/623260#M229373</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;i am trying to create an accumulated percentage in a pivot table chart. Please take a look at the charts below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the output that i am expeceting :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="392"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Days&lt;/TD&gt;&lt;TD class="xl64" width="98"&gt;Week&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;W1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;W2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl67"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;12.50%&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;22.22%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;23&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none;"&gt;23&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;37.50%&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;33.33%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;34&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none;"&gt;34&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;50.00%&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;55.55%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: none;"&gt;45&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none;"&gt;45&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;75.00%&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;66.67%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" style="border-top: none;"&gt;Total&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;75.00%&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top: none; border-left: none;"&gt;66.67%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i tried it in QV it keeps showing this value (picture below), for each days it will show what is the percentage against the TOTAL.&lt;/P&gt;&lt;P&gt;What i am expecting is, the 2nd, 3rd, days and so on and so forth will be the accumulated with the percentage of the days before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/54708_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i used in the Expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;Days={"&amp;gt;$(=0)"}&amp;gt;}Nomor)&lt;/P&gt;&lt;P&gt;/Aggr(NODISTINCT Count(Nomor),Week)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attached is my QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate for the help guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 10:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-Percentage-in-Pivot-Table/m-p/623260#M229373</guid>
      <dc:creator />
      <dc:date>2014-03-11T10:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated Percentage in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-Percentage-in-Pivot-Table/m-p/623261#M229374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change expression as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Above(Count({$&amp;lt;Days={"&amp;gt;$(=0)"}&amp;gt;}Nomor)/Aggr(NODISTINCT Count(Nomor),Week),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function might not give you the total at the end but if you use below you will get what you want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dimensionality()=1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(Above(Count({$&amp;lt;Days={"&amp;gt;$(=0)"}&amp;gt;}Nomor)/Aggr(NODISTINCT Count(Nomor),Week),0,RowNo())),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(Count({$&amp;lt;Days={"&amp;gt;$(=0)"}&amp;gt;}Nomor)/Count(Nomor),Week)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 10:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-Percentage-in-Pivot-Table/m-p/623261#M229374</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-11T10:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated Percentage in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-Percentage-in-Pivot-Table/m-p/623262#M229375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks alot it works!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/54774_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but why i am getting "0" as the first line? and maybe could you kindly help to elaborate more the reason why we use IF ( Dimensionality()=1) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 02:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-Percentage-in-Pivot-Table/m-p/623262#M229375</guid>
      <dc:creator />
      <dc:date>2014-03-12T02:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulated Percentage in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulated-Percentage-in-Pivot-Table/m-p/623263#M229376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimensionality is 1 for normal rows and 0 for Total rows. &lt;/P&gt;&lt;P&gt;Try to add one more expression Dimensionality()&amp;nbsp; to understand it.&lt;/P&gt;&lt;P&gt;Without this you will get the result but not the total what you want. &lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE : To remove 0 for first line, go to presentation tab and select suppress Zero Values...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 06:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulated-Percentage-in-Pivot-Table/m-p/623263#M229376</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-12T06:10:11Z</dc:date>
    </item>
  </channel>
</rss>

