<?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: Store formulas in variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322199#M708516</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;See the sample file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2011 16:28:19 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2011-10-07T16:28:19Z</dc:date>
    <item>
      <title>Store formulas in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322195#M708512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am very new in Qlik, and I would like to know how to give my users predefined formulas that they can use in their expressions. For example, I want to create a variable named sum_qty = "sum(QTY)" and I want my user to use sum_qty in his expression, but I am not able to get it to work.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 16:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322195#M708512</guid>
      <dc:creator />
      <dc:date>2011-10-07T16:14:25Z</dc:date>
    </item>
    <item>
      <title>Store formulas in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322196#M708513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define the variable in one of two ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the script:&lt;/P&gt;&lt;P&gt;SET sum_qty=sum(QTY);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In the Variable overview dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users then reference the variable in an expression as:&lt;/P&gt;&lt;P&gt;$(sum_qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 16:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322196#M708513</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-10-07T16:23:15Z</dc:date>
    </item>
    <item>
      <title>Store formulas in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322197#M708514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Carlo, you can store the expressions in an xl spreadsheet and read these expressions in your script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 16:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322197#M708514</guid>
      <dc:creator />
      <dc:date>2011-10-07T16:24:42Z</dc:date>
    </item>
    <item>
      <title>Store formulas in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322198#M708515</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;Yes you can&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make a variable named QTY_SUM = Sum(QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use this variable in any expression like&amp;nbsp; $(QTY_SUM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 16:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322198#M708515</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-07T16:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Store formulas in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322199#M708516</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;See the sample file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 16:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322199#M708516</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-07T16:28:19Z</dc:date>
    </item>
    <item>
      <title>Store formulas in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322200#M708517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all very much, I was not able to reference the variable in the expression&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 16:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322200#M708517</guid>
      <dc:creator />
      <dc:date>2011-10-07T16:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Store formulas in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322201#M708518</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;You can use any type of formulas like Max,Min,Sum,Count etc&lt;/P&gt;&lt;P&gt;See the attached sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 16:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322201#M708518</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-07T16:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Store formulas in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322202#M708519</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;You have to use the values of stored variables in expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached sample file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 16:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322202#M708519</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-07T16:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Store formulas in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322203#M708520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be a good idea to check the way you are defining the variables and the way you are using them as qv is case-sensitive. It maybe something as small as this that maybe hampering the ref. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 17:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-formulas-in-variable/m-p/322203#M708520</guid>
      <dc:creator />
      <dc:date>2011-10-07T17:06:39Z</dc:date>
    </item>
  </channel>
</rss>

