<?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: How to include variables inside variables in script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-include-variables-inside-variables-in-script/m-p/948598#M973733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe parameterized variables could be a solution also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2015 21:32:33 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2015-09-14T21:32:33Z</dc:date>
    <item>
      <title>How to include variables inside variables in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-variables-inside-variables-in-script/m-p/948596#M973731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to pass all my expression to the script, so that it will be easier to maintain and Debug.&lt;/P&gt;&lt;P&gt;However i am struggling with including an expression within another expression in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outside the script when i create the variables through the "Variable Overview" window, they work, however i cannot make them work when they are created in the script.&lt;/P&gt;&lt;P&gt;I have tried many combinations but none result in what i expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script i wrote the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vPeriodSelectionSales&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=Max({1&amp;lt;FLAG_Sales = {1}, Month = P(Month), Year = P(Year)&amp;gt;} Period)';&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LET vYearSelectionSales&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=Max({1&amp;lt;FLAG_Sales = {1}, Month = P(Month), Year = P(Year)&amp;gt;} Year)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LET &lt;STRONG&gt;vPeriodYearBeginning&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '=Min({1&amp;lt;FLAG_Sales = {1}, Month = P(Month), Year = {$(&lt;SPAN style="font-size: 13.3333px;"&gt;vYearSelectionSales&lt;/SPAN&gt;)} &amp;gt;} Period)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I tried using "", using SET instead of LET, and many other combinations, but I cannot make &lt;STRONG style="font-size: 13.3333px;"&gt;vPeriodYearBeginning&lt;/STRONG&gt; work because it is calling another variable. How can i make this variable work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can anyone help me please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Susana&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-variables-inside-variables-in-script/m-p/948596#M973731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to include variables inside variables in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-variables-inside-variables-in-script/m-p/948597#M973732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this thread is of any help: &lt;A href="https://community.qlik.com/thread/178462"&gt;variables within variables in load script&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 18:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-variables-inside-variables-in-script/m-p/948597#M973732</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-14T18:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to include variables inside variables in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-variables-inside-variables-in-script/m-p/948598#M973733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe parameterized variables could be a solution also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 21:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-variables-inside-variables-in-script/m-p/948598#M973733</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-09-14T21:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to include variables inside variables in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-include-variables-inside-variables-in-script/m-p/948599#M973734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;susana, how are you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you put your. qvw as an example, to be easier to help you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;SPAN style="font-size: 13.3333px;"&gt;/////////&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Susana como estas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;podrias subir el .qvw para ver donde esta el tema que no cargan las variables y asi sera mas facil ayudarte&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;saludos,&lt;/P&gt;&lt;P&gt;Fernando K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 01:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-include-variables-inside-variables-in-script/m-p/948599#M973734</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2015-09-15T01:16:18Z</dc:date>
    </item>
  </channel>
</rss>

