<?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 Doubt with expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230314#M82158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's giving the error: Garbage after ","&lt;/P&gt;&lt;P&gt;when I tried to use the follow expression&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;UNIQUE_FLAG={1}, [Status Claim] -={Cancelled}&amp;gt;}([Labour Hours]*[Labor Rate])*pick(match([Currency],'EUR','USD','BRL'),EUR,USD,BRL)),0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2011 18:49:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-26T18:49:44Z</dc:date>
    <item>
      <title>Doubt with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230309#M82153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;Actually I have this expression in my bar chart.&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;UNIQUE_FLAG={1}&amp;gt;}([Labour Hours]*[Labor Rate])*pick(match([Currency],'EUR','USD','BRL'),EUR,USD,BRL))&lt;/P&gt;&lt;P&gt;But I would like to insert the creteria (IF) to sum only if the column [Status Claim] contains the valeu "Open", "Closed", or "Submitted". If the value was "Cancelled" they should not sum the value of this line.&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;&lt;P&gt;In excel it would be somehitng like: Sumif or Sumifs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your attention&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 18:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230309#M82153</guid>
      <dc:creator />
      <dc:date>2011-04-26T18:26:25Z</dc:date>
    </item>
    <item>
      <title>Doubt with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230310#M82154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it is already on your chart,&lt;/P&gt;&lt;P&gt;you can just write:&lt;/P&gt;&lt;P&gt;=if ( [Status Claim] &amp;lt;&amp;gt; 'Cancelled', sum(Value),0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 18:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230310#M82154</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-04-26T18:30:50Z</dc:date>
    </item>
    <item>
      <title>Doubt with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230311#M82155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where should I write it?&lt;/P&gt;&lt;P&gt;At the script manager?&lt;BR /&gt;Expression writer? If so, what should I do with my other expression, the one I sent you before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 18:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230311#M82155</guid>
      <dc:creator />
      <dc:date>2011-04-26T18:34:11Z</dc:date>
    </item>
    <item>
      <title>Doubt with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230312#M82156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried: =if([Status Claim] &amp;lt;&amp;gt; 'Cancelled', SUM({&amp;lt;UNIQUE_FLAG={1}&amp;gt;}([Labour Hours]*[Labor Rate])*pick(match([Currency],'EUR','USD','BRL'),EUR,USD,BRL)),0) and it didn't worked... continue showing the same number as shown in the previos expression I sent you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 18:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230312#M82156</guid>
      <dc:creator />
      <dc:date>2011-04-26T18:37:39Z</dc:date>
    </item>
    <item>
      <title>Doubt with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230313#M82157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understood the ([Status Claim] was one of many of your expressions in your table.&lt;/P&gt;&lt;P&gt;If it is a field on your model, you can include another condition on set analysis:&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;UNIQUE_FLAG={1}, [Status Claim] -={Cancelled}&amp;gt;}([Labour Hours]*[Labor Rate])*pick(match([Currency],'EUR','USD','BRL'),EUR,USD,BRL)),0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 18:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230313#M82157</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-04-26T18:45:49Z</dc:date>
    </item>
    <item>
      <title>Doubt with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230314#M82158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's giving the error: Garbage after ","&lt;/P&gt;&lt;P&gt;when I tried to use the follow expression&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;UNIQUE_FLAG={1}, [Status Claim] -={Cancelled}&amp;gt;}([Labour Hours]*[Labor Rate])*pick(match([Currency],'EUR','USD','BRL'),EUR,USD,BRL)),0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 18:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230314#M82158</guid>
      <dc:creator />
      <dc:date>2011-04-26T18:49:44Z</dc:date>
    </item>
    <item>
      <title>Doubt with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230315#M82159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry,&lt;/P&gt;&lt;P&gt;I copied a bit more than I should from your original expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;SUM({&amp;lt;UNIQUE_FLAG={1}, [Status Claim]-={Cancelled}&amp;gt;}([Labour Hours]*[Labor Rate])*pick(match([Currency] &lt;P&gt;,'EUR','USD','BRL'),EUR,USD,BRL))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 18:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230315#M82159</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-04-26T18:52:50Z</dc:date>
    </item>
    <item>
      <title>Doubt with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230316#M82160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've fixed the problem and now it's working.&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 18:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-expression/m-p/230316#M82160</guid>
      <dc:creator />
      <dc:date>2011-04-26T18:52:55Z</dc:date>
    </item>
  </channel>
</rss>

