<?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: Calcualted dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115598#M892043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;it was a typo in my expression I still get the same error if I use &amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied your query with the aggr and the calculated dimension runs but doesn't group it. Do I need t use edit groups button through the dimension tab? I thought a simple if then else statement would work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2016 10:59:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-16T10:59:20Z</dc:date>
    <item>
      <title>Calcualted dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115596#M892041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a sum of invoice total per customer using this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=MonthStart(Today(),Day(Today())=1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} ,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LinkId]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"FIN"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(RevenueRate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;What I&amp;nbsp; need to&amp;nbsp; do this group the customers based on their invoice total&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I summary if their invoice total is less than 10001 then group them as 'Others' or leave them as their customer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;To do this I created a calculated dimension and used the following expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=MonthStart(Today(),Day(Today())=1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} ,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LinkId]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"FIN"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;} &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(RevenueRate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=10001, 'Others',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Customer]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Unfortunately this doesn't the expression is Ok but I get a //Error in calculated dimension error is my table when I apply it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Can you please help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115596#M892041</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calcualted dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115597#M892042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 8pt;"&gt;I summary if their invoice total is less than 10001 then group them as 'Others' or leave them as their customer.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(RevenueRate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=10001&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want less than 10001 then use &amp;lt; instead of =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(RevenueRate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;lt;10001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;And the sum should be calculated per customer otherwise you only get the grand total&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(aggr( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=MonthStart(Today(),Day(Today())=1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} , &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LinkId]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"FIN"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;nbsp;&amp;nbsp; &amp;gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(RevenueRate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Customer]&lt;/SPAN&gt;)&amp;lt;10001 , 'Others',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Customer]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 10:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115597#M892042</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-16T10:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calcualted dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115598#M892043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;it was a typo in my expression I still get the same error if I use &amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied your query with the aggr and the calculated dimension runs but doesn't group it. Do I need t use edit groups button through the dimension tab? I thought a simple if then else statement would work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 10:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115598#M892043</guid>
      <dc:creator />
      <dc:date>2016-08-16T10:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calcualted dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115599#M892044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my apologies it does but it doesn't include any with a invoice total of 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:04:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115599#M892044</guid>
      <dc:creator />
      <dc:date>2016-08-16T11:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calcualted dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115600#M892045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post a small qlikview document that demonstrates the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115600#M892045</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-16T11:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calcualted dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115601#M892046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do I do that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115601#M892046</guid>
      <dc:creator />
      <dc:date>2016-08-16T11:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calcualted dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115602#M892047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;switched the expression round so it picks anything over 10000 as customer and anything less as others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115602#M892047</guid>
      <dc:creator />
      <dc:date>2016-08-16T11:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calcualted dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115603#M892048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=Aggr(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=MonthStart(Today(),Day(Today())=1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} ,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LinkId]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"FIN"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;BR /&gt; &amp;gt;} &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Bill Value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(RevenueRate)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=10001, 'Others',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Customer]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) , Customer)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards!!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 11:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115603#M892048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T11:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calcualted dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115604#M892049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open the discussion (don't reply from your inbox), click the Reply button, click the Use advanced editor link to change to the advanced editor. Use the Attach link on the bottom left to attach a file to your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 12:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calcualted-dimension/m-p/1115604#M892049</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-16T12:24:50Z</dc:date>
    </item>
  </channel>
</rss>

