<?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 Set Analysiss in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysiss/m-p/179997#M503536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not one of them worked... MonthNumber Gets returned as 01,02,03 etc.&lt;/P&gt;&lt;P&gt;and if you look at your calculation, its not a MTD. (Its needs to be Year = Year , Month &amp;gt;= 01 and Month&amp;lt;=Month(Today()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at the if statement above...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jun 2010 10:49:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-08T10:49:25Z</dc:date>
    <item>
      <title>Set Analysiss</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysiss/m-p/179995#M503534</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 change this to set analysis. I have been battling for probably an hour and i can't seem to get it Right.&lt;/P&gt;&lt;P&gt;This is for a CY MTD Calculation on sales.&lt;/P&gt;&lt;P&gt;sum(IF(Year = Year(Today()),IF( MonthNumber &amp;gt;= 01 and MonthNumber &amp;lt;= Num(Month(Today())),Sales)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 10:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysiss/m-p/179995#M503534</guid>
      <dc:creator />
      <dc:date>2010-06-08T10:18:54Z</dc:date>
    </item>
    <item>
      <title>Set Analysiss</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysiss/m-p/179996#M503535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;try that:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year = {$(=Year(Today()))}, MonthNumber = {$(=Month(Today()))}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;but if it not work, you should to create 2 variables: vYear = year(today()) and vMonth = Month(Today())&lt;/P&gt;&lt;P&gt;and change expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year = {$(vYear)}, MonthNumber = {$(vMonth)}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 10:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysiss/m-p/179996#M503535</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-08T10:39:14Z</dc:date>
    </item>
    <item>
      <title>Set Analysiss</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysiss/m-p/179997#M503536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not one of them worked... MonthNumber Gets returned as 01,02,03 etc.&lt;/P&gt;&lt;P&gt;and if you look at your calculation, its not a MTD. (Its needs to be Year = Year , Month &amp;gt;= 01 and Month&amp;lt;=Month(Today()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at the if statement above...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 10:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysiss/m-p/179997#M503536</guid>
      <dc:creator />
      <dc:date>2010-06-08T10:49:25Z</dc:date>
    </item>
    <item>
      <title>Set Analysiss</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysiss/m-p/179998#M503537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year = {$(vYear)}, MonthNumber = {"&amp;lt;=$(vMonth)"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 11:00:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysiss/m-p/179998#M503537</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-08T11:00:07Z</dc:date>
    </item>
  </channel>
</rss>

