<?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 Asset-Liability Sum behavior in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Asset-Liability-Sum-behavior/m-p/634821#M679060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an [account type] dimension having 'asset' and 'liability' values.&amp;nbsp; Is there a way so that QlikView by default gets the net of asset minus liability when I have a Sum(Amount) expression?&amp;nbsp; I'm just trying to replicate the SSAS capability where you can assign an operator to a dimension to indicate whether it will do addition(+) or subtraction(-) when doing aggregations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the only way to do this using set operators like so?&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;[account type='asset']&amp;gt;} Amount) - SUM({$&amp;lt;[account type]='liability'&amp;gt;} Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 May 2014 15:19:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-15T15:19:00Z</dc:date>
    <item>
      <title>Asset-Liability Sum behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Asset-Liability-Sum-behavior/m-p/634821#M679060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an [account type] dimension having 'asset' and 'liability' values.&amp;nbsp; Is there a way so that QlikView by default gets the net of asset minus liability when I have a Sum(Amount) expression?&amp;nbsp; I'm just trying to replicate the SSAS capability where you can assign an operator to a dimension to indicate whether it will do addition(+) or subtraction(-) when doing aggregations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the only way to do this using set operators like so?&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;[account type='asset']&amp;gt;} Amount) - SUM({$&amp;lt;[account type]='liability'&amp;gt;} Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 15:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Asset-Liability-Sum-behavior/m-p/634821#M679060</guid>
      <dc:creator />
      <dc:date>2014-05-15T15:19:00Z</dc:date>
    </item>
  </channel>
</rss>

