<?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 Problem with SUM in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197094#M56889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, guys.&lt;/P&gt;&lt;P&gt;I have some problems with such situation:&lt;/P&gt;&lt;P&gt;I have simple table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3454_sourceID:3454" /&gt;&lt;/P&gt;&lt;P&gt;and I want to get sum of Sales and Plan values by Company, like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3455_sourceID:3455" /&gt;&lt;/P&gt;&lt;P&gt;Company, Fields - 2 dimension, Result - expresson.&lt;/P&gt;&lt;P&gt;BUT the main difficulty is that I want to achieve this with one expression!&lt;BR /&gt;&lt;BR /&gt;I created new field with name 'Fields', which contain values with all my Key Figures ('Sales' and 'Plan'),&lt;BR /&gt;&lt;BR /&gt;and I want to use something like this: sum(Fields), but I can't achieve that Fields transform to values,&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;for lines, where Fields = 'Plan' I want get expression - sum(Plan),&lt;BR /&gt;&lt;BR /&gt;for line where Fields = 'Sales' - get sum(Sales)&lt;BR /&gt;&lt;BR /&gt;Can somebody help me?&lt;/P&gt;&lt;P&gt;I know, that can use crosstable function (instead of new field 'Fields') for transforming my source table, but I try to avoid it.&lt;/P&gt;&lt;P&gt;look at my example in attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Feb 2011 08:52:33 GMT</pubDate>
    <dc:creator>sparur</dc:creator>
    <dc:date>2011-02-02T08:52:33Z</dc:date>
    <item>
      <title>Problem with SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197094#M56889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, guys.&lt;/P&gt;&lt;P&gt;I have some problems with such situation:&lt;/P&gt;&lt;P&gt;I have simple table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3454_sourceID:3454" /&gt;&lt;/P&gt;&lt;P&gt;and I want to get sum of Sales and Plan values by Company, like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3455_sourceID:3455" /&gt;&lt;/P&gt;&lt;P&gt;Company, Fields - 2 dimension, Result - expresson.&lt;/P&gt;&lt;P&gt;BUT the main difficulty is that I want to achieve this with one expression!&lt;BR /&gt;&lt;BR /&gt;I created new field with name 'Fields', which contain values with all my Key Figures ('Sales' and 'Plan'),&lt;BR /&gt;&lt;BR /&gt;and I want to use something like this: sum(Fields), but I can't achieve that Fields transform to values,&lt;BR /&gt;&lt;BR /&gt;i.e.&lt;BR /&gt;for lines, where Fields = 'Plan' I want get expression - sum(Plan),&lt;BR /&gt;&lt;BR /&gt;for line where Fields = 'Sales' - get sum(Sales)&lt;BR /&gt;&lt;BR /&gt;Can somebody help me?&lt;/P&gt;&lt;P&gt;I know, that can use crosstable function (instead of new field 'Fields') for transforming my source table, but I try to avoid it.&lt;/P&gt;&lt;P&gt;look at my example in attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 08:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197094#M56889</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2011-02-02T08:52:33Z</dc:date>
    </item>
    <item>
      <title>Problem with SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197095#M56890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 07:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197095#M56890</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2011-02-03T07:45:36Z</dc:date>
    </item>
    <item>
      <title>Problem with SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197096#M56891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Crosstable is an elegant solution here. I would use that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 09:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197096#M56891</guid>
      <dc:creator />
      <dc:date>2011-02-03T09:13:36Z</dc:date>
    </item>
    <item>
      <title>Problem with SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197097#M56892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Matt.&lt;BR /&gt;&lt;BR /&gt;yes, I know that is one of solutions, but I want to avoid it. Because it very "hard" statement. In my real project I have fact table about 5 million of rows and crosstable process take a long time. I want to find more elegant solution(without crosstable), or I want to be sure that crosstable is unique solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 11:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197097#M56892</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2011-02-03T11:13:21Z</dc:date>
    </item>
    <item>
      <title>Problem with SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197098#M56893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even I too feel Cross tabel can helpn this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 11:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197098#M56893</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2011-02-03T11:16:01Z</dc:date>
    </item>
    <item>
      <title>Problem with SUM</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197099#M56894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, srinivasa1&lt;/P&gt;&lt;P&gt;I know about crosstable, thanks. but I want to find other solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 11:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-SUM/m-p/197099#M56894</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2011-02-03T11:26:06Z</dc:date>
    </item>
  </channel>
</rss>

