<?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: Pivot Table and Totals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443595#M165374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried that one but doesnt return the correct ratios. The ratio is suppose to be the (expression/total) * 100 &lt;/P&gt;&lt;P&gt;Is there no other way of doing this? Thanks for your response though....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 11:35:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-26T11:35:48Z</dc:date>
    <item>
      <title>Pivot Table and Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443593#M165372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can one use the totals from the pivot table on one of the raws to get a ratio of a different raw on the same table?. I can not use the static total that is there because it will change maybe even on a daily bases so I may need some code or something else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 10:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443593#M165372</guid>
      <dc:creator />
      <dc:date>2012-09-26T10:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443594#M165373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Just use 'total' statement in the same expression.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;=Sum(sales)/Sum(total sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second sum discards all dimensions and return grand total. If you need a partial total you can use total&amp;lt;Dim1, Dim2&amp;gt; to keep some dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 11:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443594#M165373</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-26T11:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443595#M165374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried that one but doesnt return the correct ratios. The ratio is suppose to be the (expression/total) * 100 &lt;/P&gt;&lt;P&gt;Is there no other way of doing this? Thanks for your response though....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 11:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443595#M165374</guid>
      <dc:creator />
      <dc:date>2012-09-26T11:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443596#M165375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the problem with ratios, that they doesn't multiplied by 100 or something else ?&lt;/P&gt;&lt;P&gt;Coule you provide your expression ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 13:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443596#M165375</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-26T13:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443597#M165376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the expression for the above value &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vStatus&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; = 'CXD',&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[CANCELLED]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;REINSTATED&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;And the expression for the Ratio calculation looks like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vStatus&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; = 'CXD',&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[CANCELLED]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;REINSTATED&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(TOTAL(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vStatus&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; = 'CXD',&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[CANCELLED]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;REINSTATED&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;The answers from the ratio expression are not the correct answers. Myltiplying by a 100 is not necessary as I have already ticked the percentage option on qlikview. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 14:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443597#M165376</guid>
      <dc:creator />
      <dc:date>2012-09-26T14:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table and Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443598#M165377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can't do it that way. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;=Rangesum(Sum({&amp;lt;vStatus = {'CXD'}&amp;gt;} [CANCELLED]),Sum({&amp;lt;vStatus -= {'CXD'}&amp;gt;} [REINSTATED]))&lt;/P&gt;&lt;P&gt;/ Rangesum(Sum({&amp;lt;vStatus = {'CXD'}&amp;gt;} total [CANCELLED]),Sum({&amp;lt;vStatus -= {'CXD'}&amp;gt;} total [REINSTATED]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 14:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-and-Totals/m-p/443598#M165377</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-26T14:46:56Z</dc:date>
    </item>
  </channel>
</rss>

