<?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: Error when using variables in set analysis ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-when-using-variables-in-set-analysis/m-p/459386#M171472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Becca and Juan ..both the solutions work ..:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2013 22:15:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-25T22:15:59Z</dc:date>
    <item>
      <title>Error when using variables in set analysis ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-when-using-variables-in-set-analysis/m-p/459383#M171469</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;I've decalred a variable in the frontend which picks up the current year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_CurrentYear&amp;nbsp; which contains the formula max(year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;though in the text box when tested it gives me the correct value ..ie 2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when used in an expression &lt;STRONG&gt;..doesn't give any value (gives 0 as value which is wrong)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;REPORT_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;V_CurrentYear&amp;gt;}CD_count)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080;"&gt;Could some one correct my mistake &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;EM style="color: #808080;"&gt;﻿&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;﻿~&lt;/SPAN&gt;&lt;EM style="color: #808080;"&gt;B&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-when-using-variables-in-set-analysis/m-p/459383#M171469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-25T21:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using variables in set analysis ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-when-using-variables-in-set-analysis/m-p/459384#M171470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;REPORT_DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={"$(&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;V_CurrentYear)"}&amp;gt;}CD_count)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-when-using-variables-in-set-analysis/m-p/459384#M171470</guid>
      <dc:creator />
      <dc:date>2013-01-25T21:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using variables in set analysis ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-when-using-variables-in-set-analysis/m-p/459385#M171471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt; sum({&amp;lt;REPORT_DATE={$(V_CurrentYear)}&amp;gt;}CD_count)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 22:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-when-using-variables-in-set-analysis/m-p/459385#M171471</guid>
      <dc:creator />
      <dc:date>2013-01-25T22:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using variables in set analysis ?</title>
      <link>https://community.qlik.com/t5/QlikView/Error-when-using-variables-in-set-analysis/m-p/459386#M171472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Becca and Juan ..both the solutions work ..:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 22:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-when-using-variables-in-set-analysis/m-p/459386#M171472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-25T22:15:59Z</dc:date>
    </item>
  </channel>
</rss>

