<?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: Combining transaction amounts (credit and debit)? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613736#M226461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just un idea, hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Feb 2014 00:54:56 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-02-06T00:54:56Z</dc:date>
    <item>
      <title>Combining transaction amounts (credit and debit)?</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613735#M226460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not quite sure how to phrase this so I've given an example below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having issues combining amounts for a location where inventory is moved from one section to another and a transaction occurs much like a debit and credit (a positive amount and a negative amount net 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a user who would like to see a location, or section, and see the transactions associated with it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, a user would like to pick Loc1 and see the net of the amount moved and each transaction whether the section is a source or destination.&amp;nbsp; The example below would net 150 as the transactions on 1/21 would cancel each other out and I would be left with the amount on 2/1.&amp;nbsp; The amounts, however, are always positive and if I simply used a SourceSection or DestSection as a selection criteria, I would be left with wrong data as amounts would not cancel each other out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="74" style="width: 658px; height: 63px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;Location&lt;/TD&gt;&lt;TD width="64"&gt;TransNo&lt;/TD&gt;&lt;TD width="78"&gt;SourceItem&lt;/TD&gt;&lt;TD width="69"&gt;SourceSection&lt;/TD&gt;&lt;TD width="64"&gt;DestItem&lt;/TD&gt;&lt;TD width="64"&gt;DestSection&lt;/TD&gt;&lt;TD width="64"&gt;Date&lt;/TD&gt;&lt;TD width="64"&gt;Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;A1&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD&gt;Item1&lt;/TD&gt;&lt;TD&gt;Loc1&lt;/TD&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;Loc2&lt;/TD&gt;&lt;TD&gt;1/21/14&lt;/TD&gt;&lt;TD align="right"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;A1&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;Loc2&lt;/TD&gt;&lt;TD&gt;Item1&lt;/TD&gt;&lt;TD&gt;Loc1&lt;/TD&gt;&lt;TD&gt;1/21/14&lt;/TD&gt;&lt;TD align="right"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;A1&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;TD&gt;Item1&lt;/TD&gt;&lt;TD&gt;Loc1&lt;/TD&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;Loc2&lt;/TD&gt;&lt;TD&gt;2/1/14&lt;/TD&gt;&lt;TD align="right"&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking I need a "master" table and then split the table above into a source and destination table, but I'm not quite sure how to go about doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 00:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613735#M226460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T00:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Combining transaction amounts (credit and debit)?</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613736#M226461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just un idea, hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 00:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613736#M226461</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-06T00:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Combining transaction amounts (credit and debit)?</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613737#M226462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you should create a table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location,&lt;/P&gt;&lt;P&gt;TransNo,&lt;/P&gt;&lt;P&gt;Item,&lt;/P&gt;&lt;P&gt;Section,&lt;/P&gt;&lt;P&gt;Amount,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Credit_DebitFlag \\ this should be 1 or -1 and will give you a way to calculate your amounts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 00:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613737#M226462</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2014-02-06T00:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Combining transaction amounts (credit and debit)?</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613738#M226463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is how you example data will look like.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="74" style="width: 500px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" width="64"&gt;Location&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;TransNo&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Item&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Section&lt;/TD&gt;&lt;TD class="xl63" width="68"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Amount&lt;/TD&gt;&lt;TD width="112"&gt;Credit_DebitFlag&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;A1&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Item1&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Loc1&lt;/TD&gt;&lt;TD align="right" class="xl65" width="68"&gt;1/21/2014&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;150&lt;/TD&gt;&lt;TD align="right"&gt;-1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;A1&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Item2&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Loc2&lt;/TD&gt;&lt;TD align="right" class="xl65" width="68"&gt;1/21/2014&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;150&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;A1&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Item2&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Loc2&lt;/TD&gt;&lt;TD align="right" class="xl65" width="68"&gt;1/21/2014&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;150&lt;/TD&gt;&lt;TD align="right"&gt;-1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;A1&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Item1&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Loc1&lt;/TD&gt;&lt;TD align="right" class="xl65" width="68"&gt;1/21/2014&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;150&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;A1&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;3&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Item1&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Loc1&lt;/TD&gt;&lt;TD align="right" class="xl65" width="68"&gt;2/1/2014&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;150&lt;/TD&gt;&lt;TD align="right"&gt;-1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;A1&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;3&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Item2&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Loc2&lt;/TD&gt;&lt;TD align="right" class="xl65" width="68"&gt;2/1/2014&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;150&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 01:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613738#M226463</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2014-02-06T01:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Combining transaction amounts (credit and debit)?</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613739#M226464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is perfect and exactly what I was looking to emulate.&amp;nbsp; Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2014 12:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-transaction-amounts-credit-and-debit/m-p/613739#M226464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-06T12:32:16Z</dc:date>
    </item>
  </channel>
</rss>

