<?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 Avoid Dollar sign expansion when reloading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216872#M70141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Not sure if the above works, because I find that you have to use LET rather than SET to avoid the dollar expansion during reload, the LET command means "put this exact text into a variable" whereas SET will often evaluate at least part of the command (including dollar expansion).&lt;/P&gt;&lt;P&gt;Also, I have found that on the dollar expansion side of things, I need to use a chr() command to ensure it works, so I would make the statement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LET x = 'Sum ( { $ &amp;lt; Field = {"' &amp;amp; chr(36) &amp;amp; '(var)} &amp;gt; } Amount )';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Chr(36) is obviously the dollar sign!&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jul 2010 08:03:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-08T08:03:10Z</dc:date>
    <item>
      <title>Avoid Dollar sign expansion when reloading</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216870#M70139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, does anyone know how to avoid dollar sign expansion during script execution???, for example, I want to declare a variable in the script like this:&lt;/P&gt;&lt;P&gt;set x = "sum({$&amp;lt;Field = {$(var)}&amp;gt;} Amount)";&lt;/P&gt;&lt;P&gt;I want the value to be set literally in the variable, without expanding $(var).&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 16:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216870#M70139</guid>
      <dc:creator />
      <dc:date>2010-07-07T16:06:17Z</dc:date>
    </item>
    <item>
      <title>Avoid Dollar sign expansion when reloading</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216871#M70140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried splitting the expression into two and concatanating into the variable, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;set x = "sum({$"&amp;amp;"&amp;lt;Field = {$(var)}&amp;gt;} Amount)";&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jul 2010 22:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216871#M70140</guid>
      <dc:creator />
      <dc:date>2010-07-07T22:00:51Z</dc:date>
    </item>
    <item>
      <title>Avoid Dollar sign expansion when reloading</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216872#M70141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Not sure if the above works, because I find that you have to use LET rather than SET to avoid the dollar expansion during reload, the LET command means "put this exact text into a variable" whereas SET will often evaluate at least part of the command (including dollar expansion).&lt;/P&gt;&lt;P&gt;Also, I have found that on the dollar expansion side of things, I need to use a chr() command to ensure it works, so I would make the statement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LET x = 'Sum ( { $ &amp;lt; Field = {"' &amp;amp; chr(36) &amp;amp; '(var)} &amp;gt; } Amount )';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Chr(36) is obviously the dollar sign!&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 08:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216872#M70141</guid>
      <dc:creator />
      <dc:date>2010-07-08T08:03:10Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Avoid Dollar sign expansion when reloading</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216873#M70142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;pardon Nigel, but you forgot the quotes at the end:&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;LET x = 'Sum ( { $ &amp;lt; Field = {"' &amp;amp; chr(36) &amp;amp; '(var) "} &amp;gt; } Amount )';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 08:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216873#M70142</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2010-07-08T08:10:06Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Avoid Dollar sign expansion when reloading</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216874#M70143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martina&lt;/P&gt;&lt;P&gt;Well spotted!&lt;/P&gt;&lt;P&gt;Apologies for that one.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 08:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216874#M70143</guid>
      <dc:creator />
      <dc:date>2010-07-08T08:17:38Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Avoid Dollar sign expansion when reloading</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216875#M70144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Nigel and Martina. I thought it was imposible.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ivan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jul 2010 14:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Dollar-sign-expansion-when-reloading/m-p/216875#M70144</guid>
      <dc:creator />
      <dc:date>2010-07-08T14:29:33Z</dc:date>
    </item>
  </channel>
</rss>

