<?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: SumIfs Using Two Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506352#M598684</link>
    <description>&lt;P&gt;Thank you for the quick response. I am trying to think through this. Is this splitting the original data set into two data sets with the "key" field and creating a union? Or am I not thinking about that correctly&lt;/P&gt;</description>
    <pubDate>Wed, 14 Nov 2018 14:37:48 GMT</pubDate>
    <dc:creator>stschwarz</dc:creator>
    <dc:date>2018-11-14T14:37:48Z</dc:date>
    <item>
      <title>SumIfs Using Two Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506246#M598682</link>
      <description>&lt;P&gt;I am trying to replicate a sumifs formula in Qlik Sense but am running into challenges. The business challenge is that there is a current attribute (account description) which has been updated (changed the mapping on some fields). I am trying to show a summary table that highlights the dollar variance that will occur due to the new mapping. Here is a example data set:&lt;/P&gt;&lt;P&gt;Current&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Future&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$10&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$8&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$5&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Summary Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Attribute&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Current $&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Future $&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $18&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$10&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$9&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $17&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using set analysis and a valuelist, but I am still running into issues. Does anyone know if this is possible?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506246#M598682</guid>
      <dc:creator>stschwarz</dc:creator>
      <dc:date>2024-11-16T05:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: SumIfs Using Two Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506278#M598683</link>
      <description>&lt;P&gt;Create a link table like this&lt;/P&gt;&lt;PRE&gt;Table:
LOAD RowNo() as Key,
	 *;
LOAD * INLINE [
    Current, Future, Sales
    A, A, $10
    A, B, $8
    B, B, $5
    B, B, $4
];

LinkTable:
LOAD Current as Attribute,
	 Key,
	 'Current' as Flag
Resident Table;

Concatenate (LinkTable)
LOAD Future as Attribute,
	  Key,
	 'Future' as Flag
Resident Table;&lt;/PRE&gt;&lt;P&gt;And then create a chart like this&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;PRE&gt;Attribute&lt;/PRE&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;PRE&gt;Current $
=Sum({&amp;lt;Flag = {'Current'}&amp;gt;}Sales)

Future $
=Sum({&amp;lt;Flag = {'Future'}&amp;gt;}Sales)&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Nov 2018 13:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506278#M598683</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-14T13:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: SumIfs Using Two Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506352#M598684</link>
      <description>&lt;P&gt;Thank you for the quick response. I am trying to think through this. Is this splitting the original data set into two data sets with the "key" field and creating a union? Or am I not thinking about that correctly&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 14:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506352#M598684</guid>
      <dc:creator>stschwarz</dc:creator>
      <dc:date>2018-11-14T14:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: SumIfs Using Two Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506358#M598685</link>
      <description>&lt;P&gt;Yes, but this is done only for the two fields that you need under a single field name (Current and Future -&amp;gt; Attribute). Other fields in the fact table doesn't need to go into the link table. Only other field you need is a key field which will be the link between your fact table and the link table.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 14:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506358#M598685</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-14T14:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: SumIfs Using Two Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506419#M598686</link>
      <description>&lt;P&gt;BAM! Thank you so much, that worked&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 15:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SumIfs-Using-Two-Dimensions/m-p/1506419#M598686</guid>
      <dc:creator>stschwarz</dc:creator>
      <dc:date>2018-11-14T15:45:21Z</dc:date>
    </item>
  </channel>
</rss>

