<?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 move expression with modifiers to variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-move-expression-with-modifiers-to-variable/m-p/555580#M1132714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET vSalesUK = sum({&amp;lt;[Region]={'UK'}&amp;gt;} Sales);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Oct 2013 15:49:15 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-10-31T15:49:15Z</dc:date>
    <item>
      <title>How to move expression with modifiers to variable</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-expression-with-modifiers-to-variable/m-p/555579#M1132713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am desesperately trying to move an expression with modifiers to a variable which I will load in my script with a let statement. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware that the expression: sum(Sales), can be moved to: let &lt;EM&gt;vSales&lt;/EM&gt; = sum(Sales), so later on you can use it in the chart expression with the dollar expansion: $(&lt;EM&gt;vSales&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Sales) --&amp;gt; &lt;EM&gt;vSales&lt;/EM&gt; (with let statement) --&amp;gt; $(&lt;EM&gt;vSales&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, how can I do the same with the folliwing expression with a modifier: sum({&amp;lt;[Region]='UK'&amp;gt;} Sales)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comment is appreciated.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;JM Balaguer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 15:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-expression-with-modifiers-to-variable/m-p/555579#M1132713</guid>
      <dc:creator />
      <dc:date>2013-10-31T15:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to move expression with modifiers to variable</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-move-expression-with-modifiers-to-variable/m-p/555580#M1132714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET vSalesUK = sum({&amp;lt;[Region]={'UK'}&amp;gt;} Sales);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 15:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-move-expression-with-modifiers-to-variable/m-p/555580#M1132714</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-31T15:49:15Z</dc:date>
    </item>
  </channel>
</rss>

