<?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: RangeSum and Above in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669190#M728663</link>
    <description>&lt;P&gt;YEs i am using group by with 2 Ids&amp;nbsp;&lt;/P&gt;&lt;P&gt;Franchise ID and MSNID.&lt;/P&gt;&lt;P&gt;the solution you proposed in script is working but it aggr on both IDS but i want to aggr on 1 franchise ID only.&lt;/P&gt;&lt;P&gt;Kindly suggest how can i bypass MSNID in this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(FRANCHISE_CD=Previous(FRANCHISE_CD),&amp;nbsp; &amp;nbsp;Peek('CUM_QTA_MOV_1YB'), 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ EASYLOAD_RECH_AMT_SUM as CUM_QTA_MOV_1YB&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Jan 2020 09:57:36 GMT</pubDate>
    <dc:creator>noman212</dc:creator>
    <dc:date>2020-01-26T09:57:36Z</dc:date>
    <item>
      <title>RangeSum and Above</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669152#M728658</link>
      <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have implemented this expression to make category against the percentange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RangeSum(Above(Sum(EASYLOAD_RECH_AMT_SUM), 0, RowNo()))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you pls tell me how can i translate the logic into qlikScript&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Noman&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669152#M728658</guid>
      <dc:creator>noman212</dc:creator>
      <dc:date>2024-11-16T01:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum and Above</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669155#M728659</link>
      <description>&lt;P&gt;Hello guys?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2020 15:06:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669155#M728659</guid>
      <dc:creator>noman212</dc:creator>
      <dc:date>2020-01-25T15:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum and Above</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669170#M728660</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/44127"&gt;@noman212&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are using this expression against a percentage? I don't really get that info without a screenshot or a sample. However, often when I see the rangesum above expression it can be solved by a normal SUM() when implementing an "as of table" in the script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at HICs blog post on the as of table topic and see if you can use it to&amp;nbsp; solve your percentage scenario.&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2020 22:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669170#M728660</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-25T22:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum and Above</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669179#M728661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp; thanks for your reply.&lt;/P&gt;&lt;P&gt;i used this expression to calculate accumulated Sum and now i want to translate this expression into my script against ID.&lt;/P&gt;&lt;P&gt;i applied&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(FRANCHISE_CD=Previous(FRANCHISE_CD), RangeSum(EASYLOAD_RECH_AMT_SUM, Peek('CUM_QTA_MOV_1YB'))&lt;BR /&gt;,Sum(EASYLOAD_RECH_AMT_SUM)) as CUM_QTA_MOV_1YB&lt;/P&gt;&lt;P&gt;this in my script but unable to get my result.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 08:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669179#M728661</guid>
      <dc:creator>noman212</dc:creator>
      <dc:date>2020-01-26T08:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum and Above</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669185#M728662</link>
      <description>&lt;P&gt;It could be your aggregations that is causing you trouble. Are you using group by or not?&amp;nbsp; Try rephrasing to see if this approach is better.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(FRANCHISE_CD=Previous(FRANCHISE_CD),&amp;nbsp; &amp;nbsp;Peek('CUM_QTA_MOV_1YB'), 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ EASYLOAD_RECH_AMT_SUM as CUM_QTA_MOV_1YB&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 09:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669185#M728662</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-26T09:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum and Above</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669190#M728663</link>
      <description>&lt;P&gt;YEs i am using group by with 2 Ids&amp;nbsp;&lt;/P&gt;&lt;P&gt;Franchise ID and MSNID.&lt;/P&gt;&lt;P&gt;the solution you proposed in script is working but it aggr on both IDS but i want to aggr on 1 franchise ID only.&lt;/P&gt;&lt;P&gt;Kindly suggest how can i bypass MSNID in this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(FRANCHISE_CD=Previous(FRANCHISE_CD),&amp;nbsp; &amp;nbsp;Peek('CUM_QTA_MOV_1YB'), 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ EASYLOAD_RECH_AMT_SUM as CUM_QTA_MOV_1YB&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 09:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1669190#M728663</guid>
      <dc:creator>noman212</dc:creator>
      <dc:date>2020-01-26T09:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum and Above</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1677743#M728664</link>
      <description>&lt;P&gt;Noman, use the following Design Blog link to search that area for 'AGGR' posts, there are quite a few, was not sure which ones might help you in this case, but I think one of the existing ones might!&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 19:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-and-Above/m-p/1677743#M728664</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-02-20T19:28:03Z</dc:date>
    </item>
  </channel>
</rss>

