<?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 sum from different pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239816#M502605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Net Open Position is a formula&lt;/P&gt;&lt;P&gt;i have derived it as = [Assets] + [Liabilities]&lt;/P&gt;&lt;P&gt;I have used case sensitive field names&lt;/P&gt;&lt;P&gt;yet still the problem persists?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Oct 2010 07:10:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-20T07:10:22Z</dc:date>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239810#M502599</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 have two pivot tables in the same sheet.&lt;/P&gt;&lt;P&gt;the first pivot table is working fine, in the second table however, i need to calculate the sum using data from the first pivot table but i dont want all the information.&lt;/P&gt;&lt;P&gt;For example i have three expressions in table 1 and two in table 2.&lt;/P&gt;&lt;P&gt;in table 1 the expressions are as follows,&lt;/P&gt;&lt;P&gt;Currency, Net Assets, Position&lt;/P&gt;&lt;P&gt;in table 2 the expression that needs to be calculated is the net long assets wherein,If specific currenc&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2596_sourceID:2596" /&gt;&lt;/P&gt;&lt;P&gt;the above screen shot is from my excel file solution.&lt;/P&gt;&lt;P&gt;i have created the top table table as a pivot table, but need to create the second table where the net long position is to be calculated.&lt;/P&gt;&lt;P&gt;the net long position is calculated as follows, if the position (marked in red) is Long then add the values under the net open position ( marked in green).&lt;/P&gt;&lt;P&gt;Can anyone help me with this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Oct 2010 13:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239810#M502599</guid>
      <dc:creator />
      <dc:date>2010-10-17T13:34:37Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239811#M502600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Although I don't know your actual field names, your code might look like the following&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; Position = {'Long'}, Currency = {'EUR', 'GBP', 'AUD', 'INR', 'CHF', 'MYR'} &amp;gt;} Assets - Liabilities)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Oct 2010 16:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239811#M502600</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-17T16:17:27Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239812#M502601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I tried it but it shows the value as zero?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 06:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239812#M502601</guid>
      <dc:creator />
      <dc:date>2010-10-18T06:15:30Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239813#M502602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It's possible I'm not hardcoding the conditions case sensitive, and you may have to write "LONG" instead of "Long", and likewise with the currencies.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 16:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239813#M502602</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-18T16:52:48Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239814#M502603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I did that the first timebut it still didnt work.&lt;/P&gt;&lt;P&gt;this is how i tried to them as also;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; [Position] = {'LONG'}, Currencies = {'EUR', 'GBP', 'AUD', 'INR', 'CHF', 'MYR'} &amp;gt;} [Net Open Position])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; [Position] = {'LONG'}, CURRENCIES.BRIEF_DESC_ENG = {'EUR', 'GBP', 'AUD', 'INR', 'CHF', 'MYR'} &amp;gt;} [Net Open Position])&lt;/P&gt;&lt;P&gt;but still i get a zero instead&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 11:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239814#M502603</guid>
      <dc:creator />
      <dc:date>2010-10-19T11:48:26Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239815#M502604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is Net Open Position a field or a formula you already have in one table?&lt;/P&gt;&lt;P&gt;On the other hand, both Position and Currencies must have case sensitive field names.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 19:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239815#M502604</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-19T19:14:38Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239816#M502605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Net Open Position is a formula&lt;/P&gt;&lt;P&gt;i have derived it as = [Assets] + [Liabilities]&lt;/P&gt;&lt;P&gt;I have used case sensitive field names&lt;/P&gt;&lt;P&gt;yet still the problem persists?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 07:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239816#M502605</guid>
      <dc:creator />
      <dc:date>2010-10-20T07:10:22Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239817#M502606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum([Assets] + [Liabilities])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;it should return the same as in [Net Open Position] in the previous table. Then try&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; [Position] = {'LONG'} &amp;gt;} [Assets] + [Liabilities])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;where both [Position] and 'LONG' are correct, case sensitive field name and possible value, trying to find out where the problem is. If this doesn't work, please attach some example to see what may be happening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 07:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239817#M502606</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-20T07:18:08Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239818#M502607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tried it but still the zeroes persist.&lt;/P&gt;&lt;P&gt;I have attached the QV file.&lt;/P&gt;&lt;P&gt;[View:http://community.qlik.com/members/msadrikhcb/files/QV-problem.qvw.aspx:550:0]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also under the table titles net long position, i have a dimension labeled as type, under it i want to have the following fields&lt;/P&gt;&lt;P&gt;- Net Position excluding USD&lt;/P&gt;&lt;P&gt;- Overall Position excluding BHD &amp;amp; USD&lt;/P&gt;&lt;P&gt;is this possible?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Wishes &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 07:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239818#M502607</guid>
      <dc:creator />
      <dc:date>2010-10-20T07:46:58Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239819#M502608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;First, use some existing dimensions. I've seen you were using "Type", but doesn't exist as dimension.&lt;/P&gt;&lt;P&gt;Then take the following expression as the Net Open Position for "LONG" in your second chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(sum({&amp;lt; [BS Classification] = {'ASSETS', 'LIABILITIES'} &amp;gt;} YTD_CV) / 1000 &amp;gt; 0,sum({&amp;lt; [BS Classification] = {'ASSETS', 'LIABILITIES'} &amp;gt;} YTD_CV) / 1000)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Bear in mind that you cannot "copy" expression names from a different table to another one, but the complete calculation (the expression) you have written. The formula above equals to saying "show Net Open Position when is greater than zero (Long)" as in your chart above.&lt;/P&gt;&lt;P&gt;To exclude USD from yoru chart, do another expression with&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; [BS Classification] = {'ASSETS', 'LIABILITIES'}&lt;B&gt;, CurDescription -= {'USD'}&lt;/B&gt; &amp;gt;} YTD_CV) / 1000&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;And something similar adding BHD or any other currency you want to exclude in the new expression for Overall Position.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 08:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239819#M502608</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-20T08:33:01Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239820#M502609</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 send me the file you hae worked on so I could see where i'm going wrong because it still doesn't work for me.&lt;/P&gt;&lt;P&gt;Thank you for your time and please bear a little with me.&lt;/P&gt;&lt;P&gt;Thanks Again.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 06:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239820#M502609</guid>
      <dc:creator />
      <dc:date>2010-10-25T06:52:08Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239821#M502610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Since some website error doesn't allow me to upload documents, please &lt;A href="http://community.qlik.com/members/mabaeyens/files/QV-problem.qvw.aspx" title="QV problem.qvw"&gt;find it here&lt;/A&gt;. Once you have downloaded it, let me know so I can delete it from my page.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 07:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239821#M502610</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-25T07:38:33Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239822#M502611</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;Appoligies for late reply.&lt;/P&gt;&lt;P&gt;I downloaded the document, and went through it, i've managed to figure it out, but it was not what i was looking for, anyways thanks.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 06:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239822#M502611</guid>
      <dc:creator />
      <dc:date>2010-10-27T06:32:21Z</dc:date>
    </item>
    <item>
      <title>sum from different pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239823#M502612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found the best way to use data from one table in another is through variables.&lt;/P&gt;&lt;P&gt;This allows for simplifiyng the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 08:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-from-different-pivot-table/m-p/239823#M502612</guid>
      <dc:creator />
      <dc:date>2010-12-29T08:44:38Z</dc:date>
    </item>
  </channel>
</rss>

