<?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: Save Set Analysis expression with variable inside a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426638#M429603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;LET vMonthly = '{&amp;lt;[Period Counter Rolling Month]={' &amp;amp; '$' &amp;amp; '(vMaxCounterRollingMonth)},[Period Month]=,[Period Quarter]=,[Period Year]=&amp;gt;}';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will prevent the $-sign expansion from being done in the load script. vMonthly will have the literal text of:&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: 8pt; font-family: 'courier new', courier;"&gt;{&amp;lt;[Period Counter Rolling Month]={$(vMaxCounterRollingMonth)},[Period Month]=,[Period Quarter]=,[Period Year]=&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Nov 2017 16:24:11 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2017-11-20T16:24:11Z</dc:date>
    <item>
      <title>Save Set Analysis expression with variable inside a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426637#M429602</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 need to able to save the script for my Set Analysis into a variable during my Load that can be used in an Expression in a chart.&amp;nbsp; This works great except that it resolves the variable that is inside the Set Analysis and stores that value -- I need it to keep the text of the string. The variable gets set using actions when new values are selected from a multi-box object, so I need it to reflect that new value on the fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried several combinations of SET and LET, single quotes and double quotes, and even tried concatenation of the $.&amp;nbsp; Does anyone have a solution to this dilemma?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a sample of my Load script.&amp;nbsp; $(vMaxCounterRollingMonth) is the variable that it is resolving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMonthly = {$&amp;lt;[Period Counter Rolling Month]={$(vMaxCounterRollingMonth)},[Period Month]=,[Period Quarter]=,[Period Month Year]=,[Period Year]=&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working in QlikView 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 15:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426637#M429602</guid>
      <dc:creator>wnorwood</dc:creator>
      <dc:date>2017-11-20T15:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Save Set Analysis expression with variable inside a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426638#M429603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;LET vMonthly = '{&amp;lt;[Period Counter Rolling Month]={' &amp;amp; '$' &amp;amp; '(vMaxCounterRollingMonth)},[Period Month]=,[Period Quarter]=,[Period Year]=&amp;gt;}';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will prevent the $-sign expansion from being done in the load script. vMonthly will have the literal text of:&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: 8pt; font-family: 'courier new', courier;"&gt;{&amp;lt;[Period Counter Rolling Month]={$(vMaxCounterRollingMonth)},[Period Month]=,[Period Quarter]=,[Period Year]=&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 16:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426638#M429603</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-11-20T16:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Save Set Analysis expression with variable inside a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426639#M429604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much! Works perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 16:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426639#M429604</guid>
      <dc:creator>wnorwood</dc:creator>
      <dc:date>2017-11-20T16:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Save Set Analysis expression with variable inside a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426640#M429605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please mark the answer as "Answered" and/or "Helpful" please to close the thread. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 17:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426640#M429605</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-11-20T17:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Save Set Analysis expression with variable inside a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426641#M429606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done and done! Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 17:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-Set-Analysis-expression-with-variable-inside-a-variable/m-p/1426641#M429606</guid>
      <dc:creator>wnorwood</dc:creator>
      <dc:date>2017-11-20T17:30:47Z</dc:date>
    </item>
  </channel>
</rss>

