<?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 Dimensions with calculation and group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimensions-with-calculation-and-group/m-p/253739#M96143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can anyone think of a solution for the scenrio below:&lt;/P&gt;&lt;P&gt;I need the expression [ =sum(aggr(sum(Distinct DOW), WSID)) ] for the dimension CLNO - 17 to indicate 44 and not 0 (zero) ((before actually selecting the dimension CLNO - 17)). You will notice if you do select the item CLNO-17 the correct number (44) appears in the expression column.&lt;/P&gt;&lt;P&gt;(This is only possible to demo in the attached file .... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's a grouping problem that I can't get around, and I can't think how to do it any other way.&lt;/P&gt;&lt;P&gt;Has anyone got any ideas on how to solve, if possible?&amp;nbsp; Maybe using a different chart type etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Oct 2011 12:21:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-17T12:21:04Z</dc:date>
    <item>
      <title>Dimensions with calculation and group</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-calculation-and-group/m-p/253739#M96143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can anyone think of a solution for the scenrio below:&lt;/P&gt;&lt;P&gt;I need the expression [ =sum(aggr(sum(Distinct DOW), WSID)) ] for the dimension CLNO - 17 to indicate 44 and not 0 (zero) ((before actually selecting the dimension CLNO - 17)). You will notice if you do select the item CLNO-17 the correct number (44) appears in the expression column.&lt;/P&gt;&lt;P&gt;(This is only possible to demo in the attached file .... )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's a grouping problem that I can't get around, and I can't think how to do it any other way.&lt;/P&gt;&lt;P&gt;Has anyone got any ideas on how to solve, if possible?&amp;nbsp; Maybe using a different chart type etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 12:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-calculation-and-group/m-p/253739#M96143</guid>
      <dc:creator />
      <dc:date>2011-10-17T12:21:04Z</dc:date>
    </item>
    <item>
      <title>Dimensions with calculation and group</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-calculation-and-group/m-p/253740#M96144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a NODISTINCT like in:&lt;/P&gt;&lt;P&gt;= sum(aggr(NODISTINCT sum(Distinct DOW ), WSID&amp;nbsp; ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 12:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-calculation-and-group/m-p/253740#M96144</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-17T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions with calculation and group</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-calculation-and-group/m-p/253741#M96145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that didn't work. It nulls the expression column and displays 0 (zero) for both CLNO 14 and 17.&lt;/P&gt;&lt;P&gt;It should show (looking at the inline table in the qvw attached) both 44 in both cases.&lt;/P&gt;&lt;P&gt;It is really strange that it will show 44 in the expression cloumn once the CLNO 17 has been selected.&lt;/P&gt;&lt;P&gt;Something with the grouping is producing strange results. Cheers anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: in correct reply the solution does work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 12:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-calculation-and-group/m-p/253741#M96145</guid>
      <dc:creator />
      <dc:date>2011-10-17T12:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions with calculation and group</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-with-calculation-and-group/m-p/253742#M96146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, it works on my side, please check attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could try using&lt;/P&gt;&lt;P&gt;= sum(aggr( sum(Distinct DOW ), WSID, CLNO))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 12:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-with-calculation-and-group/m-p/253742#M96146</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-17T12:35:39Z</dc:date>
    </item>
  </channel>
</rss>

