<?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() with Line chart in QLik Sense. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RangeSum-with-Line-chart-in-QLik-Sense/m-p/2454210#M98273</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/297109"&gt;@Raval&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;try if this works:&lt;/P&gt;
&lt;P&gt;(&lt;BR /&gt;sum(&lt;BR /&gt;{&lt;BR /&gt;&amp;lt;DESCRIPTION=, PARTNO=&amp;gt;,&lt;BR /&gt;MonthYear={"&amp;gt;=$(=MonthStart(Max(MonthYear), -11))&amp;lt;=$(=MonthEnd(Max(MonthYear)))"}&lt;BR /&gt;} &lt;BR /&gt;[FA_QTY_FUNC] * [AVERAGE_PRICE]&lt;BR /&gt;) &lt;BR /&gt;/ &lt;BR /&gt;Rangesum(&lt;BR /&gt;Above(&lt;BR /&gt;Sum(&lt;BR /&gt;{&amp;lt;DESCRIPTION=, PARTNO=&amp;gt;&lt;BR /&gt;, MonthYear={"&amp;gt;=$(=MonthStart(Max(MonthYear), -11))&amp;lt;=$(=MonthEnd(Max(MonthYear)))"}&lt;BR /&gt;} &lt;BR /&gt;CONSUME_AVG_PRICE_FUNC&lt;BR /&gt;)&lt;BR /&gt;,0,12&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;) * 365&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 13:11:14 GMT</pubDate>
    <dc:creator>F_B</dc:creator>
    <dc:date>2024-05-20T13:11:14Z</dc:date>
    <item>
      <title>RangeSum() with Line chart in QLik Sense.</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-with-Line-chart-in-QLik-Sense/m-p/2445271#M97633</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I have data since 2021 in my model. &lt;BR /&gt;I have to create Line Chart by MOnth/Year, the expression of Chart is as based on Running sum of last 12 months as per below.&lt;/P&gt;
&lt;P&gt;((sum({&amp;lt;DESCRIPTION=,PARTNO=&amp;gt;} [FA_QTY_FUNC] * [AVERAGE_PRICE]) &lt;BR /&gt;/ &lt;BR /&gt;Rangesum(Above( Sum({&amp;lt;DESCRIPTION=,PARTNO=&amp;gt;}CONSUME_AVG_PRICE_FUNC),0,12)))&lt;BR /&gt;)*365&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;now as we have data from 2021 for whole 2021 our expression will not calculate correct running sum of last 12 months. so we want our graph shows only month onwards Jan-2022.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As soon as i am trying to do so my RangeSum() is considering Jan2022 as First month starts summing value from Jan2022 only. and my calculation starts showing wrong data as per functional requirement.&lt;BR /&gt;&lt;BR /&gt;Can we have some expression which will give us last 12 month SUM even if we are showing it in Dimension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raval_0-1714134457018.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164786i3BECB750EFD444FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raval_0-1714134457018.png" alt="Raval_0-1714134457018.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 12:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-with-Line-chart-in-QLik-Sense/m-p/2445271#M97633</guid>
      <dc:creator>Raval</dc:creator>
      <dc:date>2024-04-26T12:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum() with Line chart in QLik Sense.</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-with-Line-chart-in-QLik-Sense/m-p/2454210#M98273</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/297109"&gt;@Raval&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;try if this works:&lt;/P&gt;
&lt;P&gt;(&lt;BR /&gt;sum(&lt;BR /&gt;{&lt;BR /&gt;&amp;lt;DESCRIPTION=, PARTNO=&amp;gt;,&lt;BR /&gt;MonthYear={"&amp;gt;=$(=MonthStart(Max(MonthYear), -11))&amp;lt;=$(=MonthEnd(Max(MonthYear)))"}&lt;BR /&gt;} &lt;BR /&gt;[FA_QTY_FUNC] * [AVERAGE_PRICE]&lt;BR /&gt;) &lt;BR /&gt;/ &lt;BR /&gt;Rangesum(&lt;BR /&gt;Above(&lt;BR /&gt;Sum(&lt;BR /&gt;{&amp;lt;DESCRIPTION=, PARTNO=&amp;gt;&lt;BR /&gt;, MonthYear={"&amp;gt;=$(=MonthStart(Max(MonthYear), -11))&amp;lt;=$(=MonthEnd(Max(MonthYear)))"}&lt;BR /&gt;} &lt;BR /&gt;CONSUME_AVG_PRICE_FUNC&lt;BR /&gt;)&lt;BR /&gt;,0,12&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;) * 365&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 13:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-with-Line-chart-in-QLik-Sense/m-p/2454210#M98273</guid>
      <dc:creator>F_B</dc:creator>
      <dc:date>2024-05-20T13:11:14Z</dc:date>
    </item>
  </channel>
</rss>

