<?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: Use a JS or VBS function in Table Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509234#M190283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thank you for your time. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2013 13:44:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-11T13:44:38Z</dc:date>
    <item>
      <title>Use a JS or VBS function in Table Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509230#M190279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i'm trying to call either a JScript or VBScript function in Pivot Table. Let's say i have a function called addFive(arg), and i want to use it to modify a column in the table by calling it, and give it an argument another column in the same table, and write the returned result in the column where i've called the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IE: in a table there is Units column, and i add a column named total in the table expressions, and i input the following as its definition: =addFive(Units), - (like sum(Units) but i want to implement my own function to communicate with external software).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509230#M190279</guid>
      <dc:creator />
      <dc:date>2013-09-11T11:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Use a JS or VBS function in Table Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509231#M190280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible to call vb or js functions in expressions. You can put expressions in variables and pass parameters to variables. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable vAddFive: $1+5&lt;/P&gt;&lt;P&gt;Use the variable in an expression passing Units as parameter: =$(vAddFive(Units))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can build functions from expressions and variables. The first parameter is $1, the second $2 and so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 11:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509231#M190280</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-09-11T11:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use a JS or VBS function in Table Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509232#M190281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the information. I have one more question. is it possible to assign a JSCript or VBScript function to that Variable, so i can use the function's result as variable's value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 13:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509232#M190281</guid>
      <dc:creator />
      <dc:date>2013-09-11T13:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use a JS or VBS function in Table Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509233#M190282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. You can only use vb or js functions in the load script and in macro's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 13:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509233#M190282</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-09-11T13:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use a JS or VBS function in Table Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509234#M190283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thank you for your time. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 13:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-JS-or-VBS-function-in-Table-Expression/m-p/509234#M190283</guid>
      <dc:creator />
      <dc:date>2013-09-11T13:44:38Z</dc:date>
    </item>
  </channel>
</rss>

