<?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: Problem with expression in a straight table some figures incorrect in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-expression-in-a-straight-table-some-figures/m-p/56818#M606392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it with a range-function for adding the various expression-parts, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(sum1, sum2, sum3, -sum4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 11:54:59 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-03-06T11:54:59Z</dc:date>
    <item>
      <title>Problem with expression in a straight table some figures incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-expression-in-a-straight-table-some-figures/m-p/56817#M606391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this calculation in my straight table, all rows are calculating the&amp;nbsp; correct figure except three rows highlighted&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Straight table.JPG" class="jive-image image-2" src="/legacyfs/online/195431_Straight table.JPG" style="width: 620px; height: 144px;" /&gt;&lt;/P&gt;&lt;P&gt;My expression is this for avail credit line column, I have also attached the settings from chart properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum([Credit Limit])&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((Sum({&amp;lt;[OEL On Hold]={'Y'}, [OEL Credit Hold]={'N'}, OE_Order_Lines_All.INVOICE_INTERFACE_STATUS_CODE-={'YES'}&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;[OEL On Hold]={'N'}, OE_Order_Lines_All.INVOICE_INTERFACE_STATUS_CODE-={'YES'}&amp;gt;} &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Line Calc Tax Rate]&amp;gt;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OE_Order_Lines_All.ORDERED_QUANTITY * OE_Order_Lines_All.UNIT_SELLING_PRICE*((100+[Line Calc Tax Rate])/100),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OE_Order_Lines_All.ORDERED_QUANTITY * OE_Order_Lines_All.UNIT_SELLING_PRICE)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt; Sum({&amp;lt;[OEL On Hold]={'Y'}, [OEL Credit Hold]={'N'}, OE_Order_Lines_All.INVOICE_INTERFACE_STATUS_CODE-={'YES'}&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;[OEL On Hold]={'N'}, OE_Order_Lines_All.INVOICE_INTERFACE_STATUS_CODE-={'YES'}&amp;gt;} &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Freight Amount])&lt;/P&gt;&lt;P&gt; )&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;(Sum([Acctd Amount Due Remaining])-Sum(Alt(AR_Receivable_Applications_All.AMOUNT_APPLIED,0)))))/1000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-expression-in-a-straight-table-some-figures/m-p/56817#M606391</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2018-03-06T10:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with expression in a straight table some figures incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-expression-in-a-straight-table-some-figures/m-p/56818#M606392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it with a range-function for adding the various expression-parts, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(sum1, sum2, sum3, -sum4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 11:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-expression-in-a-straight-table-some-figures/m-p/56818#M606392</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-03-06T11:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with expression in a straight table some figures incorrect</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-expression-in-a-straight-table-some-figures/m-p/56819#M606393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Marcus, I figured out why it wasn't working for the highlighted figures, I was missing some transactions from another table. Thank you again for your help though.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Mina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 11:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-expression-in-a-straight-table-some-figures/m-p/56819#M606393</guid>
      <dc:creator>qlikmpate0</dc:creator>
      <dc:date>2018-03-06T11:59:37Z</dc:date>
    </item>
  </channel>
</rss>

