<?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: Using a variable storing the whole set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-a-variable-storing-the-whole-set/m-p/653766#M474096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 'mistake' is in the syntax checker. It cannot do dollar expansions since it cannot evaluate the expression in the context of the chart. That means the syntax cannot be verified. But it does not necessarily mean that the complete dollar-expanded expression will not work in the chart. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 09:17:19 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-10-03T09:17:19Z</dc:date>
    <item>
      <title>Using a variable storing the whole set</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-storing-the-whole-set/m-p/653765#M474095</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;&lt;A _jive_internal="true" href="https://community.qlik.com/people/FABRICE44"&gt;Fabrice AUNEZ&lt;/A&gt; recommends to use the whole set syntax stored in variable like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({$ &amp;lt;$(vSet) &amp;gt;} [Volume Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;But syntax checker marks this sentence as wrong and field in diagram is not calculated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Value of variable vSet assigned in Variable Overview:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SaleData={01.01.2014}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Where is the mistake?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 08:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-storing-the-whole-set/m-p/653765#M474095</guid>
      <dc:creator />
      <dc:date>2014-10-03T08:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable storing the whole set</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-storing-the-whole-set/m-p/653766#M474096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 'mistake' is in the syntax checker. It cannot do dollar expansions since it cannot evaluate the expression in the context of the chart. That means the syntax cannot be verified. But it does not necessarily mean that the complete dollar-expanded expression will not work in the chart. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 09:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-storing-the-whole-set/m-p/653766#M474096</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-03T09:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable storing the whole set</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-storing-the-whole-set/m-p/653767#M474097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Pavel, syntax checker will mark the sentence as wrong, this is normal when using variables in set analysis but doesn't means it wouldn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if SaleData format is dd.mm.yyyy and use simple quote in the data:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SaleData={'01.01.2014'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;You can try first to debug your expression, when it works would be easier to use the variables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({$&amp;lt;&lt;SPAN style="font-family: courier new,courier;"&gt;SaleData={'01.01.2014'}&lt;/SPAN&gt;&amp;gt;} [Volume Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 09:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-storing-the-whole-set/m-p/653767#M474097</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-10-03T09:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable storing the whole set</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-storing-the-whole-set/m-p/653768#M474098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;simple quote was the key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPOTANT REMARK: Do not use comments in field Definition of &lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Variable Overview in this case!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 09:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-storing-the-whole-set/m-p/653768#M474098</guid>
      <dc:creator />
      <dc:date>2014-10-03T09:38:25Z</dc:date>
    </item>
  </channel>
</rss>

