<?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 how to use sum function on virtual field? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-use-sum-function-on-virtual-field/m-p/414982#M1159200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;hi Everyone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;please help me with this....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;In a chart properties&amp;nbsp; of pivote chart , i have two expressions labelled ie... &lt;STRONG&gt;[no. of quantity] and [new_price]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;iI want to get another expression which is the Product of the above two. and it should also show the Subtotal value .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;i have written &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; sum([no. of quantity]*[new_price]&lt;/STRONG&gt; )&lt;STRONG&gt;) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;but the summation of the product is not working althogh I am getting the product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;thanks in advance&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2012 05:20:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-07T05:20:56Z</dc:date>
    <item>
      <title>how to use sum function on virtual field?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-sum-function-on-virtual-field/m-p/414982#M1159200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;hi Everyone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;please help me with this....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;In a chart properties&amp;nbsp; of pivote chart , i have two expressions labelled ie... &lt;STRONG&gt;[no. of quantity] and [new_price]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;iI want to get another expression which is the Product of the above two. and it should also show the Subtotal value .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;i have written &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; sum([no. of quantity]*[new_price]&lt;/STRONG&gt; )&lt;STRONG&gt;) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;but the summation of the product is not working althogh I am getting the product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;thanks in advance&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 05:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-sum-function-on-virtual-field/m-p/414982#M1159200</guid>
      <dc:creator />
      <dc:date>2012-12-07T05:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sum function on virtual field?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-sum-function-on-virtual-field/m-p/414983#M1159201</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;What do you mean by "I am getting the product"? I have noticed that your fomula exceeds 1 closing parenthesis. Maybe it will fix your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janzen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 06:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-sum-function-on-virtual-field/m-p/414983#M1159201</guid>
      <dc:creator />
      <dc:date>2012-12-07T06:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sum function on virtual field?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-sum-function-on-virtual-field/m-p/414984#M1159202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;sum([no. of quantity]*[new_price] )&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;by mistake i wrote that , but it does not work &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 09:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-sum-function-on-virtual-field/m-p/414984#M1159202</guid>
      <dc:creator />
      <dc:date>2012-12-07T09:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to use sum function on virtual field?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-sum-function-on-virtual-field/m-p/414985#M1159203</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;Although you can use named columns or Column() to refer to other columns in a table or chart in your expressions, unfortunately you cannot use aggregation functions (like Sum, Avg, Min).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you will need to substitute the expressions for [no. of quantity] and [new_price] to perform this calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 09:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-sum-function-on-virtual-field/m-p/414985#M1159203</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-12-07T09:12:42Z</dc:date>
    </item>
  </channel>
</rss>

