<?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: How to take cumulative of a particular expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1680166#M51746</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried with below expression in a table, without using TOTAl , this is giving me correct result. Delhi Haryana Office is starting from 4.3%, but when we use same in Line chart, its getting added up. I tried to convert it to combo chart and sorted it, but in combo its considering only one Sales office.&amp;nbsp;&lt;/P&gt;&lt;P&gt;RangeSum(Above(&lt;BR /&gt;(Sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;Sum({&amp;lt;FYear=,company_name=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales) ),0,RowNo()))&lt;/P&gt;&lt;P&gt;-&lt;BR /&gt;RangeSum(Above(&lt;BR /&gt;(sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;sum( {&amp;lt;FYear=,company_name=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales)),0,RowNo()))&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I have attached the screenshot of output.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2020 05:34:24 GMT</pubDate>
    <dc:creator>sunainapawar</dc:creator>
    <dc:date>2020-02-28T05:34:24Z</dc:date>
    <item>
      <title>How to take cumulative of a particular expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679729#M51700</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to take cumulative of below expression by using rangesum function, and my dimension is a drill down value.(sales office, District)&lt;/P&gt;&lt;P&gt;=(Sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;Sum({&amp;lt;FYear=,company_name=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales)&lt;BR /&gt;)&lt;BR /&gt;-&lt;BR /&gt;(&lt;BR /&gt;sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;sum( {&amp;lt;FYear=,company_name=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using rangesum:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RangeSum(Above(&lt;BR /&gt;(Sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;Sum({&amp;lt;FYear=,company_name=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales) ),0,RowNo(TOTAL)))&lt;BR /&gt;-&lt;BR /&gt;RangeSum(Above(&lt;BR /&gt;sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;sum( {&amp;lt;FYear=,company_name=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales),0,RowNo(TOTAL)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am not getting proper value, cumulative data which I am getting is adding up off all sales office all together.&lt;/P&gt;&lt;P&gt;But&amp;nbsp; for one sales office, it should add for that particular sales office only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 07:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679729#M51700</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-02-27T07:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to take cumulative of a particular expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679733#M51701</link>
      <description>&lt;P&gt;The latest 2020 Feb version has this feature in-built for which you might not have to write expression for accumulation. Check here:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=jfDOIUDC__g" target="_blank"&gt;https://www.youtube.com/watch?v=jfDOIUDC__g&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 07:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679733#M51701</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-02-27T07:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to take cumulative of a particular expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679769#M51703</link>
      <description>&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;We are not upgrading our qik environment as of now, can you please look into below expression if any changes is required.&lt;/P&gt;&lt;P&gt;We have to achieve this by using expression only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 09:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679769#M51703</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-02-27T09:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to take cumulative of a particular expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679779#M51705</link>
      <description>&lt;P&gt;It becomes easier to work on a sample-data-app. Try to share a sample app and explain your expected output in the same context.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 09:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679779#M51705</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-02-27T09:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to take cumulative of a particular expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679789#M51707</link>
      <description>&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;I am sharing a sample table&amp;nbsp; below:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="482"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="136.667px" height="46px"&gt;Sales office&lt;/TD&gt;&lt;TD width="114px" height="46px"&gt;FMonth&lt;/TD&gt;&lt;TD width="114.667px" height="46px"&gt;Market Share Growth&lt;/TD&gt;&lt;TD width="116px" height="46px"&gt;Cumulative&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="24px"&gt;Bihar office&lt;/TD&gt;&lt;TD width="114px" height="24px"&gt;Apr&lt;/TD&gt;&lt;TD width="114.667px" height="24px"&gt;1.95%&lt;/TD&gt;&lt;TD width="116px" height="24px"&gt;1.95%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="24px"&gt;Bihar office&lt;/TD&gt;&lt;TD width="114px" height="24px"&gt;May&lt;/TD&gt;&lt;TD width="114.667px" height="24px"&gt;-0.30%&lt;/TD&gt;&lt;TD width="116px" height="24px"&gt;1.65%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="24px"&gt;Bihar office&lt;/TD&gt;&lt;TD width="114px" height="24px"&gt;Jun&lt;/TD&gt;&lt;TD width="114.667px" height="24px"&gt;-3.59%&lt;/TD&gt;&lt;TD width="116px" height="24px"&gt;-1.93%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="24px"&gt;Bihar office&lt;/TD&gt;&lt;TD width="114px" height="24px"&gt;Jul&lt;/TD&gt;&lt;TD width="114.667px" height="24px"&gt;5.47%&lt;/TD&gt;&lt;TD width="116px" height="24px"&gt;3.54%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="23px"&gt;Delhi&amp;nbsp;&amp;nbsp; Haryana office&lt;/TD&gt;&lt;TD width="114px" height="23px"&gt;Apr&lt;/TD&gt;&lt;TD width="114.667px" height="23px"&gt;4.31%&lt;/TD&gt;&lt;TD width="116px" height="23px"&gt;7.86%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="46px"&gt;Delhi&amp;nbsp;&amp;nbsp; Haryana office&lt;/TD&gt;&lt;TD width="114px" height="46px"&gt;May&lt;/TD&gt;&lt;TD width="114.667px" height="46px"&gt;7.20%&lt;/TD&gt;&lt;TD width="116px" height="46px"&gt;15.06%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="46px"&gt;Delhi&amp;nbsp;&amp;nbsp; Haryana office&lt;/TD&gt;&lt;TD width="114px" height="46px"&gt;Jun&lt;/TD&gt;&lt;TD width="114.667px" height="46px"&gt;-6.24%&lt;/TD&gt;&lt;TD width="116px" height="46px"&gt;8.82%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="46px"&gt;Delhi&amp;nbsp;&amp;nbsp; Haryana office&lt;/TD&gt;&lt;TD width="114px" height="46px"&gt;Jul&lt;/TD&gt;&lt;TD width="114.667px" height="46px"&gt;-4.28%&lt;/TD&gt;&lt;TD width="116px" height="46px"&gt;4.53%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="24px"&gt;Gujarat office&lt;/TD&gt;&lt;TD width="114px" height="24px"&gt;Apr&lt;/TD&gt;&lt;TD width="114.667px" height="24px"&gt;13.29%&lt;/TD&gt;&lt;TD width="116px" height="24px"&gt;17.82%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="24px"&gt;Gujarat office&lt;/TD&gt;&lt;TD width="114px" height="24px"&gt;May&lt;/TD&gt;&lt;TD width="114.667px" height="24px"&gt;-3.27%&lt;/TD&gt;&lt;TD width="116px" height="24px"&gt;14.55%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="24px"&gt;Gujarat office&lt;/TD&gt;&lt;TD width="114px" height="24px"&gt;Jun&lt;/TD&gt;&lt;TD width="114.667px" height="24px"&gt;0.90%&lt;/TD&gt;&lt;TD width="116px" height="24px"&gt;15.44%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="136.667px" height="24px"&gt;Gujarat office&lt;/TD&gt;&lt;TD width="114px" height="24px"&gt;Jul&lt;/TD&gt;&lt;TD width="114.667px" height="24px"&gt;1.69%&lt;/TD&gt;&lt;TD width="116px" height="24px"&gt;17.13%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you check for 'Bihar office', in cumulative column, it's perfectly adding the market share growth till July month,&lt;/P&gt;&lt;P&gt;but if you check for 'Delhi&amp;nbsp;&amp;nbsp; Haryana office', the cumulative value should start from '4.31%', and based on that it should give cumulative for that particular sales office.&lt;/P&gt;&lt;P&gt;But in my scenario, it's just&amp;nbsp; keep on adding all above values irrespective of different sales offices.&lt;/P&gt;&lt;P&gt;I am trying to achieve this in line chart with below expression:-&lt;/P&gt;&lt;P&gt;(RangeSum(Above(total&lt;BR /&gt;(Sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;Sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales) ),0,RowNo(TOTAL))))&lt;BR /&gt;-&lt;BR /&gt;(RangeSum(Above(total&lt;BR /&gt;sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;sum( {&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales),0,RowNo(TOTAL))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 10:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1679789#M51707</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-02-27T10:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to take cumulative of a particular expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1680166#M51746</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried with below expression in a table, without using TOTAl , this is giving me correct result. Delhi Haryana Office is starting from 4.3%, but when we use same in Line chart, its getting added up. I tried to convert it to combo chart and sorted it, but in combo its considering only one Sales office.&amp;nbsp;&lt;/P&gt;&lt;P&gt;RangeSum(Above(&lt;BR /&gt;(Sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;Sum({&amp;lt;FYear=,company_name=,Date={"&amp;gt;=$(=YearStart(max(Date),0,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),0))"}&amp;gt;}sales) ),0,RowNo()))&lt;/P&gt;&lt;P&gt;-&lt;BR /&gt;RangeSum(Above(&lt;BR /&gt;(sum({&amp;lt;FYear=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales)&lt;BR /&gt;/&lt;BR /&gt;sum( {&amp;lt;FYear=,company_name=,Date={"&amp;gt;=$(=YearStart(max(Date),-1,4))&amp;lt;=$(=AddYears(MonthEnd(max(Date)),-1))"}&amp;gt;}sales)),0,RowNo()))&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I have attached the screenshot of output.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 05:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1680166#M51746</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-02-28T05:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to take cumulative of a particular expression</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1680169#M51747</link>
      <description>&lt;P&gt;As I said, a sample app would help. But if you can't share one, have a look here to get some idea :&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Change-in-Sales/m-p/1679296#M386874" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/Change-in-Sales/m-p/1679296#M386874&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 06:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-take-cumulative-of-a-particular-expression/m-p/1680169#M51747</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-02-28T06:02:43Z</dc:date>
    </item>
  </channel>
</rss>

