<?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: Expression total is giving wrong value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311501#M407634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using straight table then go to expression tab and check for Expression total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Jul 2017 06:34:25 GMT</pubDate>
    <dc:creator>neha_shirsath</dc:creator>
    <dc:date>2017-07-29T06:34:25Z</dc:date>
    <item>
      <title>Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311496#M407629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am calculating the percentage of red marked column by expression total, it is giving me the wrong data. Can anybody help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 13:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311496#M407629</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-07-28T13:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311497#M407630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your expression? What all are your dimensions? and what is the expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311497#M407630</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-28T15:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311498#M407631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expression is (column1/column2) and expected output that I am looking for, is - (Sum(Column1)/Sum(Column2))*100 means percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and there are lots of dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 16:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311498#M407631</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-07-28T16:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311499#M407632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha your response didn't really answer any of my question in a way that I can offer help.... Anyways, would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 16:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311499#M407632</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-28T16:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311500#M407633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171802_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here A,B,C are expressions and I am calculating the Value of A and B from other fields. And calculating the value of C through formula - B/A. Now when I am doing expression total for all expression A,B,C, I am getting the right value of A,B but I am not getting the right value of C where I am calculating the percent. So I am expecting output Sum(B)/Sum(A)*100 means - 194/247*100=78.54%....I am getting the value 194,247 but not 78.54..It is giving me something else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 06:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311500#M407633</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-07-29T06:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311501#M407634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using straight table then go to expression tab and check for Expression total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 06:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311501#M407634</guid>
      <dc:creator>neha_shirsath</dc:creator>
      <dc:date>2017-07-29T06:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311502#M407635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am using straight table and doing the same but it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 06:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311502#M407635</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-07-29T06:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311503#M407636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a difference between Expression TOTAL and Sum of ROWS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this sample data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DIM, C1, C2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 10, -10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 15, -60&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 17, 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; D, 26, -13&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; E, 65, 10&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a straight table with All 3 fields in dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 same Expressions i.e.&amp;nbsp;&amp;nbsp; =C1 /C2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 1 to have : Expression TOTAL&lt;/P&gt;&lt;P&gt;Expression 2 to have&amp;nbsp; Sum of ROWS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should help you understand the difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the TOTAL mode section, Bottom right hand side&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TOTALS.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171820_TOTALS.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TOTALS2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/171821_TOTALS2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 08:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311503#M407636</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-07-29T08:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311504#M407637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand, do you want to total row to sum all the percentage values in the field or do you want it to present the Sum of field 1 divided by the sum of field 2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can give a more clear presentation of your data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 09:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311504#M407637</guid>
      <dc:creator>sonkumamon</dc:creator>
      <dc:date>2017-07-29T09:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311505#M407638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post your app!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 18:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311505#M407638</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-07-29T18:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311506#M407639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also i don't think you can use Aggregation functions with column references!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you said A and B are expressions which means they have aggregations functions like sum,min or max&lt;/P&gt;&lt;P&gt;so Sum(A) or Sum(B) will never work! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have Expression totals you need an aggregation function so i suggest you rewrite the expression for A and B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C = Full expression for B / &lt;SPAN style="font-size: 13.3333px;"&gt;Full expression for A&amp;nbsp; * 100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 18:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311506#M407639</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-07-29T18:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression total is giving wrong value</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311507#M407640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes...It is working for me..Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Jul 2017 08:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-total-is-giving-wrong-value/m-p/1311507#M407640</guid>
      <dc:creator>vipingarg23</dc:creator>
      <dc:date>2017-07-30T08:59:02Z</dc:date>
    </item>
  </channel>
</rss>

