<?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: Line Graph: Accumulating a Fraction Measure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Line-Graph-Accumulating-a-Fraction-Measure/m-p/2136007#M92335</link>
    <description>&lt;P&gt;Agreed, it is very unfortunate&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_frowning_face:"&gt;🙁&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 22:19:47 GMT</pubDate>
    <dc:creator>cmc</dc:creator>
    <dc:date>2023-11-08T22:19:47Z</dc:date>
    <item>
      <title>Line Graph: Accumulating a Fraction Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Line-Graph-Accumulating-a-Fraction-Measure/m-p/2135917#M92327</link>
      <description>&lt;DIV class="MessageInResponseTo lia-component-message-view-widget-in-response-to lia-component-in-response-to"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;I have a line graph with a measure that is a fraction e.g. sum(A) / sum(B).&lt;/P&gt;
&lt;P&gt;I would like to accumulate the values of A &amp;amp; B separately. I don't want the total measure values to simply be summed up for each step of the line graph.&lt;/P&gt;
&lt;P&gt;Currently, my expression looks like this:&lt;/P&gt;
&lt;P&gt;=&lt;BR /&gt;&lt;EM&gt;RangeSum(Above(&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Sum(A)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;,0,RowNo()))&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;/&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;RangeSum(Above(&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Sum(B)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;,0,RowNo()))&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This works when there is no dimension breakdown in the line graph (e.g. there is only 1 line), but when I add a line dimension, the calculations are incorrect for the accumulated measure.&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cmc_0-1699458047864.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/119585i5710636BE1DA1FEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cmc_0-1699458047864.png" alt="cmc_0-1699458047864.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cmc_1-1699458055132.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/119586iB938F7DA39E4F207/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cmc_1-1699458055132.png" alt="cmc_1-1699458055132.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Nov 2023 15:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-Graph-Accumulating-a-Fraction-Measure/m-p/2135917#M92327</guid>
      <dc:creator>cmc</dc:creator>
      <dc:date>2023-11-08T15:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Line Graph: Accumulating a Fraction Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Line-Graph-Accumulating-a-Fraction-Measure/m-p/2135935#M92329</link>
      <description>&lt;P&gt;Indeed, this doesn't seem to work as expected whereas in a table or a pivot this is working well...&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 16:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-Graph-Accumulating-a-Fraction-Measure/m-p/2135935#M92329</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2023-11-08T16:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Line Graph: Accumulating a Fraction Measure</title>
      <link>https://community.qlik.com/t5/App-Development/Line-Graph-Accumulating-a-Fraction-Measure/m-p/2136007#M92335</link>
      <description>&lt;P&gt;Agreed, it is very unfortunate&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_frowning_face:"&gt;🙁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 22:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-Graph-Accumulating-a-Fraction-Measure/m-p/2136007#M92335</guid>
      <dc:creator>cmc</dc:creator>
      <dc:date>2023-11-08T22:19:47Z</dc:date>
    </item>
  </channel>
</rss>

