<?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: Cumulative Line Snapshot in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cumulative-Line-Snapshot/m-p/1526170#M37821</link>
    <description>&lt;P&gt;Thanks alot Sunny !!&lt;/P&gt;&lt;P&gt;I tried your suggestion earlier and it dint work by itself but your suggestion triggered another idea&amp;nbsp;and I manage to resolve this with the following expression:&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;if(Universal.MonthYear&amp;lt; date(max(total Uni_Act_Date),'YYYY-MM-DD hh:mm:ss.fff'),&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;IF(if(Sum( {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage])=0,null(),Sum( {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage])) = 0, 0, &lt;BR /&gt;rangesum(above(if(Sum( {$&amp;lt;DateType={'Plan'},&lt;FONT color="#FF0000"&gt;[Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Plan Weightage])=0,null(),Sum( {$&amp;lt;DateType={'Plan'},&lt;FONT color="#FF0000"&gt;[Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Plan Weightage])),0,rowno()))/(Sum ( total {$&amp;lt;DateType={'Plan'},&lt;FONT color="#FF0000"&gt;[Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Plan Weightage]))&lt;BR /&gt;))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks alot for your assistance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jan 2019 08:51:41 GMT</pubDate>
    <dc:creator>ramanannad</dc:creator>
    <dc:date>2019-01-04T08:51:41Z</dc:date>
    <item>
      <title>Cumulative Line Snapshot</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Line-Snapshot/m-p/1525231#M37737</link>
      <description>&lt;P&gt;Dear Experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We managed a cumulative line chart having month as dimension with two growing % of actual and %plan progress. The charts works perfect with rangesum function but users request is to have the chart keep the full value even when a particular month range is filtered. By default, the rangesum recalculates the values based on selection and this makes the figures go wrong. What is required is just a snapshot/zoomed view of the original chart(without any selections).&lt;/P&gt;&lt;P&gt;&lt;U&gt;Dimension: &lt;/U&gt;Universal.MonthYear&lt;/P&gt;&lt;P&gt;&lt;U&gt;Measure1(Plan):&lt;/U&gt;&lt;/P&gt;&lt;P&gt;IF(if(Sum( {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage])=0,null(),Sum( {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage])) = 0, 0,&lt;BR /&gt;rangesum(above(if(Sum( {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage])=0,null(),Sum( {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage])),0,rowno()))/&lt;BR /&gt;(Sum ( total {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage])))&lt;/P&gt;&lt;P&gt;&lt;U&gt;Measure2(Actual):&lt;/U&gt;&lt;/P&gt;&lt;P&gt;if(Universal.MonthYear &amp;lt; date(max(Uni_Act_Date),'YYYY-MM-DD hh:mm:ss.fff'),&lt;/P&gt;&lt;P&gt;IF(if(Sum( {$&amp;lt;DateType={'Actual'} &amp;gt;} [Actual Weightage])=0,null(),&lt;BR /&gt;Sum( {$&amp;lt;DateType={'Actual'}&amp;gt;} [Actual Weightage])) = 0, 0,&lt;/P&gt;&lt;P&gt;rangesum(above(if(Sum( {$&amp;lt;DateType={'Actual'}&amp;gt;} [Actual Weightage])=0,null(),&lt;BR /&gt;Sum( {$&amp;lt;DateType={'Actual'}&amp;gt;} [Actual Weightage])),0,&lt;BR /&gt;rowno()))/(Sum ( total {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage]))))&lt;/P&gt;&lt;P&gt;&lt;U&gt;Base:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Base.png" style="width: 541px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2837i6648579DE80BA0E5/image-dimensions/541x350?v=v2" width="541" height="350" role="button" title="Base.png" alt="Base.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Month selected:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selected.png" style="width: 615px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2838iE1F8E4EB9EBD24EC/image-dimensions/615x251?v=v2" width="615" height="251" role="button" title="Selected.png" alt="Selected.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;*Feb values has changed based on the selection, requirement is to have it locked at original values as the next image:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Expected&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Expected.png" style="width: 346px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2839i7D8393565564D463/image-dimensions/346x485?v=v2" width="346" height="485" role="button" title="Expected.png" alt="Expected.png" /&gt;&lt;/span&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;*Edited in MS Paint&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The primary table and data model has many fields thus we are trying to achieve this in front end rather back in load script. Hope this explains the issue in hand &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; How do we solve this using front end expressions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Line-Snapshot/m-p/1525231#M37737</guid>
      <dc:creator>ramanannad</dc:creator>
      <dc:date>2024-11-16T06:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Line Snapshot</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Line-Snapshot/m-p/1525232#M37738</link>
      <description>&lt;P&gt;Try these expressions and see if they work&lt;/P&gt;&lt;PRE&gt;If(If(Sum({$&amp;lt;DateType = {'Plan'}&amp;gt;} [Plan Weightage]) = 0, Null(), Sum({$&amp;lt;DateType = {'Plan'}&amp;gt;} [Plan Weightage])) = 0, 0,
RangeSum(Above(If(Sum({$&amp;lt;DateType = {'Plan'}&lt;FONT color="#FF0000"&gt;, [Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Plan Weightage]) = 0, Null(), Sum({$&amp;lt;DateType = {'Plan'}&lt;FONT color="#FF0000"&gt;, [Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Plan Weightage])), 0, RowNo()))/(Sum(TOTAL {$&amp;lt;DateType = {'Plan'}&amp;gt;} [Plan Weightage])))&lt;/PRE&gt;&lt;P&gt;and&lt;/P&gt;&lt;PRE&gt;If(Universal.MonthYear &amp;lt; Max(Uni_Act_Date),
If(If(Sum({$&amp;lt;DateType = {'Actual'}&amp;gt;} [Actual Weightage]) = 0, Null(),
Sum({$&amp;lt;DateType = {'Actual'}&amp;gt;} [Actual Weightage])) = 0, 0,

RangeSum(Above(If(Sum({$&amp;lt;DateType = {'Actual'}&lt;FONT color="#FF0000"&gt;, [Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Actual Weightage]) = 0, Null(),
Sum({$&amp;lt;DateType = {'Actual'}&lt;FONT color="#FF0000"&gt;, [Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Actual Weightage])), 0, 
RowNo()))/(Sum(TOTAL {$&amp;lt;DateType = {'Plan'}&amp;gt;} [Plan Weightage]))))&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Jan 2019 00:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Line-Snapshot/m-p/1525232#M37738</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-02T00:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Line Snapshot</title>
      <link>https://community.qlik.com/t5/App-Development/Cumulative-Line-Snapshot/m-p/1526170#M37821</link>
      <description>&lt;P&gt;Thanks alot Sunny !!&lt;/P&gt;&lt;P&gt;I tried your suggestion earlier and it dint work by itself but your suggestion triggered another idea&amp;nbsp;and I manage to resolve this with the following expression:&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;if(Universal.MonthYear&amp;lt; date(max(total Uni_Act_Date),'YYYY-MM-DD hh:mm:ss.fff'),&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;IF(if(Sum( {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage])=0,null(),Sum( {$&amp;lt;DateType={'Plan'}&amp;gt;} [Plan Weightage])) = 0, 0, &lt;BR /&gt;rangesum(above(if(Sum( {$&amp;lt;DateType={'Plan'},&lt;FONT color="#FF0000"&gt;[Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Plan Weightage])=0,null(),Sum( {$&amp;lt;DateType={'Plan'},&lt;FONT color="#FF0000"&gt;[Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Plan Weightage])),0,rowno()))/(Sum ( total {$&amp;lt;DateType={'Plan'},&lt;FONT color="#FF0000"&gt;[Universal.MonthYear]&lt;/FONT&gt;&amp;gt;} [Plan Weightage]))&lt;BR /&gt;))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks alot for your assistance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 08:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cumulative-Line-Snapshot/m-p/1526170#M37821</guid>
      <dc:creator>ramanannad</dc:creator>
      <dc:date>2019-01-04T08:51:41Z</dc:date>
    </item>
  </channel>
</rss>

