<?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: Adding a Variable in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450257#M700862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;SET Offset_in_Hub=0.1;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2012 10:00:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-20T10:00:26Z</dc:date>
    <item>
      <title>Adding a Variable in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450256#M700861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following script: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Offset_in_Hub=0.1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Verteilung_Verschoben:&lt;BR /&gt;Crosstable (Linie_niO_Verschoben, Wert_niO_Verschoben, 1)&lt;BR /&gt;LOAD Datum,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z1V1, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z1V2, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z2V1, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z2V2, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z3V1, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z3V2, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z4V1, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z4V2, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z1V1+Offset_in_Hub, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z1V2+Offset_in_Hub, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z2V1+Offset_in_Hub, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z2V2+Offset_in_Hub, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z3V1+Offset_in_Hub, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z3V2+Offset_in_Hub, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z4V1+Offset_in_Hub, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; L_Z4V2+Offset_in_Hub&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;FROM&lt;BR /&gt;[aktuell_SPC_Daten.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Iprozer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that Qlikview doesn't understand that "Offset_in_Hub" is a Variable that I just defined. It works when I write a constant (like 0.1) instead of my variable, but this Offset must be variable with a Inputbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 09:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450256#M700861</guid>
      <dc:creator />
      <dc:date>2012-11-20T09:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Variable in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450257#M700862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;SET Offset_in_Hub=0.1;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 10:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450257#M700862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-20T10:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Variable in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450258#M700863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And call it using $(Offset_in_Hub)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 10:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450258#M700863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-20T10:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Variable in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450259#M700864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you vey much Johannes! It works perfectly. But I just realized that even if I change the value of "Offset_in_Hub" with an Inputbox, my data doesnt change till I run the skript again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I plot the following chart with these datas:&lt;/P&gt;&lt;P&gt;Dimension: =Class(Wert_niO_Verschoben, 0.001)&lt;/P&gt;&lt;P&gt;Expression: =Count(Wert_niO_Verschoben)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 10:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450259#M700864</guid>
      <dc:creator />
      <dc:date>2012-11-20T10:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Variable in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450260#M700865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help but it doesnt work... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I plot are Gauss bells. For every L_ZXVY I plot a Gauss bell. I would like to plot these sames Gauss bells but with a offset that I can change with an Inputbox (and without running the script again...). &lt;/P&gt;&lt;P&gt;Do you have any idea??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time and effort!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 10:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450260#M700865</guid>
      <dc:creator />
      <dc:date>2012-11-20T10:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Variable in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450261#M700866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally I put the offset in the dimension and it worked as I wanted!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 07:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-Variable-in-Script/m-p/450261#M700866</guid>
      <dc:creator />
      <dc:date>2012-11-29T07:39:50Z</dc:date>
    </item>
  </channel>
</rss>

