<?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 Script variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-variable/m-p/130551#M19667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable X1 like&lt;/P&gt;&lt;P&gt;=sum({"MyBookmark")Amount)&lt;/P&gt;&lt;P&gt;created &lt;SPAN style="text-decoration: underline;"&gt;manually&lt;/SPAN&gt; into my app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to retrieve into my script X1 value to store in QVD.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Do you have any idea because I have errors or definition (no evaluated variable) with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; LOAD $(X1) as Amount1 autogenerate 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 13.3333px;"&gt; LOAD '$(X1)' as Amount1 autogenerate 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Sep 2018 06:44:38 GMT</pubDate>
    <dc:creator>mostal75</dc:creator>
    <dc:date>2018-09-15T06:44:38Z</dc:date>
    <item>
      <title>Script variable</title>
      <link>https://community.qlik.com/t5/QlikView/Script-variable/m-p/130551#M19667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable X1 like&lt;/P&gt;&lt;P&gt;=sum({"MyBookmark")Amount)&lt;/P&gt;&lt;P&gt;created &lt;SPAN style="text-decoration: underline;"&gt;manually&lt;/SPAN&gt; into my app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to retrieve into my script X1 value to store in QVD.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Do you have any idea because I have errors or definition (no evaluated variable) with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; LOAD $(X1) as Amount1 autogenerate 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 13.3333px;"&gt; LOAD '$(X1)' as Amount1 autogenerate 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2018 06:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-variable/m-p/130551#M19667</guid>
      <dc:creator>mostal75</dc:creator>
      <dc:date>2018-09-15T06:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script variable</title>
      <link>https://community.qlik.com/t5/QlikView/Script-variable/m-p/130552#M19668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use set analysis in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need the 'traditional' way to get your sum, i.e. using a LOAD from a data source with the field Amount and WHERE clause to filter the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can create a variable to retrieve the field selections in state MyBookmark after a reload and parse this variable in the next reload to get your aggregated filtered Amount and store to a QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it's easier to do all this in the UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Sep 2018 17:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-variable/m-p/130552#M19668</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-09-15T17:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Script variable</title>
      <link>https://community.qlik.com/t5/QlikView/Script-variable/m-p/130553#M19669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried with a variable defined like that&amp;nbsp; vINF&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({"MyBookmark")Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In charts, $(vINF) works fine but not in script (formula retrieve, not variable value), with &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD '$(vINF)' as Amount1 autogenerate 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD $(vINF) as Amount1 autogenerate 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Do you have any idea please ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Sep 2018 16:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-variable/m-p/130553#M19669</guid>
      <dc:creator>mostal75</dc:creator>
      <dc:date>2018-09-16T16:03:21Z</dc:date>
    </item>
  </channel>
</rss>

