<?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: Is it possible to perform function of variable in scripts to lessen the the use of creating variable. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517797#M193332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii shushil,&lt;/P&gt;&lt;P&gt;I want to decrease the use of variables in my dashboards like ,&lt;/P&gt;&lt;P&gt;i am using variable for calculating expression, i want to perform this function during loading of the table in my dashboard&lt;/P&gt;&lt;P&gt;Like i have some fields in a table ,&lt;/P&gt;&lt;P&gt;table 1&lt;/P&gt;&lt;P&gt;Field1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field3&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is calculated by variable as &lt;/P&gt;&lt;P&gt;sum({&amp;lt;field1={'A'},field2={$var1}&amp;gt;}field3)&lt;/P&gt;&lt;P&gt;where var1=Field2+100/20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to perform this function at load time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Oct 2013 06:46:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-24T06:46:53Z</dc:date>
    <item>
      <title>Is it possible to perform function of variable in scripts to lessen the the use of creating variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517794#M193329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone.&lt;/P&gt;&lt;P&gt;Need your help,&lt;/P&gt;&lt;P&gt;Is it possible to perform function of variable in scripts to lessen the the use of creating variable.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 06:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517794#M193329</guid>
      <dc:creator />
      <dc:date>2013-10-24T06:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to perform function of variable in scripts to lessen the the use of creating variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517795#M193330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nupur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your exact requirement.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 06:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517795#M193330</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-10-24T06:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to perform function of variable in scripts to lessen the the use of creating variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517796#M193331</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;iI'm not sure what you're trying to do. Do you mean you want to create the variable in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JAson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 06:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517796#M193331</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2013-10-24T06:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to perform function of variable in scripts to lessen the the use of creating variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517797#M193332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii shushil,&lt;/P&gt;&lt;P&gt;I want to decrease the use of variables in my dashboards like ,&lt;/P&gt;&lt;P&gt;i am using variable for calculating expression, i want to perform this function during loading of the table in my dashboard&lt;/P&gt;&lt;P&gt;Like i have some fields in a table ,&lt;/P&gt;&lt;P&gt;table 1&lt;/P&gt;&lt;P&gt;Field1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field3&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;D&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is calculated by variable as &lt;/P&gt;&lt;P&gt;sum({&amp;lt;field1={'A'},field2={$var1}&amp;gt;}field3)&lt;/P&gt;&lt;P&gt;where var1=Field2+100/20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to perform this function at load time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 06:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517797#M193332</guid>
      <dc:creator />
      <dc:date>2013-10-24T06:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to perform function of variable in scripts to lessen the the use of creating variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517798#M193333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nupur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did not get the logic of your condition var1=Field2+100/20 since this condition will always be false in the script..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyways chek the code below .. hope you will get some idea to solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;source:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Field1,Field2,Field3&lt;/P&gt;&lt;P&gt;A,20,10&lt;/P&gt;&lt;P&gt;B,30,20&lt;/P&gt;&lt;P&gt;C,40,30&lt;/P&gt;&lt;P&gt;D,50,40&lt;/P&gt;&lt;P&gt;A,60,50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;LOAD sum(Field3) as exp,&lt;/P&gt;&lt;P&gt;Field1,&lt;/P&gt;&lt;P&gt;Field2&lt;/P&gt;&lt;P&gt;Resident source&lt;/P&gt;&lt;P&gt;Where Field1='A'&lt;/P&gt;&lt;P&gt;and Field2=(Field2+100)/20;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table source;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 07:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517798#M193333</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-10-24T07:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to perform function of variable in scripts to lessen the the use of creating variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517799#M193334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Jason M,&lt;/P&gt;&lt;P&gt;Thanks for reply,&lt;/P&gt;&lt;P&gt;I want to perform calculation during loading of the table without using variable,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 07:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517799#M193334</guid>
      <dc:creator />
      <dc:date>2013-10-24T07:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to perform function of variable in scripts to lessen the the use of creating variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517800#M193335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you know the value of $var1 when executing the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 08:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517800#M193335</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2013-10-24T08:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to perform function of variable in scripts to lessen the the use of creating variable.</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517801#M193336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii shushil,&lt;/P&gt;&lt;P&gt;Yes this is giving me some problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 11:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-perform-function-of-variable-in-scripts-to/m-p/517801#M193336</guid>
      <dc:creator />
      <dc:date>2013-10-24T11:23:35Z</dc:date>
    </item>
  </channel>
</rss>

