<?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: Cumulative Ratio in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427778#M159416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about something like the attached?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 20:59:32 GMT</pubDate>
    <dc:creator>vgutkovsky</dc:creator>
    <dc:date>2012-12-11T20:59:32Z</dc:date>
    <item>
      <title>Cumulative Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427777#M159415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to find the best way to answer this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I have a file with&lt;/P&gt;&lt;P&gt;- MonthName (Jan12, Feb12, ...)&lt;/P&gt;&lt;P&gt;- A&amp;nbsp;&amp;nbsp; a numeric field&lt;/P&gt;&lt;P&gt;- B&amp;nbsp;&amp;nbsp; a numeric field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display in line chart, the evolution of the Ratio = A/B&amp;nbsp; with accumulation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example,&amp;nbsp; in june my ratio&amp;nbsp; should be&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( A)&amp;nbsp; from Jan to June /&amp;nbsp; sum(B)&amp;nbsp; from Jan to June&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually I create a calendar which allow me to compare the monthname in the calendar with the monthname in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works but i'm sure is the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 20:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427777#M159415</guid>
      <dc:creator />
      <dc:date>2012-12-11T20:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427778#M159416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about something like the attached?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 20:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427778#M159416</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-12-11T20:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427779#M159417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not exactly, because I don't want to display the numerator and the denominator, but just the cumulative ratio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum( sum(A),above(sum(A)) ) /&amp;nbsp; rangesum(sum(B),above(sum(B)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The calculation gives only the ratio for the current &amp;amp; previous rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someyhing with noofrow()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 08:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427779#M159417</guid>
      <dc:creator />
      <dc:date>2012-12-12T08:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427780#M159418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And your object cannot be a straight table (where expressions can be hidden)? Or a graphical chart (where expressions can be set to "Invisible")?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 13:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427780#M159418</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-12-12T13:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427781#M159419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, if find a good way with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=rangesum( above(sum(A) , 0 , noofrows() ) )&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt; rangesum( above(sum(B) , 0 , noofrows() ) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway&lt;/P&gt;&lt;P&gt;JJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 11:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427781#M159419</guid>
      <dc:creator />
      <dc:date>2012-12-13T11:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427782#M159420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what your function does, but glad you got it working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 13:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-Ratio/m-p/427782#M159420</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-12-13T13:12:03Z</dc:date>
    </item>
  </channel>
</rss>

