<?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 How to insert function as part of dinamic expression created by script ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322004#M584057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure if I understood what you want to achieve:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you are not wanting to evaluate the expression in your script (i.e. calculating the sums), which I think is not possible (using GetCurrentField() in the script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you probably want to set variables to the expression and use the variables in charts expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give some more information about the context of the above lines (e.g. where and how you defined vCurrentField in your script)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But maybe I just don't get what you are after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Sep 2011 13:43:35 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-09-04T13:43:35Z</dc:date>
    <item>
      <title>How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322003#M584056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Hi guys,&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Need some help to solve the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I have a table (chart) with a Group as dimension.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I create expressions dinamically from script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;In one of my expressions, I have to use the function GetCurrentField(GroupName). &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;The expression works ok as a regular expression in the chart:&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.LineTotalNIS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;)&amp;nbsp; &lt;BR /&gt;-&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Distinct&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;InvoiceKey1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.KLine&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;OrdIKey1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 13pt; font-family: 'Courier New';"&gt;$(vCurrentField)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Orders.PurchasePriceNIS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.TQuant&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;Where the variable &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 13pt; font-family: 'Courier New';"&gt;vCurrentField=&lt;/EM&gt; &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: blue; font-size: 9pt;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;(Display2) &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;In the Script, I define the following expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.LineTotalNIS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;)&amp;nbsp; &lt;BR /&gt;-&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Distinct&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;InvoiceKey1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.KLine&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;OrdIKey1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 13pt; font-family: 'Courier New';"&gt;$(vCurrentField)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Orders.PurchasePriceNIS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.TQuant&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;If I replace the variable by one of the dimension in the group it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;I tried also:&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.LineTotalNIS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;)&amp;nbsp; &lt;BR /&gt;-&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Distinct&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;InvoiceKey1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.KLine&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;OrdIKey1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 13pt; font-family: 'Courier New';"&gt;$(=vCurrentField)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Orders.PurchasePriceNIS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.TQuant&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;And &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.LineTotalNIS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;)&amp;nbsp; &lt;BR /&gt;-&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Distinct&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 13pt;"&gt;Total&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;InvoiceKey1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.KLine&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;OrdIKey1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: blue; font-size: 9pt;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt;"&gt;(Display2) &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Orders.PurchasePriceNIS&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 13pt;"&gt;Invoices.TQuant&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;How can I work it around?&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 13pt;"&gt;Aldo.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 06:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322003#M584056</guid>
      <dc:creator />
      <dc:date>2011-09-04T06:02:30Z</dc:date>
    </item>
    <item>
      <title>How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322004#M584057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure if I understood what you want to achieve:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you are not wanting to evaluate the expression in your script (i.e. calculating the sums), which I think is not possible (using GetCurrentField() in the script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you probably want to set variables to the expression and use the variables in charts expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give some more information about the context of the above lines (e.g. where and how you defined vCurrentField in your script)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But maybe I just don't get what you are after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 13:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322004#M584057</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-04T13:43:35Z</dc:date>
    </item>
    <item>
      <title>How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322005#M584058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am defining the expression in script, but using it in as Chart expression throw variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am defining vCurrentField = GetCurrentField(GroupName) in GUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking the time to help,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 14:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322005#M584058</guid>
      <dc:creator />
      <dc:date>2011-09-04T14:24:36Z</dc:date>
    </item>
    <item>
      <title>How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322006#M584059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you need to define this variable in the script or would it be possible to define the variable in the GUI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2011 18:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322006#M584059</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-04T18:09:11Z</dc:date>
    </item>
    <item>
      <title>How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322007#M584060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I can define the variable both in script or GUI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 09:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322007#M584060</guid>
      <dc:creator />
      <dc:date>2011-09-05T09:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322008#M584061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please have a look at attached - simplified - example. I've put the variable in the GUI, reason is, because I think it's problematic to use the dollar sign expression function call GetCurrentField in the script like that. But if we could use variables set in the GUI, I think a solution to your problem is not far away.&lt;/P&gt;&lt;P&gt;Most of the time I struggle with correct variable evaluation calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the demo, if you drill down into the bar chart, the current field is used by the expression the table chart. I think that's what you want, using a variable, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps (or at least could serve for further discussions),&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 10:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322008#M584061</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-05T10:31:42Z</dc:date>
    </item>
    <item>
      <title>How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322009#M584062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a little more complicated than that.&lt;/P&gt;&lt;P&gt;i am trying to updload an example (qvw) but don't find how to (don't have any icon to upload documents).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the issue, I need to create the whole expression in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 10:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322009#M584062</guid>
      <dc:creator />
      <dc:date>2011-09-05T10:47:16Z</dc:date>
    </item>
    <item>
      <title>How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322010#M584063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use the advanced editor, there you find an upload option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 10:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322010#M584063</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-05T10:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322011#M584064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that (in multibox):&lt;/P&gt;&lt;P&gt;Sales1 is a simple expression and works nice.&lt;/P&gt;&lt;P&gt;Sales2 and Sales3 are some of the ways I am trying to insert the function GetCurrentField(Grp1) into the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 10:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322011#M584064</guid>
      <dc:creator />
      <dc:date>2011-09-05T10:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322012#M584065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is to guard the GetCurrentField() function in the script in a way that it will not be evaluated during load, but then afterwards in the GUI.&lt;/P&gt;&lt;P&gt;(That's why you probably used the variable etc.) &lt;/P&gt;&lt;P&gt;I fought with this some time, but no real answer yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I think could work is putting the expressions as variables in the GUI, I created two new variables as examples. Then evaluate the variables in the chart. I noticed that you want the flexibility to select the variables from a dropdown using a table. So I added a index to the table in the script and used this index to build the variable name to be called dynamically in the tables expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please check out the results for Sales1 and Sales2 in the last column of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not exactely what your original approach is like, because I can't hold&amp;nbsp; the expression variables in the script. But maybe it kind of solve your business problem nevertheless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I or someone else find a better solution to guard the functions call in the script, I am not able to spend more time on this approach today (but if you might have questions about the "workaround", don't hesitate to ask).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 11:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322012#M584065</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-05T11:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322013#M584066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 14:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322013#M584066</guid>
      <dc:creator />
      <dc:date>2011-09-05T14:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322014#M584068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;For me the solution is posible from data with .txt no inline, pls to see image adjust&lt;/P&gt;&lt;P&gt;Good luck, Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 22:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322014#M584068</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2011-09-07T22:23:10Z</dc:date>
    </item>
    <item>
      <title>How to insert function as part of dinamic expression created by script ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322015#M584070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luis, that's neat!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haven't thought about that the inline load was causing the problem, thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 23:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-insert-function-as-part-of-dinamic-expression-created-by/m-p/322015#M584070</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-07T23:38:51Z</dc:date>
    </item>
  </channel>
</rss>

