<?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: Exclude future values on line-chart with accumulation on the measure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787827#M61491</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the formulas. Things seem to work nicely (TAHNK YOU) but the problem comes up again if I do any selection. Do you know what might be causing this?&lt;/P&gt;&lt;P&gt;I modified the script like that to exclude zeros totally&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;SSASA:&lt;/DIV&gt;&lt;DIV&gt;LOAD&lt;/DIV&gt;&lt;DIV&gt;ID&lt;/DIV&gt;&lt;DIV&gt;Date([Date],'DD-MM-YYYY') as Date,&lt;/DIV&gt;&lt;DIV&gt;Year([Date]) as Year,&lt;/DIV&gt;&lt;DIV&gt;1 as DD;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Join&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Load&lt;/DIV&gt;&lt;DIV&gt;'sssss' as ID,&lt;/DIV&gt;&lt;DIV&gt;Sum(If(Year(Date) = 2021, DD))&lt;U&gt;&lt;STRONG&gt;*-1&lt;/STRONG&gt;&lt;/U&gt; as DD,&lt;/DIV&gt;&lt;DIV&gt;Date(WeekStart(Today())+8,'DD-MM-YYYY') as Date,&lt;/DIV&gt;&lt;DIV&gt;Year(Date(WeekStart(Today())+8,'DD-MM-YYYY')) as Year&lt;/DIV&gt;&lt;DIV&gt;resident SSASA;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;measure:&amp;nbsp;if( rangesum(above(sum({$&amp;lt;Year={"2021"}&amp;gt;}DD),0,rowno()))&amp;gt;0, rangesum(above(sum({$&amp;lt;Year={"2021"}&amp;gt;}DD),0,rowno())),)&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WITHOUT SELECTIONS&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzys_0-1614764591565.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50339i9C029498A59040E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krzys_0-1614764591565.png" alt="krzys_0-1614764591565.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WITH SELECTION&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzys_1-1614764649851.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50340iB106F47BD4D8DAB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krzys_1-1614764649851.png" alt="krzys_1-1614764649851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2021 09:47:29 GMT</pubDate>
    <dc:creator>krzys</dc:creator>
    <dc:date>2021-03-03T09:47:29Z</dc:date>
    <item>
      <title>Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787352#M61428</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I came across an issue I feel I am close to solving, but actually, this might not be possible to solve.&lt;/P&gt;&lt;P&gt;I want to have two lines on a line chart showing the accumulated&amp;nbsp;growth per week for my measures. Ideally, I would like the two lines to be as close to each other. This will mean that we are good on the track.&lt;/P&gt;&lt;P&gt;Sample data is 2 columns (attached)&lt;/P&gt;&lt;P&gt;In the chart underneath, I use:&lt;/P&gt;&lt;P&gt;Measure 2020: &amp;nbsp;Count(distinct {&amp;lt;"=Dual(Year([Date]),YearStart([Date]))"={'2020'}&amp;gt;}ID]) - modification on Accumulation full&lt;/P&gt;&lt;P&gt;Measure 2021: &amp;nbsp;Count(distinct {&amp;lt;"=Dual(Year([Date]),YearStart([Date]))"={'2021'}&amp;gt;}ID])&amp;nbsp;- modification on Accumulation full&lt;/P&gt;&lt;P&gt;Dimension: &amp;nbsp;[Date.autoCalendar.Week]&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-03-02 at 09.30.51.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50206iE150D82BD8E3E05F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-03-02 at 09.30.51.png" alt="Screenshot 2021-03-02 at 09.30.51.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The above chart is close to perfection, but I would like to achieve the same but without 117 for all the future weeks. I would rather this line be visible (without accumulating, these would be just zeros, but I would not see the growth) unless you have a way to show forecast instead of 117 for future weeks. That would be even better.&lt;/P&gt;&lt;P&gt;Do you have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787352#M61428</guid>
      <dc:creator>krzys</dc:creator>
      <dc:date>2021-12-20T21:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787355#M61430</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;you can try this logic to avoid future value of 117,&lt;/P&gt;&lt;P&gt;if(Date_week&amp;lt;= Week(Today),&amp;nbsp;&lt;SPAN&gt;Count(distinct {&amp;lt;"=Dual(Year([Date]),YearStart([Date]))"={'2021'}&amp;gt;}ID]) ,'')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ksrini.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 08:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787355#M61430</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-03-02T08:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787363#M61432</link>
      <description>&lt;P&gt;Thanks for the tip&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try that before, and it works well if there is no accumulation. The chart shows nothing instead of zeros.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzys_0-1614675592631.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50208i9C99B802AE8E0233/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krzys_0-1614675592631.png" alt="krzys_0-1614675592631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But once I turn on the accumulation to see the growth, the result is the same.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzys_1-1614675679335.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50209i32DFD64497141DA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krzys_1-1614675679335.png" alt="krzys_1-1614675679335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your idea will work if I have a way to precalculate accumulated values in a separate table... Or somehow exluce Max vales?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 09:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787363#M61432</guid>
      <dc:creator>krzys</dc:creator>
      <dc:date>2021-03-02T09:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787365#M61433</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thank for your reply, and good to hear,&lt;/P&gt;&lt;P&gt;you can use same logic for&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(weekday&amp;lt;= week(today),Cummulative ,Cumulative *0)&lt;/P&gt;&lt;P&gt;ksrini.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 09:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787365#M61433</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-03-02T09:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787368#M61434</link>
      <description>&lt;P&gt;hey again&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result for accumulation is the same but without accumulating is worse as zeros appeared again&lt;/P&gt;&lt;P&gt;I used this&lt;/P&gt;&lt;P&gt;if([Date.autoCalendar.Week]&amp;lt;= Week(Today),Count(distinct {&amp;lt;"=Dual(Year([Date]),YearStart([Date]))"={'2021'}&amp;gt;}[ID]) ,Count(distinct {&amp;lt;"=Dual(Year([Date]),YearStart([Date]))"={'2021'}&amp;gt;}[ID]) *0)&lt;/P&gt;&lt;P&gt;In principle it is correct that accumulation is giving these values. It takes MAX until data is reported and they just add zeros until the end of axis X.&lt;/P&gt;&lt;P&gt;Unless you had something else in mind?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 09:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787368#M61434</guid>
      <dc:creator>krzys</dc:creator>
      <dc:date>2021-03-02T09:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787407#M61442</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;ok, try it,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if([Date.autoCalendar.Week]&amp;lt;= Week(Today),Count(distinct {&amp;lt;"=Dual(Year([Date]),YearStart([Date]))"={'2021'}&amp;gt;}[ID]) ,(Count(distinct {&amp;lt;"=Dual(Year([Date]),YearStart([Date]))"={'2021'}&amp;gt;}[ID])-Count(distinct {&amp;lt;"=Dual(Year([Date]),YearStart([Date]))"={'2021'}&amp;gt;}[ID]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ksrini&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787407#M61442</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-03-02T10:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787427#M61447</link>
      <description>&lt;P&gt;Hey, unfortunately, it is not it. I get incorrect values for both: accumulated and regular values&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787427#M61447</guid>
      <dc:creator>krzys</dc:creator>
      <dc:date>2021-03-02T10:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787428#M61448</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can you share your qvf.&lt;/P&gt;&lt;P&gt;ksrini&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787428#M61448</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-03-02T10:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787432#M61449</link>
      <description>&lt;P&gt;sure&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;QVF and data attached&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 11:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787432#M61449</guid>
      <dc:creator>krzys</dc:creator>
      <dc:date>2021-03-02T11:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787586#M61461</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems it not possible...(?) - thanks for trying&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 17:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787586#M61461</guid>
      <dc:creator>krzys</dc:creator>
      <dc:date>2021-03-02T17:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787607#M61463</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Use this script:&lt;/P&gt;&lt;P&gt;SSASA:&lt;BR /&gt;LOAD&lt;BR /&gt;ID,&lt;BR /&gt;Date("Date",'DD-MM-YYYY') as Date,&lt;BR /&gt;Year(Date) as Year,&lt;BR /&gt;1 as DD&lt;BR /&gt;FROM [lib://REPORT EXTRACTION /SSSS1.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet27);&lt;BR /&gt;Join&lt;BR /&gt;Load&lt;BR /&gt;'sssss' as ID,&lt;BR /&gt;Sum(If(Year(Date) = 2021, DD))*-1 as DD,&lt;BR /&gt;Date(WeekStart(Today())+8,'DD-MM-YYYY') as Date,&lt;BR /&gt;Year(Date(WeekStart(Today())+8,'DD-MM-YYYY')) as Year&lt;BR /&gt;resident SSASA;&lt;/P&gt;&lt;P&gt;result:&lt;/P&gt;&lt;P&gt;Dimension: Week(Date)&lt;/P&gt;&lt;P&gt;Maesure for 2020:&amp;nbsp;rangesum(above(sum({$&amp;lt;Year={"2020"}&amp;gt;}DD),0,rowno()))&lt;/P&gt;&lt;P&gt;Measure for 2021:&amp;nbsp;rangesum(above(sum({$&amp;lt;Year={"2021"}&amp;gt;}DD),0,rowno()))&lt;/P&gt;&lt;P&gt;Chart like below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksrinivasan_0-1614707843911.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50285i080639A2DD25CF37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksrinivasan_0-1614707843911.png" alt="Ksrinivasan_0-1614707843911.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ksrini&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 17:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787607#M61463</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-03-02T17:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787608#M61464</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot wait to try this out tomorrow. Will be there a way to hide zeros too? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 18:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787608#M61464</guid>
      <dc:creator>krzys</dc:creator>
      <dc:date>2021-03-02T18:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787612#M61465</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;yes,&lt;/P&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Use this script:&lt;/P&gt;&lt;P&gt;SSASA:&lt;BR /&gt;LOAD&lt;BR /&gt;ID,&lt;BR /&gt;Date("Date",'DD-MM-YYYY') as Date,&lt;BR /&gt;Year(Date) as Year,&lt;BR /&gt;1 as DD&lt;BR /&gt;FROM [lib://REPORT EXTRACTION /SSSS1.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet27);&lt;BR /&gt;Join&lt;BR /&gt;Load&lt;BR /&gt;'sssss' as ID,&lt;BR /&gt;Sum(If(Year(Date) = 2021, DD))*-1.1 as DD,&lt;BR /&gt;Date(WeekStart(Today())+8,'DD-MM-YYYY') as Date,&lt;BR /&gt;Year(Date(WeekStart(Today())+8,'DD-MM-YYYY')) as Year&lt;BR /&gt;resident SSASA;&lt;/P&gt;&lt;P&gt;result:&lt;/P&gt;&lt;P&gt;Dimension: Week(Date)&lt;/P&gt;&lt;P&gt;Maesure for 2020:&amp;nbsp;rangesum(above(sum({$&amp;lt;Year={"2020"}&amp;gt;}DD),0,rowno()))&lt;/P&gt;&lt;P&gt;Measure for 2021:&amp;nbsp;rangesum(above(sum({$&amp;lt;Year={"2021"}&amp;gt;}DD),0,rowno()))&lt;/P&gt;&lt;P&gt;Chart like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksrinivasan_0-1614709193358.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50286i30EE5BECF89ED75F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksrinivasan_0-1614709193358.png" alt="Ksrinivasan_0-1614709193358.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;in chart Y axis min value should '0'&lt;/P&gt;&lt;P&gt;ksrini&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 18:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787612#M61465</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-03-02T18:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787827#M61491</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/80712"&gt;@Ksrinivasan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the formulas. Things seem to work nicely (TAHNK YOU) but the problem comes up again if I do any selection. Do you know what might be causing this?&lt;/P&gt;&lt;P&gt;I modified the script like that to exclude zeros totally&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;SSASA:&lt;/DIV&gt;&lt;DIV&gt;LOAD&lt;/DIV&gt;&lt;DIV&gt;ID&lt;/DIV&gt;&lt;DIV&gt;Date([Date],'DD-MM-YYYY') as Date,&lt;/DIV&gt;&lt;DIV&gt;Year([Date]) as Year,&lt;/DIV&gt;&lt;DIV&gt;1 as DD;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Join&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Load&lt;/DIV&gt;&lt;DIV&gt;'sssss' as ID,&lt;/DIV&gt;&lt;DIV&gt;Sum(If(Year(Date) = 2021, DD))&lt;U&gt;&lt;STRONG&gt;*-1&lt;/STRONG&gt;&lt;/U&gt; as DD,&lt;/DIV&gt;&lt;DIV&gt;Date(WeekStart(Today())+8,'DD-MM-YYYY') as Date,&lt;/DIV&gt;&lt;DIV&gt;Year(Date(WeekStart(Today())+8,'DD-MM-YYYY')) as Year&lt;/DIV&gt;&lt;DIV&gt;resident SSASA;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;measure:&amp;nbsp;if( rangesum(above(sum({$&amp;lt;Year={"2021"}&amp;gt;}DD),0,rowno()))&amp;gt;0, rangesum(above(sum({$&amp;lt;Year={"2021"}&amp;gt;}DD),0,rowno())),)&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WITHOUT SELECTIONS&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzys_0-1614764591565.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50339i9C029498A59040E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krzys_0-1614764591565.png" alt="krzys_0-1614764591565.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WITH SELECTION&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzys_1-1614764649851.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50340iB106F47BD4D8DAB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="krzys_1-1614764649851.png" alt="krzys_1-1614764649851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2021 09:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1787827#M61491</guid>
      <dc:creator>krzys</dc:creator>
      <dc:date>2021-03-03T09:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1788136#M61517</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;what you have selected,&lt;/P&gt;&lt;P&gt;which field set as filter&lt;/P&gt;&lt;P&gt;ksrini&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 04:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1788136#M61517</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-03-04T04:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude future values on line-chart with accumulation on the measure</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1788333#M61551</link>
      <description>&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I reproduced the logic in my main app and it shows everything as we expected but when I select any other dimensions it goes the same again showing the same amount across future weeks.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 14:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-future-values-on-line-chart-with-accumulation-on-the/m-p/1788333#M61551</guid>
      <dc:creator>krzys</dc:creator>
      <dc:date>2021-03-04T14:01:36Z</dc:date>
    </item>
  </channel>
</rss>

