<?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 Aggregation of Sum w.r.t. Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704260#M253971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a pivot table, I have one calculated dimension with complex expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(1+match(IF([Corporate Account]='OTHER','[Sales Account]', '[Corporate Account]'),...,...,...),...,...,...,...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another dimension, I want to sum revenu with respect to this first dimension. More precisely, I want to have value for this new calculated dimension be 'A' or 'B' depending on the total revenue with respect to the first field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, I came up with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AGGR( IF(Sum(Revenue)&amp;gt;10,'A','B'),&lt;/P&gt;&lt;P&gt;$(=pick(1+match(IF([Corporate Account]='OTHER','[Sales Account]', '[Corporate Account]'),...,...,...),...,...,...,...)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is not correct (for all rows, output is Null()).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you have an idea of what is the right syntax ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2014 09:03:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-18T09:03:27Z</dc:date>
    <item>
      <title>Aggregation of Sum w.r.t. Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704260#M253971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a pivot table, I have one calculated dimension with complex expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(1+match(IF([Corporate Account]='OTHER','[Sales Account]', '[Corporate Account]'),...,...,...),...,...,...,...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another dimension, I want to sum revenu with respect to this first dimension. More precisely, I want to have value for this new calculated dimension be 'A' or 'B' depending on the total revenue with respect to the first field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, I came up with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AGGR( IF(Sum(Revenue)&amp;gt;10,'A','B'),&lt;/P&gt;&lt;P&gt;$(=pick(1+match(IF([Corporate Account]='OTHER','[Sales Account]', '[Corporate Account]'),...,...,...),...,...,...,...)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is not correct (for all rows, output is Null()).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you have an idea of what is the right syntax ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 09:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704260#M253971</guid>
      <dc:creator />
      <dc:date>2014-07-18T09:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation of Sum w.r.t. Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704261#M253972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample date please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 09:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704261#M253972</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-07-18T09:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation of Sum w.r.t. Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704262#M253973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i cannot share the data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 09:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704262#M253973</guid>
      <dc:creator />
      <dc:date>2014-07-18T09:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation of Sum w.r.t. Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704263#M253974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can obviously create dummy data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 09:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704263#M253974</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-07-18T09:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation of Sum w.r.t. Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704264#M253975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am afraid I cannot share a document from the Personal Edition. If you have any idea on a possible source of error in the syntax, please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 15:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-of-Sum-w-r-t-Calculated-Dimension/m-p/704264#M253975</guid>
      <dc:creator />
      <dc:date>2014-07-18T15:37:43Z</dc:date>
    </item>
  </channel>
</rss>

