<?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 Comparing Data in a Straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174493#M503658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I will try both and see if I can get this to work. Will update you on my result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2009 12:44:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-04T12:44:42Z</dc:date>
    <item>
      <title>Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174484#M503649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am very new to Qlikview so please point me in the right direction. I have a straight table:&lt;/P&gt;&lt;P&gt;Dimentions:&lt;/P&gt;&lt;P&gt;Code, Description,InvNumber,DeliveryNote&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;Items = Sum(Sales Order Qty) - Sum(Credit Note Qty)&lt;/P&gt;&lt;P&gt;Will it be possible to only subtract the credit note qty if the InvNumber = DeliveryNote in the selection, else ignore credit note qty. I've attached a print screen.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 19:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174484#M503649</guid>
      <dc:creator />
      <dc:date>2009-12-03T19:16:57Z</dc:date>
    </item>
    <item>
      <title>Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174485#M503650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick and dirty solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sum(Sales Order Qty) -Sum ( if(invNumber = DeliveryNote,Credit Note Qty,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if invNumber = DeliveryNote, the formula will calculate: Sales Order Qty - Credit Note Qty&lt;/P&gt;&lt;P&gt;else: Sales Order Qty - 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure, there are better solutions, but this was the easiest one I've been able to think of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 19:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174485#M503650</guid>
      <dc:creator />
      <dc:date>2009-12-03T19:28:09Z</dc:date>
    </item>
    <item>
      <title>Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174486#M503651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;If you look at the pic attached you will see that the InvNumber of line 2 matches the DeliveryNote of line 6, will it be possible to compare that way and then subtract if any match?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 19:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174486#M503651</guid>
      <dc:creator />
      <dc:date>2009-12-03T19:44:41Z</dc:date>
    </item>
    <item>
      <title>Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174487#M503652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure, but it should work.&lt;/P&gt;&lt;P&gt;If i didn't misunderstand you, you are trying to show the itemstock after a delivery, right?&lt;/P&gt;&lt;P&gt;Is it possible to show the structure ( Ctrl+t) of your File?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 20:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174487#M503652</guid>
      <dc:creator />
      <dc:date>2009-12-03T20:04:23Z</dc:date>
    </item>
    <item>
      <title>Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174488#M503653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They use this report to pick stock .&lt;/P&gt;&lt;P&gt;In the example the invoice(TR015863) was credited(CR002900) and it reflected on the total but somtimes they only credit the item a week later so you will have the credit but the invoice is not in the selection and it still subtracts from the total.&lt;/P&gt;&lt;P&gt;Please find attached my structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 20:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174488#M503653</guid>
      <dc:creator />
      <dc:date>2009-12-03T20:29:20Z</dc:date>
    </item>
    <item>
      <title>AW:Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174489#M503654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if I understand you correct, then this should work &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sum([Sales Order Qty]) - Sum(if(fieldindex('InvNumber', DeliveryNote) &amp;gt; 0, [Credit Note Qty], 0))&lt;/P&gt;&lt;P&gt;It will only subtract the credit if there is an invoice in the selection..&lt;/P&gt;&lt;P&gt;greeting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 21:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174489#M503654</guid>
      <dc:creator />
      <dc:date>2009-12-03T21:36:38Z</dc:date>
    </item>
    <item>
      <title>AW:Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174490#M503655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me try and explain myself in more detail.&lt;/P&gt;&lt;P&gt;In the image below there is a InvNumber(TR015863) and a DeliveryNote that match, so it subtracts from the total, but if the InvNumber(TR015863) was not there then InvNumber(CR002900) shouldn't be subtracted from the total.&lt;/P&gt;&lt;P&gt;Thanks for the help guys!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 22:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174490#M503655</guid>
      <dc:creator />
      <dc:date>2009-12-03T22:10:54Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174491#M503656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's exactly what my expression does.&lt;/P&gt;&lt;P&gt;Try it out! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 22:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174491#M503656</guid>
      <dc:creator />
      <dc:date>2009-12-03T22:22:10Z</dc:date>
    </item>
    <item>
      <title>Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174492#M503657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd rather use set analysis for that (untested):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum( {$&amp;lt; InvNumber =- DeliveryNote &amp;gt;} Sales Order Qty)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 23:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174492#M503657</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2009-12-03T23:22:16Z</dc:date>
    </item>
    <item>
      <title>Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174493#M503658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I will try both and see if I can get this to work. Will update you on my result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 12:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174493#M503658</guid>
      <dc:creator />
      <dc:date>2009-12-04T12:44:42Z</dc:date>
    </item>
    <item>
      <title>Comparing Data in a Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174494#M503659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;Could you please give me the syntax for 8.5?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 14:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-Data-in-a-Straight-table/m-p/174494#M503659</guid>
      <dc:creator />
      <dc:date>2009-12-04T14:52:19Z</dc:date>
    </item>
  </channel>
</rss>

