<?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 Change total calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252392#M95686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunil.&lt;/P&gt;&lt;P&gt;However I change the formula , I am facing the same outcome.&lt;/P&gt;&lt;P&gt;The formula with dimensionality is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(dimensionality()&amp;gt;=2,&lt;/P&gt;&lt;P&gt;column(3)* avg({$&amp;lt;APKO_RAPOR_TARIHI = {"$(=DATE(Max(APKO_RAPOR_TARIHI),'DD.MM.YYYY'))"} &amp;gt;} FXParite)&lt;/P&gt;&lt;P&gt;,sum(dimensionality()=2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;P&gt;I also tried to sum the false part of the If clause with sum(rowno()=0), but my file closed itself again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has other suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Oct 2011 12:27:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-17T12:27:45Z</dc:date>
    <item>
      <title>Change total calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252388#M95682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with the last row total of my table. I should first explain dimensions and calculatiıons of the table. &lt;/P&gt;&lt;P&gt;In dimentions there are three columns wihch are sectors, currencies and details. &lt;/P&gt;&lt;P&gt;And in claculation side I have two columns that shows the original figures of the first and last selected date.&lt;/P&gt;&lt;P&gt;The third column shows the difference of the first two columns.&lt;/P&gt;&lt;P&gt;In the fourth column evaluates the third column into USD equvalent. It simply multipliees the column three with the last days fx rate.&lt;/P&gt;&lt;P&gt;In other words the formulation I am using is &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: mceinline;"&gt;In the last column you can see the rates I am using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=column(3)* avg({$&amp;lt;APKO_RAPOR_TARIHI = {"$(=DATE(Max(APKO_RAPOR_TARIHI),'DD.MM.YYYY'))"} &amp;gt;} FXParite)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;In the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: mceinline;"&gt;In my case the problem is in the last row of the table (shwn in the red cicle).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: mceinline;"&gt;In the last total row I need to sum the subtotals of the table. In other words in the fourth calculation column I need to show the total of 68810 instead of 388751.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: mceinline;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: mceinline;"&gt;Can anyone give me an idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: mceinline;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: mceinline;"&gt;Best Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 07:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252388#M95682</guid>
      <dc:creator />
      <dc:date>2011-10-17T07:57:12Z</dc:date>
    </item>
    <item>
      <title>Change total calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252389#M95683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Cookbook from Rob Wundrlich (&lt;A href="http://robwunderlich.com/downloads/"&gt;http://robwunderlich.com/downloads/&lt;/A&gt;) is a solution that might me helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use if(rowno()=0,sum(x),sum(y)) or if(isnull(rowno())..... you can change the totals calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Succes!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 08:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252389#M95683</guid>
      <dc:creator />
      <dc:date>2011-10-17T08:24:14Z</dc:date>
    </item>
    <item>
      <title>Change total calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252390#M95684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Halmar,&lt;/P&gt;&lt;P&gt;First of all thank you for your kind reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to chnage the calculation as IT was mentioned in the cookbook example. My final expression is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Rowno()&amp;lt;&amp;gt;1 or Rowno()&amp;lt;&amp;gt;0, &lt;/P&gt;&lt;P&gt;column(3)* avg({$&amp;lt;APKO_RAPOR_TARIHI = {"$(=DATE(Max(APKO_RAPOR_TARIHI) 'DD.MM.YYYY'))"} &amp;gt;} FXParite) ,&lt;/P&gt;&lt;P&gt;sum(Rowno()=0))&lt;/P&gt;&lt;P&gt;As soon as I click "Apply" The file closes itself. Is there a reasion why this can happen? What critical point I am missing? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 11:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252390#M95684</guid>
      <dc:creator />
      <dc:date>2011-10-17T11:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change total calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252391#M95685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;dimensionality() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;if(dimensionality()=0,100,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100 showing at the top of first row &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use as per your need hope this may heelp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 11:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252391#M95685</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-10-17T11:49:11Z</dc:date>
    </item>
    <item>
      <title>Change total calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252392#M95686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunil.&lt;/P&gt;&lt;P&gt;However I change the formula , I am facing the same outcome.&lt;/P&gt;&lt;P&gt;The formula with dimensionality is below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(dimensionality()&amp;gt;=2,&lt;/P&gt;&lt;P&gt;column(3)* avg({$&amp;lt;APKO_RAPOR_TARIHI = {"$(=DATE(Max(APKO_RAPOR_TARIHI),'DD.MM.YYYY'))"} &amp;gt;} FXParite)&lt;/P&gt;&lt;P&gt;,sum(dimensionality()=2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;P&gt;I also tried to sum the false part of the If clause with sum(rowno()=0), but my file closed itself again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has other suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 12:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252392#M95686</guid>
      <dc:creator />
      <dc:date>2011-10-17T12:27:45Z</dc:date>
    </item>
    <item>
      <title>Change total calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252393#M95687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; in this expression&lt;/P&gt;&lt;P&gt;IF(dimensionality()&amp;gt;=2,&lt;/P&gt;&lt;P&gt;column(3)* avg({$&amp;lt;APKO_RAPOR_TARIHI = {"$(=DATE(Max(APKO_RAPOR_TARIHI),'DD.MM.YYYY'))"} &amp;gt;} FXParite)&lt;/P&gt;&lt;P&gt;,&lt;STRONG&gt;sum(dimensionality()=2)&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to modify the &lt;STRONG&gt;sum(dimensionality()=2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;like&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;sum(if(dimensionality()=2,youramountfield))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 12:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252393#M95687</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-10-17T12:31:26Z</dc:date>
    </item>
    <item>
      <title>Change total calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252394#M95688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the modification of the formula, I am still facing the closing document problem.&lt;/P&gt;&lt;P&gt;The final version of the calculation is stated below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(dimensionality()&amp;gt;1,&lt;/P&gt;&lt;P&gt;column(3)* avg({$&amp;lt;APKO_RAPOR_TARIHI = {"$(=DATE(Max(APKO_RAPOR_TARIHI),'DD.MM.YYYY'))"} &amp;gt;} FXParite),&lt;/P&gt;&lt;P&gt;sum(if(dimensionality()=2,column(4))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be wrong with this expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 13:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252394#M95688</guid>
      <dc:creator />
      <dc:date>2011-10-17T13:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change total calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252395#M95689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hilmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I am replying for the old post, do you have any solution for the question you&amp;nbsp; asked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;SP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 03:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-total-calculation/m-p/252395#M95689</guid>
      <dc:creator>psankepalli</dc:creator>
      <dc:date>2017-10-27T03:26:47Z</dc:date>
    </item>
  </channel>
</rss>

