<?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 Issue with set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/491793#M183824</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;Can someone please tell me what is wrong with the below statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;CrimeYear = {$(vCrimeYear) - 1}, CrimeMonth = {"&amp;lt;=$(vCrimeMonth)"}&amp;gt;} Casenum )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I have used the below expression for Current YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;CrimeYear = {$(vCrimeYear)}, CrimeMonth = {"&amp;lt;=$(vCrimeMonth)"}&amp;gt;} Casenum )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to have a Previous YTD so that I wondered if I could simply substract the year by one..$(vCrimeYear) - 1 but its not working. I am sure I am making a syntax mistake so I will appreciate if someone could correct my expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Dec 2013 19:47:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-16T19:47:22Z</dc:date>
    <item>
      <title>Issue with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/491793#M183824</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;Can someone please tell me what is wrong with the below statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;CrimeYear = {$(vCrimeYear) - 1}, CrimeMonth = {"&amp;lt;=$(vCrimeMonth)"}&amp;gt;} Casenum )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I have used the below expression for Current YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;CrimeYear = {$(vCrimeYear)}, CrimeMonth = {"&amp;lt;=$(vCrimeMonth)"}&amp;gt;} Casenum )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to have a Previous YTD so that I wondered if I could simply substract the year by one..$(vCrimeYear) - 1 but its not working. I am sure I am making a syntax mistake so I will appreciate if someone could correct my expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 19:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/491793#M183824</guid>
      <dc:creator />
      <dc:date>2013-12-16T19:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/491794#M183825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({$&amp;lt;CrimeYear = {$(=$(vCrimeYear) - 1)}, CrimeMonth = {"&amp;lt;=$(vCrimeMonth)"}&amp;gt;} Casenum )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 19:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/491794#M183825</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-12-16T19:59:15Z</dc:date>
    </item>
  </channel>
</rss>

