<?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: help with expression -  aggregation DIFFERENT MONTHS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153785#M900875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be one of the two options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/131213_Capture.PNG" style="height: 270px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'-'}&amp;gt;} [Adjust Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'+'}&amp;gt;} [Adjust Amount]/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Discount Type] = {'C'}, [Discount Signal] = {'-'}&amp;gt;} [Discount Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Plan Type] = {'C'}, [Registry ID] = {'60'}&amp;gt;} [Plan Amount with Taxes]/100))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 2,&amp;nbsp; Count(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; DISTINCT [Unique Resource ID]), 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression2:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'-'}&amp;gt;} [Adjust Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'+'}&amp;gt;} [Adjust Amount]/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Discount Type] = {'C'}, [Discount Signal] = {'-'}&amp;gt;} [Discount Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Plan Type] = {'C'}, [Registry ID] = {'60'}&amp;gt;} [Plan Amount with Taxes]/100))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 2,&amp;nbsp; Count(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; DISTINCT {&amp;lt;[Unique Resource ID] = {"=Len(Trim([Unique Resource ID])) &amp;gt; 0"}&amp;gt;} [Unique Resource ID]), 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First one includes the null value in the count when finding the Unique Resource ID level amount, where as the second one exclude the null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2016 23:33:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-07-13T23:33:42Z</dc:date>
    <item>
      <title>help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153784#M900874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! &lt;/P&gt;&lt;P&gt;Please could someone help me with this expression problem. &lt;/P&gt;&lt;P&gt;the aggregation was working perfectly, until I added the months as dimensions, and I'm not getting to rebuild the expression so that I'll have the right value each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;total values by month should be as the first chart.&lt;/P&gt;&lt;P&gt;find the file attached here&lt;IMG alt="QV PROBLEM.PNG" class="jive-image image-1" src="/legacyfs/online/131203_QV PROBLEM.PNG" style="height: 384px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153784#M900874</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153785#M900875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be one of the two options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/131213_Capture.PNG" style="height: 270px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'-'}&amp;gt;} [Adjust Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'+'}&amp;gt;} [Adjust Amount]/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Discount Type] = {'C'}, [Discount Signal] = {'-'}&amp;gt;} [Discount Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Plan Type] = {'C'}, [Registry ID] = {'60'}&amp;gt;} [Plan Amount with Taxes]/100))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 2,&amp;nbsp; Count(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; DISTINCT [Unique Resource ID]), 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression2:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'-'}&amp;gt;} [Adjust Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'+'}&amp;gt;} [Adjust Amount]/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Discount Type] = {'C'}, [Discount Signal] = {'-'}&amp;gt;} [Discount Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Plan Type] = {'C'}, [Registry ID] = {'60'}&amp;gt;} [Plan Amount with Taxes]/100))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 2,&amp;nbsp; Count(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; DISTINCT {&amp;lt;[Unique Resource ID] = {"=Len(Trim([Unique Resource ID])) &amp;gt; 0"}&amp;gt;} [Unique Resource ID]), 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First one includes the null value in the count when finding the Unique Resource ID level amount, where as the second one exclude the null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 23:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153785#M900875</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-13T23:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153786#M900876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second one is the one that I need&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; but I need the lines in&amp;nbsp; which the [Unique Resouce ID]is not a numberic format to desapear. what can be done in the expression?&lt;/SPAN&gt;&lt;IMG alt="lines to desapear.PNG" class="jive-image image-1" src="/legacyfs/online/131342_lines to desapear.PNG" style="font-size: 10pt; line-height: 1.5em; height: 453px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153786#M900876</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2016-07-14T16:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153787#M900877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The second one is the one that I need&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;but I need the lines in&amp;nbsp; which the [Unique Resouce ID]is not a numberic format to desapear. what can be done in the expression?&lt;IMG alt="lines to desapear.PNG" class="jive-image image-1" src="/legacyfs/online/131343_lines to desapear.PNG" style="height: 453px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153787#M900877</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2016-07-14T16:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153788#M900878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try selection 'Suppress When Value Is Null' for your second dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/131338_Capture.PNG" style="height: 606px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153788#M900878</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-14T16:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153789#M900879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it worked for the first item, but the second still remains. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one below is the one which still remains:&lt;IMG alt="lines to desapear.PNG" class="jive-image image-1" src="/legacyfs/online/131344_lines to desapear.PNG" style="height: 239px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153789#M900879</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2016-07-14T16:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153790#M900880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try one more time now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153790#M900880</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-14T16:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153791#M900881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great!!! You saved the day again!!&lt;/P&gt;&lt;P&gt;thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 17:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153791#M900881</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2016-07-14T17:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153792#M900882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 17:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153792#M900882</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-14T17:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153793#M900883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi again!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Now I'm creating a new chart with the same values, but I've changed the dimention to COST CENTER, but I was not able to get how to change the aggr and have the right values within the lines.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;could you please help me again?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 19:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153793#M900883</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2016-07-18T19:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153794#M900884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if this is what is needed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({&amp;lt;[Unique Resource ID] = {"=Len(Trim([Unique Resource ID])) &amp;gt; 0"}&amp;gt;} 1) *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'-'}&amp;gt;} [Adjust Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Adjust Type]= {'C'}, [Registry ID] = {'70'}, [Adjust Signal] = {'+'}&amp;gt;} [Adjust Amount]/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Discount Type] = {'C'}, [Discount Signal] = {'-'}&amp;gt;} [Discount Amount]*(-1)/100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; {&amp;lt;[Plan Type] = {'C'}, [Registry ID] = {'60'}&amp;gt;} [Plan Amount with Taxes]/100))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = &lt;SPAN style="color: #ff0000;"&gt;3&lt;/SPAN&gt;,&amp;nbsp; Count(TOTAL &amp;lt;[Unique Account ID], [Reference Month]&amp;gt; DISTINCT {&amp;lt;[Unique Resource ID] = {"=Len(Trim([Unique Resource ID])) &amp;gt; 0"}&amp;gt;} [Unique Resource ID]), 1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 23:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153794#M900884</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-18T23:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: help with expression -  aggregation DIFFERENT MONTHS</title>
      <link>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153795#M900885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Sunny, when I collapse all the information and stay only with cost center showing the values showed for cost center are not correct.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;could you please help me once more?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 17:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-with-expression-aggregation-DIFFERENT-MONTHS/m-p/1153795#M900885</guid>
      <dc:creator>silvia_assuncao</dc:creator>
      <dc:date>2016-08-17T17:59:53Z</dc:date>
    </item>
  </channel>
</rss>

