<?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: I want to simplify a rangesum expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1674803#M51211</link>
    <description>&lt;P&gt;Both the expression doesn't give me same value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 13:00:57 GMT</pubDate>
    <dc:creator>vjoshi2017</dc:creator>
    <dc:date>2020-02-12T13:00:57Z</dc:date>
    <item>
      <title>I want to simplify a rangesum expression</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1673735#M51055</link>
      <description>&lt;P&gt;I have put a slider in my dashboard which signifies months after my price changes.&lt;/P&gt;&lt;P&gt;To get the cumulative sum for my order quantity , I have put the below expression -&amp;nbsp;&lt;/P&gt;&lt;P&gt;fabs(Pick(WildMatch($(POSTMONTH),0 , 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 10, 11,12,13,14,15,16,17,18),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Post_months -= {"0"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9","10"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9","10","11"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9","10","11","12"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9","10","11","12","13"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9","10","11","12","13","14"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17"}&amp;gt;}ORDQTY_CL),&lt;BR /&gt;Sum({&amp;lt;Post_months = {"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17", "18"}&amp;gt;}ORDQTY_CL)))&lt;/P&gt;&lt;P&gt;This can not be scaled after few months. Can I write this expression in a better way?&lt;/P&gt;&lt;P&gt;What I am doing here is getting the cumulative sum corresponding to slider variable value. I am trying to use rangesum but not been able to.&lt;/P&gt;&lt;P&gt;POSTMONTH is the variable used in slider.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1673735#M51055</guid>
      <dc:creator>vjoshi2017</dc:creator>
      <dc:date>2024-11-16T03:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: I want to simplify a rangesum expression</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1673768#M51058</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can u attach Sample qvf with sample data so that it will help to others to try and get back to u ASAP&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 09:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1673768#M51058</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2020-02-10T09:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: I want to simplify a rangesum expression</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1673819#M51061</link>
      <description>&lt;P&gt;You may try something in this way:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Post_months = {"&amp;lt;=$(POSTMONTH)"}&amp;gt;}ORDQTY_CL)&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 10:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1673819#M51061</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-02-10T10:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: I want to simplify a rangesum expression</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1673826#M51063</link>
      <description>&lt;P&gt;Adding to&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IF($(POSTMONTH)&amp;gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Post_months = {"&amp;lt;=$(POSTMONTH)"}&amp;gt;}ORDQTY_CL),Sum({&amp;lt;Post_months -= {"0"}&amp;gt;}ORDQTY_CL))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 10:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1673826#M51063</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2020-02-10T10:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: I want to simplify a rangesum expression</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1674803#M51211</link>
      <description>&lt;P&gt;Both the expression doesn't give me same value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1674803#M51211</guid>
      <dc:creator>vjoshi2017</dc:creator>
      <dc:date>2020-02-12T13:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: I want to simplify a rangesum expression</title>
      <link>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1674822#M51215</link>
      <description>&lt;P&gt;Is any of them correct? I suggest to use them within a table-chart with this or that dimensions which should show where the differences come from and could be then further examined. Also keep an eye on the fact that my suggestion didn't handle the case of 0 - so you adjust them maybe in this way:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Post_months = {"&lt;STRONG&gt;&amp;gt;0&lt;/STRONG&gt;&amp;lt;=$(POSTMONTH)"}&amp;gt;}ORDQTY_CL)&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/I-want-to-simplify-a-rangesum-expression/m-p/1674822#M51215</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-02-12T13:26:33Z</dc:date>
    </item>
  </channel>
</rss>

