<?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: Re: Issue with total column when expression modified as per dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-total-column-when-expression-modified-as-per/m-p/585760#M217387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kuba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some explanation how to use the Aggr function in the help file. Additionally you should have a look into the attached pdf file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Burkhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 08:41:18 GMT</pubDate>
    <dc:creator>veidlburkhard</dc:creator>
    <dc:date>2014-03-18T08:41:18Z</dc:date>
    <item>
      <title>Issue with total column when expression modified as per dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-total-column-when-expression-modified-as-per/m-p/585757#M217384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing an issue with total column. I have a simple pivot table like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="55233" alt="ScreenShot126.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55233_ScreenShot126.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Challenge here is, that for current and previous quarters I must multiply result *4, which is very simple, I changed expression to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13951300006079720" jivemacro_uid="_13951300006079720"&gt;
&lt;P&gt;=&lt;/P&gt;
&lt;P&gt;IF(TextBetween([Qtr],'Q','-') &amp;lt;= Ceil(Month(Today(1)) / 3),&lt;/P&gt;
&lt;P&gt;sum(Value)*4,&lt;/P&gt;
&lt;P&gt;sum(Value)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This shows data fine on changes pivot:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="55234" alt="ScreenShot127.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55234_ScreenShot127.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 24pt;"&gt;&lt;STRONG&gt;BUT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total column is wrong, it is showing same value as previously. This is probably connected to my expression for calculationg current and previous quarters (as in total Qtr column does not exist)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried working with SecondaryDimensionality, but had no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I force Total column to the right to work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit: Attaching sample file.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Kuba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 08:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-total-column-when-expression-modified-as-per/m-p/585757#M217384</guid>
      <dc:creator />
      <dc:date>2014-03-18T08:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with total column when expression modified as per dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-total-column-when-expression-modified-as-per/m-p/585758#M217385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saperos_,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to use Aggr function to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please change your expression to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Aggr(&lt;/P&gt;&lt;P&gt;IF(TextBetween([Qtr],'Q','-') &amp;lt;= Ceil(Month(Today(1)) / 3),&lt;/P&gt;&lt;P&gt;sum(Value)*4,&lt;/P&gt;&lt;P&gt;sum(Value)&lt;/P&gt;&lt;P&gt;), Division, Location, Qtr))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Burkhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 08:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-total-column-when-expression-modified-as-per/m-p/585758#M217385</guid>
      <dc:creator>veidlburkhard</dc:creator>
      <dc:date>2014-03-18T08:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with total column when expression modified as per dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-total-column-when-expression-modified-as-per/m-p/585759#M217386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Burkhard! Another solution around AGGR() funditon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you be that kind and explain me how exactly this works? It seems I am unable to understnad when and how to use Aggr() function...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Kuba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 08:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-total-column-when-expression-modified-as-per/m-p/585759#M217386</guid>
      <dc:creator />
      <dc:date>2014-03-18T08:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Issue with total column when expression modified as per dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-total-column-when-expression-modified-as-per/m-p/585760#M217387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kuba,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some explanation how to use the Aggr function in the help file. Additionally you should have a look into the attached pdf file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Burkhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 08:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-total-column-when-expression-modified-as-per/m-p/585760#M217387</guid>
      <dc:creator>veidlburkhard</dc:creator>
      <dc:date>2014-03-18T08:41:18Z</dc:date>
    </item>
  </channel>
</rss>

