<?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: Variable issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909747#M984931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karaka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this article for some ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2013/09/06/importing-and-exporting-variables/" style="font-size: 10pt; line-height: 1.5em;" title="http://www.qlikfix.com/2013/09/06/importing-and-exporting-variables/"&gt;http://www.qlikfix.com/2013/09/06/importing-and-exporting-variables/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 15:40:17 GMT</pubDate>
    <dc:creator>jjordaan</dc:creator>
    <dc:date>2015-08-04T15:40:17Z</dc:date>
    <item>
      <title>Variable issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909745#M984929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to use same variables from one application to another application??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 11:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909745#M984929</guid>
      <dc:creator />
      <dc:date>2015-08-04T11:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Variable issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909746#M984930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make use of include files&lt;/P&gt;&lt;P&gt;for instance you can define variables for Colors etc. and use it in every app&lt;/P&gt;&lt;P&gt;no Need to define them over and over&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 15:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909746#M984930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-04T15:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Variable issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909747#M984931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karaka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this article for some ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikfix.com/2013/09/06/importing-and-exporting-variables/" style="font-size: 10pt; line-height: 1.5em;" title="http://www.qlikfix.com/2013/09/06/importing-and-exporting-variables/"&gt;http://www.qlikfix.com/2013/09/06/importing-and-exporting-variables/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 15:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909747#M984931</guid>
      <dc:creator>jjordaan</dc:creator>
      <dc:date>2015-08-04T15:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variable issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909748#M984932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can define the variables in a separate file and then Include (or even better Must_Include) the file in the several&amp;nbsp; applications where you need to use the same variables.&lt;/P&gt;&lt;P&gt;$(Include =filename )&lt;/P&gt;&lt;P&gt;$(Must_Include =filename )&lt;/P&gt;&lt;P&gt;**The difference between include and must_include is that "Include" will fail silently if the file is not found during script reload, while "Must_Include" will throw an error if the file is not found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 15:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909748#M984932</guid>
      <dc:creator>vcanale</dc:creator>
      <dc:date>2015-08-04T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Variable issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909749#M984933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Using QDF (QlikView Deployment Framework).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/group/1224"&gt;QlikView Deployment Framework&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 15:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909749#M984933</guid>
      <dc:creator>maximiliano_vel</dc:creator>
      <dc:date>2015-08-04T15:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variable issue</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909750#M984934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi store variables in an excel sheet with three columns&lt;/P&gt;&lt;P&gt;Name, Expression and Comment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name should contain name of variable example vCY_ACT_IS and Expression should be the variable expression but without = sign. example rgb(9,23,56) or sum(Sales).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now load excel file with script below…..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp_Variables:&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #941100;"&gt;Name&lt;/SPAN&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #941100;"&gt;Expression&lt;/SPAN&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #941100;"&gt;Comment&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt; [..\0.Includes\Variables.xlsx]&lt;BR /&gt; (&lt;SPAN style="color: #0433ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0433ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0433ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;is&lt;/SPAN&gt; Variables);&lt;BR /&gt; &lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt; &lt;SPAN style="color: #008f00;"&gt;// Creating variables&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = 0 &lt;SPAN style="color: #0433ff;"&gt;to&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;NoOfRows&lt;/SPAN&gt;('Temp_Variables') - 1&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;vName&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;peek&lt;/SPAN&gt;('Name', &lt;SPAN style="color: #941100;"&gt;i&lt;/SPAN&gt;, 'Temp_Variables'); &lt;SPAN style="color: #008f00;"&gt;// Name of the variable&lt;BR /&gt; &lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;vComment&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;peek&lt;/SPAN&gt;('Comment', &lt;SPAN style="color: #941100;"&gt;i&lt;/SPAN&gt;, 'Temp_Variables'); &lt;SPAN style="color: #008f00;"&gt;// Comment/description of the variable&lt;BR /&gt; &lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vName)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;peek&lt;/SPAN&gt;('Expression', &lt;SPAN style="color: #941100;"&gt;i&lt;/SPAN&gt;, 'Temp_Variables') &amp;amp; &lt;SPAN style="color: #0433ff;"&gt;chr&lt;/SPAN&gt;(10) &amp;amp; '/* $(vComment) */'; &lt;SPAN style="color: #008f00;"&gt;// Expression&lt;BR /&gt; &lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; //////&lt;SPAN style="color: #008f00;"&gt;// Removing temp variables&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;null&lt;/SPAN&gt;();&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;vName&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;null&lt;/SPAN&gt;();&lt;BR /&gt; &lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;let&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #929292;"&gt;&lt;STRONG&gt;&lt;EM&gt;vComment&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;null&lt;/SPAN&gt;();&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #008f00;"&gt;//////// Removing temp tables&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0433ff;"&gt;&lt;STRONG&gt;drop&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;table&lt;/SPAN&gt; Temp_Variables; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cant remember where I had gotten this script but Ive found it very useful! hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 17:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-issue/m-p/909750#M984934</guid>
      <dc:creator />
      <dc:date>2015-08-04T17:10:37Z</dc:date>
    </item>
  </channel>
</rss>

