<?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: Tricky Gross amount calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750085#M1036367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression looks ok but its showing red marks and the field TotalLineAmountInReportCurrency is not showing right. Could you please have a look at the attachment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74789_Capture.PNG" style="width: 620px; height: 61px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2015 16:20:23 GMT</pubDate>
    <dc:creator>AH</dc:creator>
    <dc:date>2015-01-07T16:20:23Z</dc:date>
    <item>
      <title>Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750082#M1036364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario like this, I have to calculate the Gross Amount summing up the SalesRegister, Service and FreeText amount. The problem here is, I have to exclude couple of GL account from FreeText while summing up. And this GL account shouldnt be excluded from SalesRegister and Service while summing up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Expression is like this:&lt;BR /&gt;=num(Sum({&amp;lt;SalesType = {'SalesRegister', 'FreeText', 'Service'}&amp;gt;}TotalLineAmountInReportCurrency),'##,##0')&lt;/P&gt;&lt;P&gt;Accounts to be excluded from Freetext only is: 100, 101, 115, 120, 430 and 420&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Its sounds little tricky to me to calculate this.&lt;/P&gt;&lt;P&gt;Any Suggestions? Please&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 15:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750082#M1036364</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-07T15:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750083#M1036365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=num(Sum({&amp;lt;SalesType = {'SalesRegister',&amp;nbsp; 'Service'}&amp;gt;}TotalLineAmountInReportCurrency) &lt;STRONG&gt;+&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Sum({&amp;lt;SalesType = { 'FreeText'},GlAcct-={&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;100, 101, 115, 120, 430, 420&lt;/SPAN&gt;}&amp;gt;}TotalLineAmountInReportCurrency)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,'##,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750083#M1036365</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-01-07T16:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750084#M1036366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=num(Sum({&amp;lt;SalesType = {'SalesRegister', 'FreeText', 'Service'}&amp;gt;}TotalLineAmountInReportCurrency),'##,##0')-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; font-family: monospace; font-size: 11px; background-color: #f5f3e5;"&gt;num(Sum({$&amp;lt;Accounts={100,101,115,120,'430 and 420'},SalesType={'FreeText'}&amp;gt;}TotalLineAmountInReportCurrency)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,'##,##0')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11px; background-color: #f5f3e5; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11px; background-color: #f5f3e5; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;maybe?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11px; background-color: #f5f3e5; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11px; background-color: #f5f3e5; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11px; background-color: #f5f3e5; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11px; background-color: #f5f3e5; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;André Gomes&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750084#M1036366</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-01-07T16:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750085#M1036367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression looks ok but its showing red marks and the field TotalLineAmountInReportCurrency is not showing right. Could you please have a look at the attachment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74789_Capture.PNG" style="width: 620px; height: 61px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750085#M1036367</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-07T16:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750086#M1036368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the GLAccount is a string ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750086#M1036368</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-01-07T16:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750087#M1036369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thats a String.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750087#M1036369</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-07T16:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750088#M1036370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750088#M1036370</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-01-07T16:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750089#M1036371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Can you explain Why this two giving slightly different numbers?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;{$&amp;lt;Accounts={100,101,115,120,'430 and 420'}&lt;/P&gt;&lt;P&gt;{$&amp;lt;Accounts={100,101,115,120,430,420}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750089#M1036371</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-07T16:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750090#M1036372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes because these are different type of selections... but you should use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{$&amp;lt;Accounts={100,101,115,120,430,420}. The , it's like an OR...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 17:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750090#M1036372</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-01-07T17:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750091#M1036373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So In my case you suggest this one&lt;/P&gt;&lt;P&gt;{$&amp;lt;Accounts={100,101,115,120,430,420}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than this one?&lt;/P&gt;&lt;P&gt;{$&amp;lt;Accounts={100,101,115,120,'430 and 420'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 17:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750091#M1036373</guid>
      <dc:creator>AH</dc:creator>
      <dc:date>2015-01-07T17:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750092#M1036374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes but you should test also with an excel to see which is the real result...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 18:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750092#M1036374</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-01-07T18:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tricky Gross amount calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750093#M1036375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Red marks is a bug in Qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;=num(Sum({&amp;lt;SalesType = {'SalesRegister',&amp;nbsp; 'Service'}&amp;gt;}TotalLineAmountInReportCurrency) &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sum({&amp;lt;SalesType = { 'FreeText'},GlAcct-={&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;100', '101', '115', '120', '430', '420'&lt;/STRONG&gt;&lt;/SPAN&gt;}&amp;gt;}TotalLineAmountInReportCurrency)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;,'##,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 02:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tricky-Gross-amount-calculation/m-p/750093#M1036375</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-01-08T02:52:54Z</dc:date>
    </item>
  </channel>
</rss>

