<?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 Variable not working as expected in Set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-not-working-as-expected-in-Set/m-p/247627#M498546</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 trying to use the following function:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;weekago={'&amp;gt;52&amp;lt;$(52+$(NumOfWeeks))'}, MONTH_DESC&amp;gt;}CURRENT_SALES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sum the sales of for weeks in previous year to date time period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The NumOfWeeks variable is defined as&lt;/P&gt;&lt;P&gt;max({$&amp;lt;YEARAGO={'&amp;lt;1'}, MONTH_DESC&amp;gt;} WEEKAGO)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2011 14:06:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-08T14:06:42Z</dc:date>
    <item>
      <title>Variable not working as expected in Set</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-not-working-as-expected-in-Set/m-p/247627#M498546</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 trying to use the following function:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;weekago={'&amp;gt;52&amp;lt;$(52+$(NumOfWeeks))'}, MONTH_DESC&amp;gt;}CURRENT_SALES)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sum the sales of for weeks in previous year to date time period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The NumOfWeeks variable is defined as&lt;/P&gt;&lt;P&gt;max({$&amp;lt;YEARAGO={'&amp;lt;1'}, MONTH_DESC&amp;gt;} WEEKAGO)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 14:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-not-working-as-expected-in-Set/m-p/247627#M498546</guid>
      <dc:creator />
      <dc:date>2011-09-08T14:06:42Z</dc:date>
    </item>
  </channel>
</rss>

