<?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 Re: Total row Straight table Percentage% calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160737#M378454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have understood your suggestion now, took some time and research to get a clear picture &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;My problem here is that I have restricted the values displayed to the first 10 using Dimension Limits, so using TOTAL will get the overall value and not for the 10 values displayed. Is there a way to relate the TOTAL with the values displayed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2016 12:06:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-28T12:06:02Z</dc:date>
    <item>
      <title>Total row Straight table Percentage% calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160732#M378449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the below in my application, its a straight table and i am displaying the Top 10 values for Groups.&lt;/P&gt;&lt;P&gt;And the Total row should display the Top 10 Sum values for the YTD, PY YTD, Var and Var%.&lt;/P&gt;&lt;P&gt;I can use Sum of Rows for the first 3 columns, but not for the % column which will give me the wrong result. I tried using the expression total, but not right result. Any suggestion would be helpful.&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 422px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="84"&gt;Group&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="93"&gt;Sales YTD&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="93"&gt;PY YTD&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="88"&gt;Var&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Var%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;LLL&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;419,439,519&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;537,374,285&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-117,934,766&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-28.1%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;HHH&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;744,339,937&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;858,384,914&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-114,044,977&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-15.3%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;SSS&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;338,613,157&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;441,800,776&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-103,187,619&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-30.5%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;AAA&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;241,717,161&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;344,476,279&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-102,759,118&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-42.5%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;CCC&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;388,151,255&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;470,200,691&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-82,049,436&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-21.1%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;HSHS&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;275,213,194&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;309,458,551&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-34,245,357&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-12.4%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;VVV&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;81,173,492&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;113,489,048&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-32,315,556&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-39.8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;SYSYSY&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;56,938,900&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;83,504,770&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-26,565,870&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-46.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;MOOR&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;229,326,613&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;252,359,634&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-23,033,021&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-10.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;SSWRT&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;75,485,125&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;96,555,761&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;-21,070,636&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;-27.9%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Top 10 Total&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none;"&gt;2,850,398,352&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;3,507,604,710&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;-657,206,358&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 18:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160732#M378449</guid>
      <dc:creator />
      <dc:date>2016-07-27T18:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Total row Straight table Percentage% calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160733#M378450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: #575757;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;(Dimensionality() = 0,&lt;BR /&gt; (Sum(TOTAL SalesYTD)-Sum(TOTAL PYYTD))/(Sum(TOTAL SalesYTD&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; (&lt;/SPAN&gt;Sum(SalesYTD)-Sum(PYYTD))/(Sum(SalesYTD&lt;/SPAN&gt;&lt;SPAN style="color: #575757;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 19:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160733#M378450</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-07-27T19:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Total row Straight table Percentage% calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160734#M378451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to provide raw data behind the above output. I feel that it would be easier to propose something knowing how the data looks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 19:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160734#M378451</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-27T19:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Total row Straight table Percentage% calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160735#M378452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Antonio, however i could not relate your reply to my question. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 09:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160735#M378452</guid>
      <dc:creator />
      <dc:date>2016-07-28T09:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Total row Straight table Percentage% calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160736#M378453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I might not be able to share the Raw data here, but can tell you that, it is daily transaction data and i am calculating YTD and PY YTD using set analysis. Please let me know what kind of information you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 09:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160736#M378453</guid>
      <dc:creator />
      <dc:date>2016-07-28T09:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Total row Straight table Percentage% calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160737#M378454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have understood your suggestion now, took some time and research to get a clear picture &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;My problem here is that I have restricted the values displayed to the first 10 using Dimension Limits, so using TOTAL will get the overall value and not for the 10 values displayed. Is there a way to relate the TOTAL with the values displayed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 12:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160737#M378454</guid>
      <dc:creator />
      <dc:date>2016-07-28T12:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Total row Straight table Percentage% calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160738#M378455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Antonio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was just looking for this!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 19:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-Straight-table-Percentage-calculation/m-p/1160738#M378455</guid>
      <dc:creator />
      <dc:date>2016-10-06T19:09:31Z</dc:date>
    </item>
  </channel>
</rss>

