<?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 Analysis Doubt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/146919#M25395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to calculate the sum of my sales quantity since january to the actual month(-1).&lt;/P&gt;&lt;P&gt;In above expression I have the result to the actual month-1:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Month = {$(#=Only(Month)-1)}&amp;gt;} Quantity_Item)&lt;/P&gt;&lt;P&gt;I´ve tried the next expression but i´ve got the sum of the actual month + actual month(-1):&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Month &amp;lt; {$(#=Only(Month)-1)}&amp;gt;} Quantity_Item)&lt;/P&gt;&lt;P&gt;How I´ve got the sum of all months till actual month (-1)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2009 21:45:26 GMT</pubDate>
    <dc:creator>rcandeo</dc:creator>
    <dc:date>2009-06-16T21:45:26Z</dc:date>
    <item>
      <title>Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/146919#M25395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to calculate the sum of my sales quantity since january to the actual month(-1).&lt;/P&gt;&lt;P&gt;In above expression I have the result to the actual month-1:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Month = {$(#=Only(Month)-1)}&amp;gt;} Quantity_Item)&lt;/P&gt;&lt;P&gt;I´ve tried the next expression but i´ve got the sum of the actual month + actual month(-1):&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Month &amp;lt; {$(#=Only(Month)-1)}&amp;gt;} Quantity_Item)&lt;/P&gt;&lt;P&gt;How I´ve got the sum of all months till actual month (-1)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 21:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/146919#M25395</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2009-06-16T21:45:26Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/146920#M25396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am almost there. Using the expression above, I've got the number I need for this month, but I need to use (month) instead of 6.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Month = {"&amp;gt;0&amp;lt;6"}&amp;gt;} Quantity_Item)&lt;/P&gt;&lt;P&gt;Anyone can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 01:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/146920#M25396</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2009-06-17T01:19:15Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Doubt</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/146921#M25397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=sum( {$&amp;lt;Month = {"&amp;gt;0&amp;lt;$(#=Month(Now()))"}&amp;gt;} Quantity_Item)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 01:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Doubt/m-p/146921#M25397</guid>
      <dc:creator />
      <dc:date>2009-06-17T01:57:34Z</dc:date>
    </item>
  </channel>
</rss>

