<?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 Expresion wont work! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224243#M76672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works Perfect Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Dec 2010 15:51:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-15T15:51:51Z</dc:date>
    <item>
      <title>Expresion wont work!</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224239#M76668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im creating this Expressions and i cant get it to work.&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Offerte.Jaar={$(=Only(Offerte.Jaar))}&amp;gt;} ($(vNettoBedrag) )&lt;/P&gt;&lt;P&gt;The variable is like this : sum(OfferDetail.NETSALESAMOUNT) + sum(OfferMisc.NETSALESAMOUNT)&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 14:49:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224239#M76668</guid>
      <dc:creator />
      <dc:date>2010-12-15T14:49:43Z</dc:date>
    </item>
    <item>
      <title>Expresion wont work!</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224240#M76669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i think the problem is that you can't use sum( sum() ...), except if you use aggr() before the main sum()&lt;/P&gt;&lt;P&gt;check your formula, if this is valid change for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum({$&amp;lt;Offerte.Jaar={$(=Only(Offerte.Jaar))}&amp;gt;} $(vNettoBedrag) )&lt;BR /&gt;And&lt;BR /&gt;vNettoBedrag = OfferDetail.NETSALESAMOUNT + OfferMisc.NETSALESAMOUNT&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 14:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224240#M76669</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-12-15T14:54:57Z</dc:date>
    </item>
    <item>
      <title>Expresion wont work!</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224241#M76670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Hector thank you for your quick responce.&lt;/P&gt;&lt;P&gt;Using sum( sum( is indeed the problem. However if i change my variable to your suggested code i get a wrong result. The numbers go minus and one number skyrockets&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 15:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224241#M76670</guid>
      <dc:creator />
      <dc:date>2010-12-15T15:05:51Z</dc:date>
    </item>
    <item>
      <title>Expresion wont work!</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224242#M76671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to enclose it in an aggr like follow:&lt;/P&gt;&lt;P&gt;aggr(sum(OfferDetail.NETSALESAMOUNT) + sum(OfferMisc.NETSALESAMOUNT),Dimension1, dimension2)&lt;/P&gt;&lt;P&gt;Replace the Dimension1 etc with the dimensions you use in the chart.&lt;/P&gt;&lt;P&gt;This can then be used to sum with the other sum function.&lt;/P&gt;&lt;P&gt;Try this and when you get the result you can change the sums for a variable, remember that variables can return the string strange so double check it is expanded correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 15:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224242#M76671</guid>
      <dc:creator />
      <dc:date>2010-12-15T15:28:02Z</dc:date>
    </item>
    <item>
      <title>Expresion wont work!</title>
      <link>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224243#M76672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works Perfect Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 15:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expresion-wont-work/m-p/224243#M76672</guid>
      <dc:creator />
      <dc:date>2010-12-15T15:51:51Z</dc:date>
    </item>
  </channel>
</rss>

