<?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: calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/567080#M478887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum is an aggregation expression, and in order to use it in a dimension, it must be used within aggr(), so something like the following may work for you:&lt;/P&gt;&lt;P&gt;=aggr(if(sum({&amp;lt;DateCleanLog={"=$(=Date(Today()-1))"}&amp;gt;} Rows)= 0, null(), LogCustomerID), LogCustomerID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Feb 2014 14:57:28 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2014-02-25T14:57:28Z</dc:date>
    <item>
      <title>calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/567079#M478886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why cannot i do this in a calculated dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(sum({&amp;lt;DateCleanLog={"=$(=Date(Today()-1))"}&amp;gt;} Rows) = 0, null(), LogCustomerID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if there was no rows yesterday, then dont show logcustomerid, else show customerid&amp;nbsp; - why cnat i do so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 14:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/567079#M478886</guid>
      <dc:creator />
      <dc:date>2014-02-25T14:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/567080#M478887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum is an aggregation expression, and in order to use it in a dimension, it must be used within aggr(), so something like the following may work for you:&lt;/P&gt;&lt;P&gt;=aggr(if(sum({&amp;lt;DateCleanLog={"=$(=Date(Today()-1))"}&amp;gt;} Rows)= 0, null(), LogCustomerID), LogCustomerID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 14:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/567080#M478887</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-25T14:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/567081#M478888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because when you perform the sum, the same sum is computed according specified dimensions so if you need something like the one you have written you must use Aggr function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 14:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/567081#M478888</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-02-25T14:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/567082#M478889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;beacuse aggregate function we can use directly in dimension &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will show you "Error in dimension"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for your expression to work you need to use aggr keyword available in qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(&lt;STRONG&gt;aggr&lt;/STRONG&gt;(sum({&amp;lt;DateCleanLog={"=$(=Date(Today()-1))"}&amp;gt;} Rows)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LogCustomerID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;/SPAN&gt; = 0 ,null(), LogCustomerID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;then it whould work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;basically aggr function used to group by some field&amp;nbsp; as is in ur example i have grouped your&amp;nbsp; expression of sum by &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LogCustomerID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 15:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/567082#M478889</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-02-25T15:00:55Z</dc:date>
    </item>
  </channel>
</rss>

