<?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 Help with Invoice equal to zero in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1604388#M736080</link>
    <description>&lt;P&gt;Hello community!!&lt;/P&gt;&lt;P&gt;I am currently working on a dashboard that allows me to identify invoices that are equal to zero.&lt;BR /&gt;I have noticed the existence of some charges in the invoices that not in all cases is correct to be billed as "shipping cost invoice" and "delinquency cost". Then I should be able to calculate two KPI'S:&lt;/P&gt;&lt;P&gt;1) when the invoices are equal to zero.&lt;BR /&gt;2) and when the sum of "Total Invoive Charge" in field&lt;BR /&gt;&amp;nbsp; INVOICE_NUM is equal to zero, assuming there are no charges: "shipping cost invoice" and "delinquency cost"&lt;/P&gt;&lt;P&gt;Point 2) will help me establish more precisely the service charges that really are zero.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Example 1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15773i109D2C5F1590E14A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Example 1.jpg" alt="Example 1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The previous example shows a case that when adding the threes charges of the invoice the total is 8, but really the charge is zero, since it includes the items not to be considered for the analysis.&lt;/P&gt;&lt;P&gt;The third requirement is not a KPI, but I would like to be able to write a field from the script in order to have the "Total Amount of the Invoice". Currently the data brings the total but at the level of charge.&lt;/P&gt;&lt;P&gt;Finally, I have included a ready list related to point 1) and allow filtering the cases with invoices equal to zero, with the following expression: = Aggr (if (sum ([Total Invoice Charge]) = 0, 'Invoice Equal to zero ',' N / A '), [Invoice-Num]). I would like those cases only to be in a pivot chart (try it but it shows me the rest of the cases) and also in a bar chart.&lt;/P&gt;&lt;P&gt;Thanks again, counting on your usual help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>educastri83</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1604388#M736080</link>
      <description>&lt;P&gt;Hello community!!&lt;/P&gt;&lt;P&gt;I am currently working on a dashboard that allows me to identify invoices that are equal to zero.&lt;BR /&gt;I have noticed the existence of some charges in the invoices that not in all cases is correct to be billed as "shipping cost invoice" and "delinquency cost". Then I should be able to calculate two KPI'S:&lt;/P&gt;&lt;P&gt;1) when the invoices are equal to zero.&lt;BR /&gt;2) and when the sum of "Total Invoive Charge" in field&lt;BR /&gt;&amp;nbsp; INVOICE_NUM is equal to zero, assuming there are no charges: "shipping cost invoice" and "delinquency cost"&lt;/P&gt;&lt;P&gt;Point 2) will help me establish more precisely the service charges that really are zero.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Example 1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15773i109D2C5F1590E14A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Example 1.jpg" alt="Example 1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The previous example shows a case that when adding the threes charges of the invoice the total is 8, but really the charge is zero, since it includes the items not to be considered for the analysis.&lt;/P&gt;&lt;P&gt;The third requirement is not a KPI, but I would like to be able to write a field from the script in order to have the "Total Amount of the Invoice". Currently the data brings the total but at the level of charge.&lt;/P&gt;&lt;P&gt;Finally, I have included a ready list related to point 1) and allow filtering the cases with invoices equal to zero, with the following expression: = Aggr (if (sum ([Total Invoice Charge]) = 0, 'Invoice Equal to zero ',' N / A '), [Invoice-Num]). I would like those cases only to be in a pivot chart (try it but it shows me the rest of the cases) and also in a bar chart.&lt;/P&gt;&lt;P&gt;Thanks again, counting on your usual help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1604388#M736080</guid>
      <dc:creator>educastri83</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1605889#M736081</link>
      <description>&lt;P&gt;Hi! after some tests and better define the need, which is definitely:&lt;BR /&gt;&lt;STRONG&gt;1) Get the Invoice-Num where the charges exist: "shipping cost invoice" and "delinquency cost".&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;2) Once these Invoice-Num are obtained, to be able to identify the other charges when they are equal to zero.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For the first case, use the p () function in a list box as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;FONT color="#0000FF"&gt;Aggr&lt;/FONT&gt;(&lt;FONT color="#0000FF"&gt;Only&lt;/FONT&gt;({1&amp;lt;&lt;FONT color="#800000"&gt;[Invoice-Num]&lt;/FONT&gt; = &lt;FONT color="#0000FF"&gt;p&lt;/FONT&gt;({1&amp;lt;&lt;FONT color="#800000"&gt;[Charge Details]&lt;/FONT&gt; = {'delinquency cost', 'shipping cost invoice'}&amp;gt;}[&lt;FONT color="#800000"&gt;Invoice-Num]&lt;/FONT&gt;)&amp;gt;} &lt;FONT color="#800000"&gt;[Invoice-Num]&lt;/FONT&gt;), &lt;FONT color="#800000"&gt;[Invoice-Num]&lt;/FONT&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For the second case, use the following expression in another list box:&lt;BR /&gt;&lt;STRONG&gt;= &lt;FONT color="#0000FF"&gt;Aggr&lt;/FONT&gt; (&lt;FONT color="#0000FF"&gt;if&lt;/FONT&gt; (&lt;FONT color="#0000FF"&gt;sum&lt;/FONT&gt; (&lt;FONT color="#800000"&gt;[Total Invoice Charge]&lt;/FONT&gt;) = 0, 'Charge Details - Equal to zero', 'N / A'), &lt;FONT color="#800000"&gt;[Charge Details]&lt;/FONT&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The above can work for me but I would like to simplify it in a single filter and not depend on two list boxes, I also need to be able to transfer the result to a pivot chart without having to depend on list boxes, so that everything is summarized in a table...&amp;nbsp;I don't know how to get it&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 00:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1605889#M736081</guid>
      <dc:creator>educastri83</dc:creator>
      <dc:date>2019-07-25T00:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1606605#M736082</link>
      <description>&lt;P&gt;I am not sure I understand completely, would you be able to provide the output you are expecting to see from the sample you have shared?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 17:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1606605#M736082</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-26T17:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1607763#M736083</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach the data file (The qvw. file is the same on the previous post).&lt;/P&gt;&lt;P&gt;The result I hope is to be able a expression to count when: in a "x" invoice (A), there are certain charges (Shipping cost invoice or delinquency cost) (B) on an invoice, and another "X" charge is equal to zero (C).&lt;/P&gt;&lt;P&gt;In the following image I explain the case I want to be able to count.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Desired Result.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16258i9A77CA42DEEF3390/image-size/large?v=v2&amp;amp;px=999" role="button" title="Desired Result.png" alt="Desired Result.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The cases that I am not interested in identifying, nor counting are the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Not Desired 1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16259i81D028F9D6117416/image-size/large?v=v2&amp;amp;px=999" role="button" title="Not Desired 1.png" alt="Not Desired 1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the previous example, the other charge different than "Shipping cost invoice or delinquency cost" is &amp;gt; 0, for dashboard functionality it is not the objective to measure it.&lt;/P&gt;&lt;P&gt;Another example of result not desired is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Not Desired 2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16260iCFC933A0034B2E5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Not Desired 2.png" alt="Not Desired 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the previous example, although there is a charge other than Shipping cost or delinquency cost equal to zero, there is another charge that is&amp;gt; 0, so the objective condition to measure it is not met.&lt;/P&gt;&lt;P&gt;I hope you understand, as always thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 22:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1607763#M736083</guid>
      <dc:creator>educastri83</dc:creator>
      <dc:date>2019-07-30T22:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1608019#M736084</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT {&amp;lt;[Invoice-Num] = {"=Sum({&amp;lt;[Charge Details] = {'delinquency cost'}&amp;gt;} [Total Invoice Charge]) &amp;gt; 0 and Sum({&amp;lt;[Charge Details] = {'shipping cost invoice'}&amp;gt;} [Total Invoice Charge]) &amp;gt; 0 and Sum({&amp;lt;[Charge Details] -= {'shipping cost invoice', 'delinquency cost'}&amp;gt;} [Total Invoice Charge]) = 0"}&amp;gt;} [Invoice-Num])&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 31 Jul 2019 11:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1608019#M736084</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-31T11:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1608146#M736085</link>
      <description>&lt;P&gt;Thanks sunny! &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; Solve my need for now..&lt;/P&gt;&lt;P&gt;although seeing it well, look at the case of invoice 100000005, where only one of the conditions (shipping cost invoice) is included.&amp;nbsp;The expression you suggested is omitting that record.&lt;/P&gt;&lt;P&gt;That case would also be OK for the analysis, look:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Desired Result 2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16353i18EC8FAF97631B09/image-size/large?v=v2&amp;amp;px=999" role="button" title="Desired Result 2.png" alt="Desired Result 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is, one or two of the conditions may exist, it should not necessarily be restricted to the existence of both invoices ('delinquency cost', 'shipping cost invoice')&amp;nbsp;You see it?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 15:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1608146#M736085</guid>
      <dc:creator>educastri83</dc:creator>
      <dc:date>2019-07-31T15:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1608202#M736086</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT {&amp;lt;[Invoice-Num] = {"=(Sum({&amp;lt;[Charge Details] = {'delinquency cost'}&amp;gt;} [Total Invoice Charge]) &amp;gt; 0 or Sum({&amp;lt;[Charge Details] = {'shipping cost invoice'}&amp;gt;} [Total Invoice Charge]) &amp;gt; 0) and Sum({&amp;lt;[Charge Details] -= {'shipping cost invoice', 'delinquency cost'}&amp;gt;} [Total Invoice Charge]) = 0"}&amp;gt;} [Invoice-Num])&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 31 Jul 2019 18:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1608202#M736086</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-07-31T18:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1608290#M736087</link>
      <description>&lt;P&gt;It works perfect!! You're a genious!!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 22:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1608290#M736087</guid>
      <dc:creator>educastri83</dc:creator>
      <dc:date>2019-07-31T22:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1609124#M736088</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found something extra in the invoices to be solved, I have got "Charge Details" that seem to be duplicated. I wish I could in an expression count when on an invoice:&lt;/P&gt;&lt;P&gt;1. There is more than one charge with the same amount,&lt;BR /&gt;2. And charge details may not be the same.&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Same Values differents charges.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16496iBF82EFE91FE2F9FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Same Values differents charges.png" alt="Same Values differents charges.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see that within the same invoice there are at least 2 charges for the same amount (Taxed_Charge), even if they are called different. In essence it should be a single charge and double billed.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2019 22:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1609124#M736088</guid>
      <dc:creator>educastri83</dc:creator>
      <dc:date>2019-08-03T22:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1609325#M736089</link>
      <description>&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 410px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16538i749D723F7DD6B60F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Avg({&amp;lt;[Invoice-Num] = {"=Count(DISTINCT [Charge Details]) &amp;gt; 1 and Max(Aggr(Count({&amp;lt;Taxed_Charge = {[&amp;lt;&amp;gt;0]}&amp;gt;}Taxed_Charge), [Invoice-Num], Taxed_Charge)) &amp;gt; 1 "}&amp;gt;} 1)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 05 Aug 2019 11:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1609325#M736089</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-05T11:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1609590#M736090</link>
      <description>&lt;P&gt;The result is ok. Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only a couple of final things to solve based on the previous expression:&lt;/P&gt;&lt;P&gt;1. How can I exclude cases with a charge with zero value? I explain it better, suppose the charges:&lt;BR /&gt;'Promotional three months free' and 'Promotional free 3 months' are equal to zero, I would like to exclude those cases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="example 4.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16571iFB1CBFB549FDB80F/image-size/large?v=v2&amp;amp;px=999" role="button" title="example 4.png" alt="example 4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Although the amount is repeated and the charges are different, when they are equal to zero they have no risk&lt;/P&gt;&lt;P&gt;2. How can I count the cases in a KPI using a text box?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 02:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1609590#M736090</guid>
      <dc:creator>educastri83</dc:creator>
      <dc:date>2019-08-06T02:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1609730#M736091</link>
      <description>&lt;P&gt;I think my expression is already excluding when the amount&amp;nbsp; = 0... I reloaded with the new file attached&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 401px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16594i9308EA49FF2B243C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;For a distinct count of Invoice Number, you can try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT {&amp;lt;[Invoice-Num] = {"=Count(DISTINCT [Charge Details]) &amp;gt; 1 and Max(Aggr(Count({&amp;lt;Taxed_Charge = {[&amp;lt;&amp;gt;0]}&amp;gt;}Taxed_Charge), [Invoice-Num], Taxed_Charge)) &amp;gt; 1 "}&amp;gt;} [Invoice-Num])&lt;/LI-CODE&gt;&lt;P&gt;For overall count&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count({&amp;lt;[Invoice-Num] = {"=Count(DISTINCT [Charge Details]) &amp;gt; 1 and Max(Aggr(Count({&amp;lt;Taxed_Charge = {[&amp;lt;&amp;gt;0]}&amp;gt;}Taxed_Charge), [Invoice-Num], Taxed_Charge)) &amp;gt; 1 "}&amp;gt;} [Invoice-Num])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 11:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1609730#M736091</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-06T11:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Invoice equal to zero</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1610052#M736094</link>
      <description>&lt;P&gt;It works very good!!&lt;/P&gt;&lt;P&gt;thanks for all&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 00:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Invoice-equal-to-zero/m-p/1610052#M736094</guid>
      <dc:creator>educastri83</dc:creator>
      <dc:date>2019-08-07T00:52:29Z</dc:date>
    </item>
  </channel>
</rss>

