<?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: Cross-reference calculations in a Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cross-reference-calculations-in-a-Straight-Table/m-p/376213#M140236</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;If &lt;STRONG&gt;Income&lt;/STRONG&gt; is the first expression and &lt;STRONG&gt;Expenses &lt;/STRONG&gt;is the second expression in expression list, you can calculate &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Balance = Column(1) - Column(2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Som&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2012 15:38:05 GMT</pubDate>
    <dc:creator>somenathroy</dc:creator>
    <dc:date>2012-08-08T15:38:05Z</dc:date>
    <item>
      <title>Cross-reference calculations in a Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-reference-calculations-in-a-Straight-Table/m-p/376212#M140235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's have a Chart (Straight Table) with something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="80" style="width: 474px; border: 1px solid rgb(127, 127, 127); height: 82px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="color: #ffffff; text-align: -webkit-center; background-color: #6690bc;"&gt;Income&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #ffff00;"&gt;&lt;STRONG&gt;= a complex expression A&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;P&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Expenses&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #ffff00;"&gt;&lt;STRONG style="text-align: -webkit-center;"&gt;= a complex expression B&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Balance&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;30 000&lt;/TD&gt;&lt;TD&gt;25 000&lt;/TD&gt;&lt;TD&gt;5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25 000&lt;/TD&gt;&lt;TD&gt;26 000&lt;/TD&gt;&lt;TD&gt;-1000&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;Question: Is there some 'shortcut' to define the expression for the &lt;EM&gt;Balance &lt;/EM&gt;by referencing the results of the other expressions, something like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #333399;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;EM&gt;Income&lt;/EM&gt; - &lt;EM&gt;Expenses&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...without having to repeat the expressions with something like this for the &lt;EM&gt;Balance&lt;/EM&gt; expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; color: #333399;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =(a complex expression A) - (a complex expression B)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 14:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-reference-calculations-in-a-Straight-Table/m-p/376212#M140235</guid>
      <dc:creator />
      <dc:date>2012-08-08T14:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-reference calculations in a Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-reference-calculations-in-a-Straight-Table/m-p/376213#M140236</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;If &lt;STRONG&gt;Income&lt;/STRONG&gt; is the first expression and &lt;STRONG&gt;Expenses &lt;/STRONG&gt;is the second expression in expression list, you can calculate &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Balance = Column(1) - Column(2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Som&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 15:38:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-reference-calculations-in-a-Straight-Table/m-p/376213#M140236</guid>
      <dc:creator>somenathroy</dc:creator>
      <dc:date>2012-08-08T15:38:05Z</dc:date>
    </item>
  </channel>
</rss>

