<?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 Cumulative YTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173053#M42387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI! Miguel&lt;/P&gt;&lt;P&gt;The solution you have provide is perfectly fine but i have one more requirement. when i clik on the month Feb the sum(Profit ) here gives the value 2M. Where i my case it should still be the cumulative sum of jan and feb i.e 3M.&lt;/P&gt;&lt;P&gt;Is there any way to achive this by doing any changes at the script level or at the UI level&lt;/P&gt;&lt;P&gt;Can anyone provide any help on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Nov 2010 10:33:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-15T10:33:30Z</dc:date>
    <item>
      <title>Cumulative YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173048#M42382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a bar chart with a cumulative YTD profit per month. I've included a simple Excel example of the input. I calculate the expression (sum of the profit) with the following formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Sum&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;(&lt;B&gt;if&lt;/B&gt; (&lt;B&gt;InYearToDate&lt;/B&gt; (&lt;B&gt;Date&lt;/B&gt;, &lt;B&gt;Today&lt;/B&gt;(), 0), &lt;B&gt;[Profit]&lt;/B&gt;)) &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I would like to add the dimension Year-Month (2010 JAN, etc.), but the I get the profit per month. (JAN: 1M, FEB: 2M, MAR: 1.5M) and not the cumulative profit per month (JAN: 1M, FEB: 3M, MAR: 4.5M).&lt;/P&gt;&lt;P&gt;Can anybody help me with this change? Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 12:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173048#M42382</guid>
      <dc:creator />
      <dc:date>2010-03-09T12:49:49Z</dc:date>
    </item>
    <item>
      <title>Cumulative YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173049#M42383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anja,&lt;/P&gt;&lt;P&gt;I'm not sure if my solution is what you want, please ckeck it and let me know if it helps you.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 12:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173049#M42383</guid>
      <dc:creator />
      <dc:date>2010-03-09T12:57:00Z</dc:date>
    </item>
    <item>
      <title>Cumulative YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173050#M42384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I was looking for, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 15:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173050#M42384</guid>
      <dc:creator />
      <dc:date>2010-03-09T15:03:13Z</dc:date>
    </item>
    <item>
      <title>Cumulative YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173051#M42385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In my project I have a similar Requiremnt and I was able to resolve it using the Accumulation, however, I had another requirement to Bucket the Data based on Accumulation. So gng with your example,&lt;/P&gt;&lt;P&gt;If my Profit &amp;lt; 200000 THEN 1 ELSE 2. So O/p should be like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:180pt;border-collapse:collapse;" width="239"&gt;&lt;COLGROUP&gt;&lt;COL style="width:74pt;mso-width-source:userset;mso-width-alt:3584;mso-outline-parent:collapsed;" width="98" /&gt;&lt;COL style="width:66pt;mso-width-source:userset;mso-width-alt:3218;mso-outline-parent:collapsed;" width="88" /&gt;&lt;COL style="width:40pt;mso-width-source:userset;mso-width-alt:1938;mso-outline-parent:collapsed;" width="53" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="width:74pt;height:12.75pt;background-color:#aed0f1;border:#88baea 0.5pt solid;" width="98"&gt;&lt;STRONG&gt;YearMonth&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl22" style="border-right:#88baea 0.5pt solid;border-top:#88baea 0.5pt solid;border-left:#88baea;width:66pt;border-bottom:#88baea 0.5pt solid;background-color:#aed0f1;" width="88"&gt;&lt;STRONG&gt;Profit&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl22" style="border-right:#88baea 0.5pt solid;border-top:#88baea 0.5pt solid;border-left:#88baea;width:40pt;border-bottom:#88baea 0.5pt solid;background-color:#aed0f1;" width="53"&gt;&lt;STRONG&gt;Bucket&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="border-right:#ece9d8;border-top:#88baea 1pt solid;border-left:#ece9d8;border-bottom:#88baea 1pt solid;height:12.75pt;background-color:#aed0f1;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl24" style="border-right:#88baea 0.5pt solid;border-top:#88baea 1pt solid;border-left:#88baea 0.5pt solid;border-bottom:#88baea 1pt solid;background-color:#aed0f1;"&gt;&lt;STRONG&gt;4500000&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl24" style="border-right:#88baea 0.5pt solid;border-top:#88baea 1pt solid;border-left:#88baea;border-bottom:#88baea 1pt solid;background-color:#aed0f1;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:#d6e7f8;border:#88baea 0.5pt solid;"&gt;2010ene&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-right:#88baea 0.5pt solid;border-top:#88baea 0.5pt solid;border-left:#88baea;border-bottom:#88baea 0.5pt solid;background-color:#d6e7f8;"&gt;1000000&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-right:#88baea 0.5pt solid;border-top:#88baea 0.5pt solid;border-left:#88baea;border-bottom:#88baea 0.5pt solid;background-color:#d6e7f8;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-right:#88baea 0.5pt solid;border-top:#88baea;border-left:#88baea 0.5pt solid;border-bottom:#88baea 0.5pt solid;height:12.75pt;background-color:#d6e7f8;"&gt;2010feb&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-right:#88baea 0.5pt solid;border-top:#88baea;border-left:#88baea;border-bottom:#88baea 0.5pt solid;background-color:#d6e7f8;"&gt;3000000&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-right:#88baea 0.5pt solid;border-top:#88baea;border-left:#88baea;border-bottom:#88baea 0.5pt solid;background-color:#d6e7f8;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="border-right:#88baea 0.5pt solid;border-top:#88baea;border-left:#88baea 0.5pt solid;border-bottom:#88baea 0.5pt solid;height:12.75pt;background-color:#d6e7f8;"&gt;2010mar&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-right:#88baea 0.5pt solid;border-top:#88baea;border-left:#88baea;border-bottom:#88baea 0.5pt solid;background-color:#d6e7f8;"&gt;4500000&lt;/TD&gt;&lt;TD align="right" class="xl25" style="border-right:#88baea 0.5pt solid;border-top:#88baea;border-left:#88baea;border-bottom:#88baea 0.5pt solid;background-color:#d6e7f8;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;How to Write the Expression in QV in such case. I am using the Expression as If (Column(1) &amp;lt; 20000,1,2) attaching the sample file.&lt;/P&gt;&lt;P&gt;Any help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 17:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173051#M42385</guid>
      <dc:creator />
      <dc:date>2010-03-29T17:25:12Z</dc:date>
    </item>
    <item>
      <title>Cumulative YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173052#M42386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Profit = rangesum(above(column(1)),sum(Profit)) // no accumulation&lt;BR /&gt;Bucket = if(column(1)&amp;lt;200000,1,2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 17:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173052#M42386</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-03-29T17:48:46Z</dc:date>
    </item>
    <item>
      <title>Cumulative YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173053#M42387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI! Miguel&lt;/P&gt;&lt;P&gt;The solution you have provide is perfectly fine but i have one more requirement. when i clik on the month Feb the sum(Profit ) here gives the value 2M. Where i my case it should still be the cumulative sum of jan and feb i.e 3M.&lt;/P&gt;&lt;P&gt;Is there any way to achive this by doing any changes at the script level or at the UI level&lt;/P&gt;&lt;P&gt;Can anyone provide any help on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 10:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173053#M42387</guid>
      <dc:creator />
      <dc:date>2010-11-15T10:33:30Z</dc:date>
    </item>
    <item>
      <title>Cumulative YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173054#M42388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Accumulation in the lower left of your expression tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 10:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173054#M42388</guid>
      <dc:creator />
      <dc:date>2010-11-15T10:41:27Z</dc:date>
    </item>
    <item>
      <title>Cumulative YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173055#M42389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Anja,&lt;/P&gt;&lt;P&gt;that is fine ...but when i click on a particular month i see that data for that particular month . I want to see the cumulative sum. like in your case when i clik on feb the value of profit becomes 2m i want it to be 3m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Nov 2010 10:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173055#M42389</guid>
      <dc:creator />
      <dc:date>2010-11-15T10:50:20Z</dc:date>
    </item>
    <item>
      <title>Cumulative YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173056#M42390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;Sorry for my late reply. If you're still dealing with this issue you might want to try this solution: &lt;A href="http://community.qlik.com/forums/t/17597.aspx"&gt;http://community.qlik.com/forums/t/17597.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 18:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cumulative-YTD/m-p/173056#M42390</guid>
      <dc:creator />
      <dc:date>2010-11-24T18:41:02Z</dc:date>
    </item>
  </channel>
</rss>

