<?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 Sum, Aggr: Accumulate a value per month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-Aggr-Accumulate-a-value-per-month/m-p/744852#M667096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I have a &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;problem and I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;was wondering if&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you could help me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;please&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I would&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;create two&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;field Key1, Key2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;The first&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_Janvier&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;do&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;recover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;January and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;concatenates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a string &lt;SPAN lang="en"&gt;&lt;SPAN class="atn"&gt;[&lt;/SPAN&gt;TextConstant]&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;T&lt;SPAN class="hps"&gt;he&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;February&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;accumulated&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_Janvier&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;+&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Net&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Month&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;February&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;The&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_Janvier, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;February&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;must be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;divided by&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;1000 and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;rounded to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;two digits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="alt-edited hps"&gt;did this&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;NoConcatenate&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;MSPCHA_S1&lt;/SPAN&gt;: &lt;BR /&gt;LOAD &lt;SPAN class="hps"&gt;*,&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January' &lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;] &lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;), &lt;SPAN class="hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro]&lt;/SPAN&gt;&lt;/SPAN&gt;) &lt;SPAN class="atn hps"&gt;as [&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_Janvier&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in January&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;],&lt;BR /&gt; [&lt;/SPAN&gt;TextConstant] &amp;amp; &lt;SPAN class="atn hps"&gt;(&lt;/SPAN&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January', &lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January' &lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;] &lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;), &lt;SPAN class="hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro]&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt; &amp;amp; &lt;SPAN class="hps"&gt;';'&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;as [&lt;/SPAN&gt;KEY &lt;SPAN class="hps"&gt;1],&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;February', &lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;]&lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;+ (&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January' &lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;] &lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;), &lt;SPAN class="hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro]&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;as [&lt;/SPAN&gt;AC &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;February&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;], &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn"&gt;[&lt;/SPAN&gt;TextConstant] &amp;amp; &lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;February', &lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;]&lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;+ (&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January' &lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;] &lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;), &lt;SPAN class="hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro]&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &amp;amp; &lt;SPAN class="hps"&gt;';'&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;as [&lt;/SPAN&gt;KEY &lt;SPAN class="hps"&gt;2]&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;Resident&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Extraction_Bil&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;it does not work&lt;/SPAN&gt;, I have &lt;SPAN class="hps"&gt;value&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;January&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;which is the same&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that of&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;February&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FALSE,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;CA_&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;February&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I do not know&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;how.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;In my table I have [&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;in &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;Euro] field, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;MONTHS field,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Year field&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Nov 2014 11:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-29T11:19:17Z</dc:date>
    <item>
      <title>Sum, Aggr: Accumulate a value per month</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Aggr-Accumulate-a-value-per-month/m-p/744852#M667096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I have a &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;problem and I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;was wondering if&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you could help me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;please&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I would&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;create two&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;field Key1, Key2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;The first&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_Janvier&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;do&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;recover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;January and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;concatenates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a string &lt;SPAN lang="en"&gt;&lt;SPAN class="atn"&gt;[&lt;/SPAN&gt;TextConstant]&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;T&lt;SPAN class="hps"&gt;he&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;February&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;accumulated&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_Janvier&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;+&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Net&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Month&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;February&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;The&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_Janvier, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;February&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;must be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;divided by&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;1000 and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;rounded to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;two digits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="alt-edited hps"&gt;did this&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;NoConcatenate&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;MSPCHA_S1&lt;/SPAN&gt;: &lt;BR /&gt;LOAD &lt;SPAN class="hps"&gt;*,&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January' &lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;] &lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;), &lt;SPAN class="hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro]&lt;/SPAN&gt;&lt;/SPAN&gt;) &lt;SPAN class="atn hps"&gt;as [&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_Janvier&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in January&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;],&lt;BR /&gt; [&lt;/SPAN&gt;TextConstant] &amp;amp; &lt;SPAN class="atn hps"&gt;(&lt;/SPAN&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January', &lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January' &lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;] &lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;), &lt;SPAN class="hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro]&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt; &amp;amp; &lt;SPAN class="hps"&gt;';'&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;as [&lt;/SPAN&gt;KEY &lt;SPAN class="hps"&gt;1],&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;February', &lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;]&lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;+ (&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January' &lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;] &lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;), &lt;SPAN class="hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro]&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;as [&lt;/SPAN&gt;AC &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;February&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;], &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn"&gt;[&lt;/SPAN&gt;TextConstant] &amp;amp; &lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;February', &lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;]&lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;+ (&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;IF (&lt;/SPAN&gt;[Month] &lt;SPAN class="atn hps"&gt;= '&lt;/SPAN&gt;January' &lt;SPAN class="atn hps"&gt;Round (&lt;/SPAN&gt;[&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;] &lt;SPAN class="hps"&gt;/1000,0.01&lt;/SPAN&gt;), &lt;SPAN class="hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;excluding VAT in&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro]&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt; &amp;amp; &lt;SPAN class="hps"&gt;';'&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;as [&lt;/SPAN&gt;KEY &lt;SPAN class="hps"&gt;2]&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;Resident&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Extraction_Bil&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;it does not work&lt;/SPAN&gt;, I have &lt;SPAN class="hps"&gt;value&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;January&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;which is the same&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that of&lt;/SPAN&gt; &lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="atn hps"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;February&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Euro &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="atn"&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FALSE,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;CA_&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;February&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I do not know&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;how.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;In my table I have [&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Turnover&lt;/SPAN&gt;&lt;/SPAN&gt;_&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;in &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;Euro] field, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;MONTHS field,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Year field&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Nov 2014 11:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Aggr-Accumulate-a-value-per-month/m-p/744852#M667096</guid>
      <dc:creator />
      <dc:date>2014-11-29T11:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sum, Aggr: Accumulate a value per month</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Aggr-Accumulate-a-value-per-month/m-p/744853#M667097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is due to your else statement in the if clause which is for both expressions the same ([Turnover excluding VAT in Euro]). So the if condition doesn't match and then your else condition is executed. This is probably the reason why you get the same values for both fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you try doing this accumulation automatically?:&lt;/P&gt;&lt;P&gt;load*,&lt;/P&gt;&lt;P&gt;if( match(Month ,Previous(Month))&amp;nbsp; , numsum( TurnoverTmp , peek( ' TurnoverCumulated ' )), TurnoverTmp ) as TurnoverCumulated&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;load*,&lt;/P&gt;&lt;P&gt;Round ([Turnover excluding VAT in Euro]/1000,0.01) as TurnoverTmp&lt;/P&gt;&lt;P&gt;Resident Extraction_Bil&lt;/P&gt;&lt;P&gt;order by Month asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Nov 2014 14:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Aggr-Accumulate-a-value-per-month/m-p/744853#M667097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-29T14:13:37Z</dc:date>
    </item>
  </channel>
</rss>

