<?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 Range sum in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Range-sum/m-p/1598190#M44229</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to calculate the cumulative function for the 12 months in line chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)We have two filters in dashboard&amp;nbsp; example filter 1 ([Month Year])and filter 2(PeriodTypeDescription), now the user didn't select any filter then the line chart shd show as default value with rolling 12 months with cumulative.&lt;/P&gt;&lt;P&gt;example if current months is jul 2019 then then my cumulative should be jun2018-July2019.&lt;/P&gt;&lt;P&gt;for this time period i declared the variable below this is having rollign 12 months&lt;/P&gt;&lt;P&gt;vCumulative&lt;/P&gt;&lt;P&gt;=&lt;BR /&gt;if(GetSelectedCount(PeriodTypeDescription)=0 and GetSelectedCount([Month Year])=0,'&amp;lt;=$(=date(MAX(Date),'MMM YY')) &amp;gt;=$(=date(AddMonths(Max(Date),-11),'MMM YY'))')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now coming to line chart expression i have set analysis calculation as below&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Data Source Type]={'MIS'},[Month Year]=,PeriodTypeDescription=&amp;gt;}$(vMeasure))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now how to pass this range sum above function in this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please provide ur sugestion&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>Wed, 22 Dec 2021 16:08:25 GMT</pubDate>
    <dc:creator>manoranjan_321988</dc:creator>
    <dc:date>2021-12-22T16:08:25Z</dc:date>
    <item>
      <title>Range sum</title>
      <link>https://community.qlik.com/t5/App-Development/Range-sum/m-p/1598190#M44229</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to calculate the cumulative function for the 12 months in line chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)We have two filters in dashboard&amp;nbsp; example filter 1 ([Month Year])and filter 2(PeriodTypeDescription), now the user didn't select any filter then the line chart shd show as default value with rolling 12 months with cumulative.&lt;/P&gt;&lt;P&gt;example if current months is jul 2019 then then my cumulative should be jun2018-July2019.&lt;/P&gt;&lt;P&gt;for this time period i declared the variable below this is having rollign 12 months&lt;/P&gt;&lt;P&gt;vCumulative&lt;/P&gt;&lt;P&gt;=&lt;BR /&gt;if(GetSelectedCount(PeriodTypeDescription)=0 and GetSelectedCount([Month Year])=0,'&amp;lt;=$(=date(MAX(Date),'MMM YY')) &amp;gt;=$(=date(AddMonths(Max(Date),-11),'MMM YY'))')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now coming to line chart expression i have set analysis calculation as below&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Data Source Type]={'MIS'},[Month Year]=,PeriodTypeDescription=&amp;gt;}$(vMeasure))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now how to pass this range sum above function in this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please provide ur sugestion&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>Wed, 22 Dec 2021 16:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Range-sum/m-p/1598190#M44229</guid>
      <dc:creator>manoranjan_321988</dc:creator>
      <dc:date>2021-12-22T16:08:25Z</dc:date>
    </item>
  </channel>
</rss>

