<?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 Problems with calculated expressions in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346225#M576054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carmen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attach the sample data. and what is the requirement please elaborate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nilesh Gangurde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2012 11:37:13 GMT</pubDate>
    <dc:creator>nilesh_gangurde</dc:creator>
    <dc:date>2012-05-10T11:37:13Z</dc:date>
    <item>
      <title>Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346224#M576053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create a table like the one I attach in Excel. How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 11:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346224#M576053</guid>
      <dc:creator />
      <dc:date>2012-05-10T11:15:28Z</dc:date>
    </item>
    <item>
      <title>Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346225#M576054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carmen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attach the sample data. and what is the requirement please elaborate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nilesh Gangurde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 11:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346225#M576054</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2012-05-10T11:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346226#M576055</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;Can you eloberate your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravikumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 11:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346226#M576055</guid>
      <dc:creator />
      <dc:date>2012-05-10T11:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346227#M576056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I load the data from an Oracle Database. I attach part of the script. What I want is to show in the Pivot Table:&lt;/P&gt;&lt;P&gt;Product Code, Product Name, Units ordered, Amount between to dates (DateFrom and DateTo)&lt;/P&gt;&lt;P&gt;But, I need to Calculate in each line Amount/Total Amount(%), Total Amount up to the line, Total Amount up to the line/Total Amount (%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carmen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 11:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346227#M576056</guid>
      <dc:creator />
      <dc:date>2012-05-10T11:56:54Z</dc:date>
    </item>
    <item>
      <title>Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346228#M576057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Carmen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the sample data file as u find the data in the oracle after the select query .&lt;/P&gt;&lt;P&gt;and attach it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nilesh Gangurde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 12:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346228#M576057</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2012-05-10T12:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346229#M576058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A sample of the Oracle query is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT P.NCODPRODUCT, P.SDESPRODUCT, SUM (NNUMUNIDADE) UNITS, SUM(NIMPTOTCOST) AMOUNT&lt;/P&gt;&lt;P&gt;FROM ND_H_MOVIMIENTO MOV INNER JOIN ND_D_PRODUCTO P ON MOV.NCODHOSPITA = P.NCODHOSPITA AND MOV.NCODPRODUCT = P.NCODPRODUCT&lt;/P&gt;&lt;P&gt;WHERE MOV.NCODHOSPITA = 10 AND DFECPEDIDO BETWEEN '01/11/2011' AND '30/11/2011' AND P.NCODTIPPROD=1 AND P.NCODNIVEL1 = 7&lt;/P&gt;&lt;P&gt;GROUP BY P.NCODPRODUCT, P.SDESPRODUCT&lt;/P&gt;&lt;P&gt;ORDER BY NCODPRODUCT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the results are shown in the attached Excel file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 14:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346229#M576058</guid>
      <dc:creator />
      <dc:date>2012-05-10T14:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346230#M576059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carmen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find the attachement there i caluculated the values which you gave at first post. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nilesh Gangurde &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 07:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346230#M576059</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2012-05-11T07:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346231#M576060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nilesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see it Works nicely in your file. I have to get data for a time frame, so I have adapted your expresions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In amount I have defined SUM ( {$}IMPORTE_MOVIMIENTO),0,RowNo() ))&lt;/P&gt;&lt;P&gt;and it doesn’t work. I get the same results than in Amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carmen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 12:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346231#M576060</guid>
      <dc:creator />
      <dc:date>2012-05-11T12:12:59Z</dc:date>
    </item>
    <item>
      <title>Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346232#M576061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carmen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If you want to calculate Amount, Give the expression as mention below:&lt;/P&gt;&lt;P&gt;sum(IMPORTE_MOVIMIENTO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If you want to calculate the &lt;STRONG&gt;Accumulated&lt;/STRONG&gt; Amount, give the expression as this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: Arial;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: Arial;"&gt;above&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: Arial;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: Arial;"&gt;IMPORTE_MOVIMIENTO&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: Arial;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;() ))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: Arial;"&gt;Hope this will help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nilesh Gangurde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2012 05:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346232#M576061</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2012-05-12T05:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346233#M576062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nilesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I put in my last post, I defined amount as SUM ( {$}IMPORTE_MOVIMIENTO),0,RowNo() )) and it doesn’t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don’t know why it doesn’t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. I’m really pressed by time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2012 15:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346233#M576062</guid>
      <dc:creator />
      <dc:date>2012-05-13T15:07:54Z</dc:date>
    </item>
    <item>
      <title>Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346234#M576063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carmen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;SUM ( {$}IMPORTE_MOVIMIENTO),0,RowNo() ))&amp;nbsp; will not work . because we cant put anything outside the sum function and here you are doing that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;so instead of the above expression Put sum(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;IMPORTE_MOVIMIENTO&lt;/SPAN&gt;) you will get the results as you want. and please refer my last post. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Nilesh Gangurde&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2012 16:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346234#M576063</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2012-05-13T16:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346235#M576064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nilesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have to restrict IMPORTE_MOVIMIENTO to a time frame. It’s because of that tat I put SUM ( {$}IMPORTE_MOVIMIENTO).&lt;/P&gt;&lt;P&gt;Is there any way to get the result with the restriction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2012 16:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346235#M576064</guid>
      <dc:creator />
      <dc:date>2012-05-13T16:52:26Z</dc:date>
    </item>
    <item>
      <title>Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346236#M576065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want the results with restrictions then put the table as which i suggested you in the above post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also put the list box for the date and then put the slections in the list box and you will get the results as per your selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if You want to see the results for the perticular date in the hardcoded form then you can use the following script in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DateField = {"1/1/2012"}&amp;gt;} IMPORTE_MOVIMIENTO) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression will give you the data for the 1/1/2012. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nilesh Gangurde&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 05:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346236#M576065</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2012-05-14T05:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with calculated expressions in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346237#M576066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It’s because of that that I put amount as SUM ( {$}IMPORTE_MOVIMIENTO),0,RowNo() ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It must be a problem of communication, not being English my mother language. I send you a snapshot of the results, being Importe Amount and Importe Acumulado Accumulated Amount.&lt;/P&gt;&lt;P&gt;&lt;A href="cid:image001.png@01CD3217.19AE91C0"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 19:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-calculated-expressions-in-a-table/m-p/346237#M576066</guid>
      <dc:creator />
      <dc:date>2012-05-14T19:19:11Z</dc:date>
    </item>
  </channel>
</rss>

