<?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 Is it possible to reference a variable created in Qlikview? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-reference-a-variable-created-in-Qlikview/m-p/309721#M1198818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out. Forgot to remove the &amp;amp; symbol. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2011 14:15:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-02T14:15:15Z</dc:date>
    <item>
      <title>Is it possible to reference a variable created in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-reference-a-variable-created-in-Qlikview/m-p/309718#M1198815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have been creating a Qlikview dashboard and in the process I have created a variable that makes use of a data array that is uploaded. I now wish to reference that data for further calculations, instead of always referring back to the original data array and performing the same calculations on it again. For example:&lt;/P&gt;&lt;P&gt;Variable = x*[Data Array]+y^2&lt;/P&gt;&lt;P&gt;I want to use this variable in future calculations:&lt;/P&gt;&lt;P&gt;Newvariable= a*variable+b^3&lt;/P&gt;&lt;P&gt;Instead, I always have to do the following:&lt;/P&gt;&lt;P&gt;Newvariable = a*(x*[Data Array]+y^2)+b^3&lt;/P&gt;&lt;P&gt;Any hints on how to make the code more efficient in this manner?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 18:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-reference-a-variable-created-in-Qlikview/m-p/309718#M1198815</guid>
      <dc:creator />
      <dc:date>2011-03-01T18:40:01Z</dc:date>
    </item>
    <item>
      <title>Is it possible to reference a variable created in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-reference-a-variable-created-in-Qlikview/m-p/309719#M1198816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using dollar-sign expansion like the following example:&lt;/P&gt;&lt;P&gt;Newvariable= a*$(variable)+b^3&lt;/P&gt;&lt;P&gt;The variable will be copied to the Newvariable before the Newvariable is calculated.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 18:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-reference-a-variable-created-in-Qlikview/m-p/309719#M1198816</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-03-01T18:52:45Z</dc:date>
    </item>
    <item>
      <title>Is it possible to reference a variable created in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-reference-a-variable-created-in-Qlikview/m-p/309720#M1198817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your suggestion, but I just get a blank Object. Here is my formula:&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Loss relative to mean='&amp;amp;&lt;/P&gt;&lt;P&gt;round(avg([Daily Rtn])-&lt;B&gt;&lt;I&gt;$(VaR)&lt;/I&gt;&lt;/B&gt;,0.01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;VaR = &amp;amp;&lt;/P&gt;&lt;P&gt;round(min([Daily Rtn],round(count([Daily Rtn])*(1-ConfidenceLevel))),.01)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 13:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-reference-a-variable-created-in-Qlikview/m-p/309720#M1198817</guid>
      <dc:creator />
      <dc:date>2011-03-02T13:16:20Z</dc:date>
    </item>
    <item>
      <title>Is it possible to reference a variable created in Qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-reference-a-variable-created-in-Qlikview/m-p/309721#M1198818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out. Forgot to remove the &amp;amp; symbol. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 14:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-reference-a-variable-created-in-Qlikview/m-p/309721#M1198818</guid>
      <dc:creator />
      <dc:date>2011-03-02T14:15:15Z</dc:date>
    </item>
  </channel>
</rss>

