<?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 Yearly cumulative per month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417437#M95343</link>
    <description>&lt;P&gt;Hello Community,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could anyone please help me with an advice on how to calculate the cumulative sum based on the following formula:&lt;BR /&gt;Value3 = Value1(t0) - Value1(t-1)/ Value2&lt;/P&gt;
&lt;P&gt;Having the following Test Data i should get the&amp;nbsp; results:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="americanetsMD_0-1707581080042.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159508i7FC7E5994544F4C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="americanetsMD_0-1707581080042.png" alt="americanetsMD_0-1707581080042.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;AsOfPeriod&amp;nbsp; &amp;nbsp; &amp;nbsp;Value3&lt;/P&gt;
&lt;P&gt;12.2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;36,08%&lt;/P&gt;
&lt;P&gt;01.2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-233,91%&lt;/P&gt;
&lt;P&gt;02.2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 132,40%&lt;/P&gt;
&lt;P&gt;and so on..&lt;/P&gt;
&lt;P&gt;i currently use An AsOfTable in order to calculate Value1 and Value2, as these should be also cumulative sumed.&lt;/P&gt;
&lt;P&gt;My problem is that i don't know how can i jump to december, when i have to calculate the value for january.&lt;/P&gt;
&lt;P&gt;Could anyone please help me with an idea? OH, yes... the Above() doesn't help much, as i need this calculated in a line chart.&lt;/P&gt;
&lt;P&gt;Will be really grateful if anyone can helpl me with any information. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Feb 2024 16:49:43 GMT</pubDate>
    <dc:creator>americanetsMD</dc:creator>
    <dc:date>2024-02-10T16:49:43Z</dc:date>
    <item>
      <title>Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417437#M95343</link>
      <description>&lt;P&gt;Hello Community,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could anyone please help me with an advice on how to calculate the cumulative sum based on the following formula:&lt;BR /&gt;Value3 = Value1(t0) - Value1(t-1)/ Value2&lt;/P&gt;
