<?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: Expression Sum with a sum variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570837#M685518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you dathu.... this one worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2014 14:08:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-27T14:08:10Z</dc:date>
    <item>
      <title>Expression Sum with a sum variable</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570831#M685512</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;SPAN lang="EN-US" style="font-size: 12pt;"&gt;I’m having problems with the below expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt;I have not made any selections in dimension other what is in this expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-size: 12pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-size: 12pt;"&gt;Calendar_YearAndMonth&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;={'201401','201402','201403','201404'}&amp;gt;}&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-size: 12pt;"&gt;$(vCO_POSIBLE_TURNOVER)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt;The varible “&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-size: 12pt;"&gt;vCO_POSIBLE_TURNOVER” is&amp;nbsp; &lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="color: #ff8000; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: blue; font-size: 12pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-size: 12pt;"&gt;$(vCO_NET_AMOUNT_EUR)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;)+(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-size: 12pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-size: 12pt;"&gt;$(vCOINVO_NET_AMOUNT_EUR)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;))&lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="color: #ff8000; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="color: #ff8000; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt;And this variable works outside this expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 09:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570831#M685512</guid>
      <dc:creator />
      <dc:date>2014-01-27T09:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Sum with a sum variable</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570832#M685513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your expresion instead of writeing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-size: 12pt;"&gt;$(vCO_POSIBLE_TURNOVER)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;write:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-size: 12pt;"&gt;$(=$(vCO_POSIBLE_TURNOVER)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-size: 12pt;"&gt;) &lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 09:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570832#M685513</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-01-27T09:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Sum with a sum variable</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570833#M685514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michale,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum of sum will not work.&lt;/P&gt;&lt;P&gt;Modify your valriable so that it becomes A+B and not sum(A)+sum(B)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 09:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570833#M685514</guid>
      <dc:creator />
      <dc:date>2014-01-27T09:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Sum with a sum variable</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570834#M685515</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;You cannot nest SUMs directly; use aggr() if necessary - something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Calendar_YearAndMonth={'201401','201402','201403','201404'}&amp;gt;} Aggr($(vCO_POSIBLE_TURNOVER), ChartDim1, ChartDim2, ...))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(where ChartDim1, ChartDim2 is a comma separated list of dimensions in your chart or table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 10:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570834#M685515</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-01-27T10:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Sum with a sum variable</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570835#M685516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thank you all for your help…… I have tried them but they did not succeeded, so I will keep on trying new ways to get this solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 13:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570835#M685516</guid>
      <dc:creator />
      <dc:date>2014-01-27T13:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Sum with a sum variable</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570836#M685517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&amp;nbsp; Please use set Analysis also in the the variable :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;LET &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: gray;"&gt;vCO_POSIBLE_TURNOVER =&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: gray;"&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt; &lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff8000;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: black;"&gt;(&lt;SPAN lang="EN-US" style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 12pt; color: black;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 12pt; color: maroon;"&gt;Calendar_YearAndMonth&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 12pt; color: black;"&gt;={'201401','201402','201403','201404'}&amp;gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: gray;"&gt;$(vCO_NET_AMOUNT_EUR)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: black;"&gt;)+(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: black;"&gt;(&lt;SPAN lang="EN-US" style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 12pt; color: black;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 12pt; color: maroon;"&gt;Calendar_YearAndMonth&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 12pt; color: black;"&gt;={'201401','201402','201403','201404'}&amp;gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: gray;"&gt;$(vCOINVO_NET_AMOUNT_EUR)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: black;"&gt;))&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff8000;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 13:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570836#M685517</guid>
      <dc:creator />
      <dc:date>2014-01-27T13:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Sum with a sum variable</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570837#M685518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you dathu.... this one worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 14:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Sum-with-a-sum-variable/m-p/570837#M685518</guid>
      <dc:creator />
      <dc:date>2014-01-27T14:08:10Z</dc:date>
    </item>
  </channel>
</rss>

