<?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: Trouble with using variables in a script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trouble-with-using-variables-in-a-script/m-p/46161#M7689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I think this is Math problem at hand for the Yellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; = Cov * Hours * [Factor (Actual / Available)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; = Cov * Hours * (&lt;STRONG&gt;Actual / [Available (Cov * Hours * Days)]&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; = Cov * Hours * (&lt;STRONG&gt;Actual / Cov * Hours * Days&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Cov and Hours cancel each other out to leave with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; = &lt;STRONG&gt;Actual / Days&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, changes in Cov and Hour won't really change &lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; because it is only dependent on Actual and Days&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2018 19:11:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-01T19:11:30Z</dc:date>
    <item>
      <title>Trouble with using variables in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-using-variables-in-a-script/m-p/46160#M7688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I'm trying to building each chart cell's value by using a variable for each one in my script.&amp;nbsp; It is tedious work but I need to be able to use various cell values, which can be from different unrelated charts) to do math on them or to just be able to show a column total&amp;nbsp; in a text box since the row values are to be hidden and not part of a chart.&amp;nbsp; With that said, I am running into something odd that I cannot figure out, nor understand, and am hoping someone can help explain it and how to get around it to get it to work.&amp;nbsp; Variables are not my strong suit, so I'm sure I'm coding something incorrectly.&amp;nbsp; See the attached qvw for details, but basically when I want to reuse input variables in multiple expressions, in some of the expressions build from other expressions, when the input variables change the expression value are not changing nor reflecting the revised value.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 18:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-using-variables-in-a-script/m-p/46160#M7688</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2018-06-01T18:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with using variables in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-using-variables-in-a-script/m-p/46161#M7689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I think this is Math problem at hand for the Yellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; = Cov * Hours * [Factor (Actual / Available)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; = Cov * Hours * (&lt;STRONG&gt;Actual / [Available (Cov * Hours * Days)]&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; = Cov * Hours * (&lt;STRONG&gt;Actual / Cov * Hours * Days&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Cov and Hours cancel each other out to leave with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; = &lt;STRONG&gt;Actual / Days&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, changes in Cov and Hour won't really change &lt;STRONG&gt;Value (Cov * Hours * Factor)&lt;/STRONG&gt; because it is only dependent on Actual and Days&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 19:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-using-variables-in-a-script/m-p/46161#M7689</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-01T19:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with using variables in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-using-variables-in-a-script/m-p/46162#M7690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cyan has the same problem... let's start from where we left in the last expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rev (Value * Days)&lt;/STRONG&gt; = [Value (Cov * Hours * Factor)] * Days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace [Value (Cov * Hours * Factor)] with &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Actual / Days&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Rev (Value * Days)&lt;/STRONG&gt;&lt;/STRONG&gt; = (&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Actual / Days)&lt;/STRONG&gt; * Days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leaving us just with Actual which will not be impacted by anything because this will only change if you change vActual1 or vActual2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 19:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-using-variables-in-a-script/m-p/46162#M7690</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-01T19:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with using variables in a script</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-using-variables-in-a-script/m-p/46163#M7691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh boy, how silly do I feel, especially after going back to the excel document I am trying to replicate and testing it there too, only to find that yes, those values didn't change in that xls doc either.&amp;nbsp; I sent myself down a bunny hole for no reason, how embarrassing. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&amp;nbsp; Sorry to waste your time Sunny, but thank you so much for opening my eyes...hopefully you at least get some Qlik points for your effort. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 19:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-using-variables-in-a-script/m-p/46163#M7691</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2018-06-01T19:34:40Z</dc:date>
    </item>
  </channel>
</rss>

