<?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: Sum Columns matching and Sum Columns unmatching in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-Columns-matching-and-Sum-Columns-unmatching/m-p/2117142#M1224564</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;When you say 'databases' do you mean 'tables'?&lt;/P&gt;
&lt;P&gt;Are your tables currently linked by a common field? Sharing a snapshot of the 'table viewer' may be helpful here, as it will also expose your field names and possible primary keys.&lt;/P&gt;
&lt;P&gt;If nulls need to be treated as data points for the purposes of your calculations, I would highly recommend using &lt;A href="https://help.qlik.com/en-US/sense/May2023/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/NullAsValue.htm" target="_self"&gt;NullAsValue&lt;/A&gt; and Set NullValue...most likely applied to a table resulting from the join of your two data sets. This makes them more readily countable in set expressions.&lt;/P&gt;
&lt;P&gt;J.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 20:51:53 GMT</pubDate>
    <dc:creator>jwaligora</dc:creator>
    <dc:date>2023-09-14T20:51:53Z</dc:date>
    <item>
      <title>Sum Columns matching and Sum Columns unmatching</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Columns-matching-and-Sum-Columns-unmatching/m-p/2116714#M1224549</link>
      <description>&lt;P&gt;Hiiii&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a dashboard where I have 2 different Databases:&lt;/P&gt;
&lt;P&gt;Database 1 = Controlled Country&lt;/P&gt;
&lt;P&gt;Database 2 = Country_Code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for my Dash i need to have a KPI that SUMs all the amounts where the info between datas are the same, and another formula that sums everything that doesnt match.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was using the following formulas, but they are not working properly on the pivottable, it works only when i filter by an specific "booking"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum(Aggr(if([Controlled Country]=Country_Code,SUM(Amount),0),[Master Customer Name]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SUM(Aggr(if([Controlled Country]=Country_Code,0,SUM(Amount)), [Master Customer Name]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, i need the formula to consider whatever is "null" on the Country_code field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate your help! thankssss&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 21:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Columns-matching-and-Sum-Columns-unmatching/m-p/2116714#M1224549</guid>
      <dc:creator>Karineyumi</dc:creator>
      <dc:date>2023-09-13T21:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sum Columns matching and Sum Columns unmatching</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Columns-matching-and-Sum-Columns-unmatching/m-p/2117142#M1224564</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;When you say 'databases' do you mean 'tables'?&lt;/P&gt;
&lt;P&gt;Are your tables currently linked by a common field? Sharing a snapshot of the 'table viewer' may be helpful here, as it will also expose your field names and possible primary keys.&lt;/P&gt;
&lt;P&gt;If nulls need to be treated as data points for the purposes of your calculations, I would highly recommend using &lt;A href="https://help.qlik.com/en-US/sense/May2023/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/NullAsValue.htm" target="_self"&gt;NullAsValue&lt;/A&gt; and Set NullValue...most likely applied to a table resulting from the join of your two data sets. This makes them more readily countable in set expressions.&lt;/P&gt;
&lt;P&gt;J.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 20:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Columns-matching-and-Sum-Columns-unmatching/m-p/2117142#M1224564</guid>
      <dc:creator>jwaligora</dc:creator>
      <dc:date>2023-09-14T20:51:53Z</dc:date>
    </item>
  </channel>
</rss>