&lt;P&gt;Having the following Test Data i should get the&amp;nbsp; results:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="americanetsMD_0-1707581080042.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159508i7FC7E5994544F4C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="americanetsMD_0-1707581080042.png" alt="americanetsMD_0-1707581080042.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;AsOfPeriod&amp;nbsp; &amp;nbsp; &amp;nbsp;Value3&lt;/P&gt;
&lt;P&gt;12.2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;36,08%&lt;/P&gt;
&lt;P&gt;01.2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-233,91%&lt;/P&gt;
&lt;P&gt;02.2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 132,40%&lt;/P&gt;
&lt;P&gt;and so on..&lt;/P&gt;
&lt;P&gt;i currently use An AsOfTable in order to calculate Value1 and Value2, as these should be also cumulative sumed.&lt;/P&gt;
&lt;P&gt;My problem is that i don't know how can i jump to december, when i have to calculate the value for january.&lt;/P&gt;
&lt;P&gt;Could anyone please help me with an idea? OH, yes... the Above() doesn't help much, as i need this calculated in a line chart.&lt;/P&gt;
&lt;P&gt;Will be really grateful if anyone can helpl me with any information. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 16:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417437#M95343</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2024-02-10T16:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417453#M95344</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243706"&gt;@americanetsMD&lt;/a&gt;&amp;nbsp;Please help us what is the input and expected result?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 05:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417453#M95344</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-02-11T05:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417477#M95345</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;, a data input sample is:&lt;BR /&gt;&lt;BR /&gt;AsOfPeriode&amp;nbsp; |&amp;nbsp; &amp;nbsp;Value1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp;Value2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Expected&lt;/STRONG&gt; &lt;STRONG&gt;Value3&lt;/STRONG&gt;&lt;BR /&gt;11.2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; 8754728&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;-22890516&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; -&lt;/P&gt;
&lt;P&gt;12.2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; -4521628&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;-39283282&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp;36,08%,&lt;/P&gt;
&lt;P&gt;01.2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; -1257103&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;-1395650&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp;-233,91%&lt;/P&gt;
&lt;P&gt;02.2022&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; -6346161&amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;-3843735&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp;132,40%&lt;BR /&gt;&lt;BR /&gt;The Formula, used to get Value 3:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Value3 = Value1(t0) - Value1(t-1)/ Value2&lt;BR /&gt;&lt;/SPAN&gt;This would be so:&lt;BR /&gt;for AsOfPeriode 02.2022, Value3 = ((-6346161) - (-1257103)) / (-3843735) = -233,91%&lt;BR /&gt;for AsOfPeriode 01.2022, Value3 =&amp;nbsp;((-1257103) - (-1395650)) / (-1395650) = 132,40%&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 11:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417477#M95345</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2024-02-11T11:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417508#M95347</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243706"&gt;@americanetsMD&lt;/a&gt;&amp;nbsp;Thanks for the input, I wonder for the below one why &lt;STRONG&gt;-1395650&amp;nbsp;&lt;/STRONG&gt;And not &lt;STRONG&gt;-&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;4521628&lt;/STRONG&gt;? Because t-1 should be 12.2021 right?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;for AsOfPeriode 01.2022, Value3 =&amp;nbsp;((-1257103) - (&lt;STRONG&gt;-1395650&lt;/STRONG&gt;)) / (-1395650) = 132,40%&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 19:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417508#M95347</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-02-11T19:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417509#M95348</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;, yes, you are right...&lt;BR /&gt;&lt;SPAN&gt;for AsOfPeriode 01.2022, Value3 =&amp;nbsp;((-1257103) - (-4521628)) / (-1395650) = 132,40%&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 19:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417509#M95348</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2024-02-11T19:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417510#M95349</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243706"&gt;@americanetsMD&lt;/a&gt;&amp;nbsp;Perhaps this?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(Sum(Value1) - Above(TOTAL Sum(Value1)))/Sum(Value2)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 19:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417510#M95349</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-02-11T19:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417513#M95351</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;It has worked... Thank you very much!&lt;BR /&gt;But when using above function without (TOTAL) it didn't work... could you explain me, maybe through a very basic example, what the TOTAL function does? Would really appreciate.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 20:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417513#M95351</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2024-02-11T20:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417515#M95352</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243706"&gt;@americanetsMD&lt;/a&gt;&amp;nbsp;Glad we able to help, You can read this:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/November2023/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/InterRecordFunctions/above.htm" target="_blank"&gt;Above - chart function | Qlik Sense on Windows Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anil_Babu_Samineni_0-1707681786029.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159520i957BCA147F614353/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anil_Babu_Samineni_0-1707681786029.png" alt="Anil_Babu_Samineni_0-1707681786029.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 20:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417515#M95352</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-02-11T20:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417606#M95357</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;After using your suggested formula, I tested it to make sure everything worked as expected. Unfortunately it doesn't meet the requirements as nothing is displayed for the minimum month.&lt;BR /&gt;I mean, if the user selects a whole year, January will show up as zero... even though there is data from the previous year. Because of this, Above Function is not the solution for this task. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="americanetsMD_0-1707729481923.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159529i2BFE6596E2FF6A23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="americanetsMD_0-1707729481923.png" alt="americanetsMD_0-1707729481923.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is there an alternative on how i can achieve the desired output?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 09:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417606#M95357</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2024-02-12T09:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417618#M95358</link>
      <description>&lt;P&gt;also when a single Period is selected, the chart gives a null... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 09:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417618#M95358</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2024-02-12T09:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417673#M95362</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/243706"&gt;@americanetsMD&lt;/a&gt;&amp;nbsp;Can you please attach the QVF that you want to test and explain each one of your issues, so we will see!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 11:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2417673#M95362</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-02-12T11:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Yearly cumulative per month</title>
      <link>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2418736#M95445</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;- Thank you for your support. I have found the way to get the right values by using the AsOfMonth in combination with YearDiff and MonthDiff...&lt;/P&gt;
&lt;P&gt;sum(Value1) -&amp;nbsp;&amp;nbsp;sum({&amp;lt;MonatDiff -= {0}&amp;gt;} Value1)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 11:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yearly-cumulative-per-month/m-p/2418736#M95445</guid>
      <dc:creator>americanetsMD</dc:creator>
      <dc:date>2024-02-14T11:32:22Z</dc:date>
    </item>
  </channel>
</rss>

