<?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: Problem Operation with Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201413#M627103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be remove this parenthesis -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$&lt;SPAN style="; color: #ff0000; font-size: 14pt;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;(V1)/($(V2)*480)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(V1)/($(V2)*480)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Oct 2016 23:04:49 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-04T23:04:49Z</dc:date>
    <item>
      <title>Problem Operation with Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201412#M627102</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;I have a problem with the calcul of two variables in a chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V1= Sum({&amp;lt;Linea={"1"}, Codes={"*"}-{"1","20","24","31"}&amp;gt;} Quantity)/60&lt;/P&gt;&lt;P&gt;V2=Count (distinct {&amp;lt;Linea={"1"},Codes={"*"}&amp;gt;}Clave)-&lt;SPAN style="font-size: 10pt;"&gt;Sum ({&amp;lt;Linea={"1"},Codes={"1","20","24","31"}&amp;gt;} Quantity/60)/480&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I calcul in one expresion in a chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$((V1)/($(V2)*480)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the memory is exceded in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the operation with 480.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I take out 480, the expression calcul something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am interested to make work the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, one solution...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 23:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201412#M627102</guid>
      <dc:creator>inigoelv</dc:creator>
      <dc:date>2016-10-04T23:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Operation with Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201413#M627103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be remove this parenthesis -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$&lt;SPAN style="; color: #ff0000; font-size: 14pt;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;(V1)/($(V2)*480)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$(V1)/($(V2)*480)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 23:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201413#M627103</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-04T23:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Operation with Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201414#M627104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, it does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 06:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201414#M627104</guid>
      <dc:creator>inigoelv</dc:creator>
      <dc:date>2016-10-05T06:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Operation with Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201415#M627105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean with it doesn't work that the result isn't like you expected it or that you yet get an error-messages? I think you should be more explicit by declaring the variables to ensure that your calculations happens in the right order. I mean something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V1:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;Sum({&amp;lt;Linea={"1"}, Codes={"*"}-{"1","20","24","31"}&amp;gt;} Quantity)/60&lt;STRONG style="color: #ff0000;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V2:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;Count (distinct {&amp;lt;Linea={"1"},Codes={"*"}&amp;gt;}Clave)-&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sum ({&amp;lt;Linea={"1"},Codes={"1","20","24","31"}&amp;gt;} Quantity/60)/480&lt;STRONG style="color: #ff0000;"&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use these variable-calculations within a table-chart without an expression-name so that you could see within the expression-label how the variables will be evaluated (in cases of memory exceeded reduce the dataset by removing dimensions and selecting to a quite granular level).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 06:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201415#M627105</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-05T06:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Operation with Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201416#M627106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the not clear message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;At the end the solution was other:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1/480 *$(V1)/($(V2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t know why if I insert the value at the beginning of the expresion it works.&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>Thu, 06 Oct 2016 15:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201416#M627106</guid>
      <dc:creator>inigoelv</dc:creator>
      <dc:date>2016-10-06T15:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Operation with Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201417#M627107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If V2 contains an expression that divides by 480, and in your final expression you multiply by 480, can't you just leave out the division/multiplication?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 15:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201417#M627107</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-10-06T15:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Operation with Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201418#M627108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 15:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-Operation-with-Variables/m-p/1201418#M627108</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-06T15:58:52Z</dc:date>
    </item>
  </channel>
</rss>

