<?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: Calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-dimension/m-p/336747#M124160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry when posting it becomes line 3-5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2012 08:59:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-03T08:59:05Z</dc:date>
    <item>
      <title>Calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension/m-p/336746#M124159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody help with this problem. I'm trying sp group customer into 3 categories based on revenue. i've made the following statement which works fine in expression, but won't work as a calculated dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Sum(if(CUSTOMER.CGRNO &amp;lt;&amp;gt; 'IA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'KA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'BA',&amp;nbsp; New_NET)) &amp;gt;= '90000', 'A',&lt;/P&gt;&lt;P&gt;if(Sum(if(CUSTOMER.CGRNO &amp;lt;&amp;gt; 'IA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'KA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'BA',&amp;nbsp; New_NET)) &amp;gt;= '30000' And Sum(if(CUSTOMER.CGRNO &amp;lt;&amp;gt; 'IA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'KA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'BA',&amp;nbsp; New_NET)) &amp;lt; '90000', 'B', &lt;/P&gt;&lt;P&gt;if(Sum(if(CUSTOMER.CGRNO &amp;lt;&amp;gt; 'IA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'KA' And CUSTOMER.CGRNO &amp;lt;&amp;gt; 'BA',&amp;nbsp; New_NET)) &amp;lt; '30000', 'C', 0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've come to the conclusion that it is the dual condition in line 2 and 3 there are causing the problem (Its a normal "and" sentence like in Excell). does anybody know how to get around this without editing the script ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 08:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension/m-p/336746#M124159</guid>
      <dc:creator />
      <dc:date>2012-08-03T08:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension/m-p/336747#M124160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry when posting it becomes line 3-5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 08:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension/m-p/336747#M124160</guid>
      <dc:creator />
      <dc:date>2012-08-03T08:59:05Z</dc:date>
    </item>
  </channel>
</rss>

