<?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: What's wrong with this expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-s-wrong-with-this-expression/m-p/1249599#M461713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Overall there seems to be one more opening bracket than closing brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the closing bracket for your &lt;EM&gt;sum(&lt;/EM&gt; appears to be&amp;nbsp; before the comma at the end of the line before the&lt;EM&gt; // For credits&lt;/EM&gt; comment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2016 19:01:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-12T19:01:55Z</dc:date>
    <item>
      <title>What's wrong with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-s-wrong-with-this-expression/m-p/1249596#M461710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me what is wrong with the expression below? Been staring at this too long, and I guess I don't see why the token doesn't match:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// For invoices and removing the pallets&lt;/P&gt;&lt;P&gt;sum(if(pallet&amp;lt;&amp;gt;'P' and trntype='I',&lt;/P&gt;&lt;P&gt;// For invoices and replacing price with paprice &lt;/P&gt;&lt;P&gt; (if(price&amp;lt;&amp;gt;0,(&amp;nbsp;&amp;nbsp;&amp;nbsp; //To check styles with 0 amount and not a pallet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((invqty)*price)*rate))),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (((invqty)*pprice)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *rate))),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;// For credits&lt;/P&gt;&lt;P&gt;(((-(invqty)*price)*rate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;E&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 18:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-s-wrong-with-this-expression/m-p/1249596#M461710</guid>
      <dc:creator>ccb-it2013</dc:creator>
      <dc:date>2016-12-12T18:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: What's wrong with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-s-wrong-with-this-expression/m-p/1249597#M461711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(pallet&amp;lt;&amp;gt;'P' and trntype='I',(if(price&amp;lt;&amp;gt;0,(((invqty)*price)*rate))), (((invqty)*pprice)*rate)),(((-(invqty)*price)*rate)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 18:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-s-wrong-with-this-expression/m-p/1249597#M461711</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-12-12T18:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: What's wrong with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-s-wrong-with-this-expression/m-p/1249598#M461712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(pallet &amp;lt;&amp;gt; 'P' and trntype='I',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(price &amp;lt;&amp;gt; 0, invqty * price * rate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; invqty * pprice * rate),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -invqty * price * rate))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 18:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-s-wrong-with-this-expression/m-p/1249598#M461712</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-12T18:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: What's wrong with this expression?</title>
      <link>https://community.qlik.com/t5/QlikView/What-s-wrong-with-this-expression/m-p/1249599#M461713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Overall there seems to be one more opening bracket than closing brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the closing bracket for your &lt;EM&gt;sum(&lt;/EM&gt; appears to be&amp;nbsp; before the comma at the end of the line before the&lt;EM&gt; // For credits&lt;/EM&gt; comment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 19:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-s-wrong-with-this-expression/m-p/1249599#M461713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-12T19:01:55Z</dc:date>
    </item>
  </channel>
</rss>

