<?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 Calling expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338430#M124820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/kiteulfen99" id="jive-8815927342286832832839"&gt;kiteulfen99&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the sum within the sum. Say you have dimension [country]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression that is worked out previously, "under_60" is for that [country]. You are then trying to sum it again within [country], it will not work. Basically it is like writing sum(sum (if (Belåningsgrad &amp;lt;= 0.6, tot_engasjem))) within that expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the result that you are aiming for? Perhaps you could try aggregated expressions or totals to evaluate the sum(over_60) over different dimensions or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could leave it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum (if (Belåningsgrad &amp;lt;= 0.6, tot_engasjem))+ under_60)*0.05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you would like me to explain further,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2012 15:35:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-05T15:35:42Z</dc:date>
    <item>
      <title>Calling expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338427#M124817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to make this work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum (if (Belåningsgrad &amp;lt;= 0.6, tot_engasjem))+ sum(under_60))*0.05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where under 60 is a an expression that I have calculated earlier, it comes up in blue colour so I thought I could use it. However it dosen't seem to work as planned&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 14:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338427#M124817</guid>
      <dc:creator />
      <dc:date>2012-06-05T14:42:06Z</dc:date>
    </item>
    <item>
      <title>Calling expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338428#M124818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how "under_60" is defined, but you can try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum (if (Belåningsgrad &amp;lt;= 0.6, tot_engasjem))+ sum(&lt;STRONG&gt;$(under_60)&lt;/STRONG&gt;))*0.05&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 14:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338428#M124818</guid>
      <dc:creator />
      <dc:date>2012-06-05T14:46:50Z</dc:date>
    </item>
    <item>
      <title>Calling expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338429#M124819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My 'under_60' is defined as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum (if (Belåningsgrad &amp;lt;= 0.6, tot_engasjem))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 15:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338429#M124819</guid>
      <dc:creator />
      <dc:date>2012-06-05T15:19:55Z</dc:date>
    </item>
    <item>
      <title>Calling expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338430#M124820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/kiteulfen99" id="jive-8815927342286832832839"&gt;kiteulfen99&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the sum within the sum. Say you have dimension [country]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression that is worked out previously, "under_60" is for that [country]. You are then trying to sum it again within [country], it will not work. Basically it is like writing sum(sum (if (Belåningsgrad &amp;lt;= 0.6, tot_engasjem))) within that expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the result that you are aiming for? Perhaps you could try aggregated expressions or totals to evaluate the sum(over_60) over different dimensions or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could leave it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum (if (Belåningsgrad &amp;lt;= 0.6, tot_engasjem))+ under_60)*0.05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you would like me to explain further,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 15:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338430#M124820</guid>
      <dc:creator />
      <dc:date>2012-06-05T15:35:42Z</dc:date>
    </item>
    <item>
      <title>Calling expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338431#M124821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why dont you try to use the column function, I used before and works fine. Ex: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;=(Sum (if (Belåningsgrad &amp;lt;= 0.6, tot_engasjem))+ column(1) *0.05&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 15:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338431#M124821</guid>
      <dc:creator />
      <dc:date>2012-06-05T15:42:23Z</dc:date>
    </item>
    <item>
      <title>Calling expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338432#M124822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thanks Erica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That did the trick. However my expression is now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum (spob_engasjem)+ under_60)*0.05 now it remains to just put in all the other expressions . But hopefully I will manage to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiteulfen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 15:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338432#M124822</guid>
      <dc:creator />
      <dc:date>2012-06-05T15:52:51Z</dc:date>
    </item>
    <item>
      <title>Calling expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338433#M124823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 17:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-expressions/m-p/338433#M124823</guid>
      <dc:creator />
      <dc:date>2012-06-06T17:31:58Z</dc:date>
    </item>
  </channel>
</rss>

