<?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 calculated dimension with class and set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calculated-dimension-with-class-and-set-analysis/m-p/240405#M90936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, that was exactly what I wanted.&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 May 2010 01:17:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-14T01:17:19Z</dc:date>
    <item>
      <title>calculated dimension with class and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension-with-class-and-set-analysis/m-p/240403#M90934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to do the following:&lt;BR /&gt;I have several jobs with several line items for different operations. For example I have Job number 1 and in here I have 3 line items for the operation MR with a value of 1 in each line. Basically a total of 3.&lt;/P&gt;&lt;P&gt;Now I want to have a calculated dimension, where I count the job (in attached file) which have values for MR in 2 or 4 or 6. I did that with the class formula:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;=class(sum({&amp;lt;Operation={'MR'}&amp;gt;}Minutes),2)&lt;/P&gt;&lt;P&gt;But that doesn't work. Can somebody help?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 00:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension-with-class-and-set-analysis/m-p/240403#M90934</guid>
      <dc:creator />
      <dc:date>2010-05-14T00:46:57Z</dc:date>
    </item>
    <item>
      <title>calculated dimension with class and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension-with-class-and-set-analysis/m-p/240404#M90935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use aggregation functions in a calculated dimension without using aggr() and telling it what dimension(s) to aggregate across. In this case, you want to aggregate by Job (or more plainly, you want the sum of MR operation minutes for each job individually, not the grand total of all minutes in the whole system, and the way you do that is to aggregate by Job). So I think you want this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;&lt;STRONG&gt;aggr(&lt;/STRONG&gt;class(sum({&amp;lt;Operation={'MR'}&amp;gt;}Minutes),2)&lt;STRONG&gt;,Job)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It produces the graph I think you want, in any case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 01:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension-with-class-and-set-analysis/m-p/240404#M90935</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-05-14T01:12:25Z</dc:date>
    </item>
    <item>
      <title>calculated dimension with class and set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension-with-class-and-set-analysis/m-p/240405#M90936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, that was exactly what I wanted.&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 01:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension-with-class-and-set-analysis/m-p/240405#M90936</guid>
      <dc:creator />
      <dc:date>2010-05-14T01:17:19Z</dc:date>
    </item>
  </channel>
</rss>

