<?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 Error in calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/322435#M1197270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need double quotes around the set analysis part? Just a guess from looking:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Luogo di spedizione]={"6a01"}&amp;gt;}Venta)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2011 11:28:48 GMT</pubDate>
    <dc:creator>nathanfurby</dc:creator>
    <dc:date>2011-04-18T11:28:48Z</dc:date>
    <item>
      <title>Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/322434#M1197269</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've tried to introduce a calculated dimension in a chart and it gives me an error in the expression, could somenoe chek it and tell me where the problem is??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;=IF(SITUACIÓN &amp;lt;&amp;gt; 'P3','OBSOLETO',&lt;/P&gt;&lt;P style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;IF((sum({&amp;lt;[Luogo di spedizione]={'6a01'}&amp;gt;}Venta)/[Qtà stk. val.])&amp;gt;=1,'BUENA ROTACIÓN EN P3','MALA ROTACIÓN EN P3'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 11:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/322434#M1197269</guid>
      <dc:creator />
      <dc:date>2011-04-18T11:07:08Z</dc:date>
    </item>
    <item>
      <title>Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/322435#M1197270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need double quotes around the set analysis part? Just a guess from looking:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Luogo di spedizione]={"6a01"}&amp;gt;}Venta)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 11:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/322435#M1197270</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2011-04-18T11:28:48Z</dc:date>
    </item>
    <item>
      <title>Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/322436#M1197271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;=IF(SITUACIÓN &amp;lt;&amp;gt; 'P3','OBSOLETO',&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;IF((sum({&amp;lt;[Luogo di spedizione]={'6a01'}&amp;gt;}Venta)/sum([Qtà stk. val.]))&amp;gt;=1,'BUENA ROTACIÓN EN P3','MALA ROTACIÓN EN P3'))&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;but I think you will need a Aggr expression to make it work as you need.&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;Where would you apply the SITUACIÓN FIELD?&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;Let us say that it if for Regions&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;then your expression could be:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;=aggr( IF(SITUACIÓN &amp;lt;&amp;gt; 'P3','OBSOLETO',&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;IF((sum({&amp;lt;[Luogo di spedizione]={'6a01'}&amp;gt;}Venta)/sum([Qtà stk. val.]))&amp;gt;=1,'BUENA ROTACIÓN EN P3','MALA ROTACIÓN EN P3')), REGION)&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 11:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/322436#M1197271</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-04-18T11:30:49Z</dc:date>
    </item>
  </channel>
</rss>

