<?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: Set analysis for the sum of the current month customers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785539#M1031166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sophia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached QVW. Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2015 07:29:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-29T07:29:58Z</dc:date>
    <item>
      <title>Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785534#M1031161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Month&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Product&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Customers&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1/1/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;412&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1/1/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12/1/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;398&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12/1/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11/1/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;375&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11/1/2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make a aggregation that calculates the number of all customers in the most recent month of selected data. Here's what I have so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Month = {$(=Max(Month))}&amp;gt;} Customers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example, I would expect it to return 429 (412+17). This instead returns a null value, and I can't figure out why.&amp;nbsp; Sorry if I missed something obvious.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 01:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785534#M1031161</guid>
      <dc:creator />
      <dc:date>2015-01-29T01:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785535#M1031162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems to be a bigger problem.&amp;nbsp; This also returns a null value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Max(Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My load script for Month says this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MakeDate(if(fiscal_quarter&amp;lt;3,fiscal_year-1,fiscal_year),month_number, 01) as Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(fiscal_quarter, fiscal_year, and month_number are all integers)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 01:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785535#M1031162</guid>
      <dc:creator />
      <dc:date>2015-01-29T01:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785536#M1031163</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;Try,&lt;/P&gt;&lt;P&gt;max(num(Month))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible share your sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 04:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785536#M1031163</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-01-29T04:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785537#M1031164</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;The key issue here that your field Month &lt;STRONG&gt;is not actually Month&lt;/STRONG&gt;, it's a date.&lt;/P&gt;&lt;P&gt;And possibly it's a string, that's why your app can't find Max().&lt;/P&gt;&lt;P&gt;1. In text object try to convert explicitly your field Month into date format =Max(date(Month,'MM/DD/YYYY')) and check what it returns.&lt;/P&gt;&lt;P&gt;2. In set analysis &lt;STRONG&gt;Month&lt;/STRONG&gt; and &lt;STRONG&gt;$(=max(Month))&lt;/STRONG&gt; should be exaclty the same. Check both in text objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrei Kaliahin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 05:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785537#M1031164</guid>
      <dc:creator>crusader_</dc:creator>
      <dc:date>2015-01-29T05:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785538#M1031165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi please find the attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 06:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785538#M1031165</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2015-01-29T06:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785539#M1031166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sophia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached QVW. Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 07:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785539#M1031166</guid>
      <dc:creator />
      <dc:date>2015-01-29T07:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785540#M1031167</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;Month = {$(=Max(Month(Month)))}&amp;gt;} Customers)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;as expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Your field Month is a Date, not really Month.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 13:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785540#M1031167</guid>
      <dc:creator />
      <dc:date>2015-01-29T13:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785541#M1031168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for the help!&amp;nbsp; I'm closer now, but it's still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Andrei Kaliabhin and Alexander Ekimov&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're both right, my "Month" is not a month.&amp;nbsp; For the purposes of the rest of the data, I didn't want it to be a month, but rather the first date of the applicable month.&amp;nbsp; I probably should have named that field something more appropriate, like month_start_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the load script for "Month" to:&lt;/P&gt;&lt;P&gt;Date(MakeDate(if(fiscal_quarter&amp;lt;3,fiscal_year-1,fiscal_year),month_number, 01), 'M/D/YYYY') as Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing that, a text obeject with =max(Month) is showing 1/1/2015, which is what I would expect.&amp;nbsp; However, a text object with =$(=Max(Month)) is showing 0.00049627791563275.&amp;nbsp; I would have expected either 1/1/2015 or 42005 (the numerical equivalent). A text object with $(=Max(date(Month))) also comes out with 0.00049627791563275.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;max dreamer&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A text object with $(=Max(num(Month))) outputs 42005, which is an improvement.&amp;nbsp; However, if I use the expression sum({&amp;lt;Month = {$(=Max(num(Month)))}&amp;gt;} Customers), that outputs 0.&amp;nbsp; I think this is because it's comparing a date to a number.&amp;nbsp; (However, I also tried changing the load script to load Month as a number, and that resulted in this expression outputting 0 as well.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Arul Settu&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works, but what about when February comes?&amp;nbsp; I tested this QVW with February customer data and it sums all the customer counts for 2015.&amp;nbsp; What I really need is just the sums of the latest month in 2015.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried changing the text object to =sum({&amp;lt;datenum={$(=max(datenum))}&amp;gt;}Customer), since that's closer to what I'm trying to do.&amp;nbsp; However, that gave me null as the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;chiranjeevi reddy&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried sum(if(Month(Month)=Month(now()),Customers)) in my application, but that returns an incorrect number.&amp;nbsp; The number it produces in a chart also increases when I apply a dimension that shouldn't affect it.&amp;nbsp; My other concern is that it might add up all the largest month numbers (i.e. December values) rather than the most recent month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 20:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785541#M1031168</guid>
      <dc:creator />
      <dc:date>2015-01-29T20:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785542#M1031169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;SET ANALYSIS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;makes a dashboard lot more meaningful and action oriented. For example, if you just provide number of units sold by a product line in a month, it is good information, but it is not-actionable. If you add comparison against same month last year, last month or average of relevant product lines in this month, you have added context to the number. The business user can take more meaningful actions out of this report / dashboard.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;QlikView has feature called SET ANALYSIS that provides us a way to add this context. Set analysis predefines the SET OF DATA that our charts / tables use. So, using a Set Expression, we can tell our object (chart / table) to display values corresponding to various sets of data (e.g. a pre-defined time-period, geographic region, product lines etc.). All of the examples, I mentioned above as part of adding context can be accomplished using Set Analysis in Qlikview.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Most of the QlikView Professionals think that SET ANALYSIS is a complex feature. Through this post, I am trying to change their conviction towards it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.8pt;"&gt;&lt;STRONG&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: white;"&gt;What is SET ANALYSIS ?&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Set Analysis can be understood by a simple analogy of how Qlikview works. We make selections on certain variables and the changes reflect in the entire application. This happens because through our selection, we have created a set of data which we want to use. In a similar fashion, using Set Analysis feature, we can pre-define the data to be displayed in our charts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Some features and characteristics for Set analysis are:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;It is used to create different selection compared to the current application selections&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Must be used in aggregation function (Sum, Count….).&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Expression always begins and ends with curly brackets { }&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-bottom: 6.8pt;"&gt;&lt;STRONG style="color: white; font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;Example dataset:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.8pt;"&gt;&lt;STRONG&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: white;"&gt;SET ANALYSIS syntax broken down into three components:&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.8pt;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: white;"&gt;Identifiers:&lt;/SPAN&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background: white;" width="574"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P align="center" style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG style="color: #2c2b2b; font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;Identifier&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-left: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P align="center" style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG style="color: #2c2b2b; font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;Description&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-top: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;:Represents an empty set, no records&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-top: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;:Represents the set of all the records in the application&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-top: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;$&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;:Represents the records of the current selection&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-top: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;$1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;:Represents the previous selection&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-top: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Bookrmark01&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;:Represents the set of all records against bookmark ID or the bookmark name&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;STRONG style="color: #2c2b2b; font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;Examples:&lt;/STRONG&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;In below example, Current year selection is 2012 and previous selection was 2013.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.8pt;"&gt;&lt;STRONG&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: white;"&gt;Operators :&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;It&amp;nbsp; works on set identifiers&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="background: white;" width="625"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P align="center" style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Operator&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-left: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P align="center" style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: center;"&gt;&lt;STRONG style="color: #2c2b2b; font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;Operator Name&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-left: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P align="center" style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: center;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Description&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-top: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Union&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Returns a set of records that belongs to union of sets.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-top: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Exclusion&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Returns records that belong to the first but not the second&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-top: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;*&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Intersection&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Returns records that belong to both of the set identifiers.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid #e6e6e6 1.0pt; border-top: none; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;/&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Symmetric Difference&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid #E6E6E6 1.0pt; border-right: solid #E6E6E6 1.0pt; background: #FBFBFB; padding: 1.35pt 3.4pt 1.35pt 3.4pt;" valign="bottom"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Returns a set that belongs to either, but not both of the set identifiers.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;STRONG style="color: #2c2b2b; font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;Examples:&lt;/STRONG&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;In below example, I have created a bookmark “BOOKMARK_1” for company selection A, B and C.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.8pt;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: white;"&gt;Modifiers:&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Modifiers are always in angle brackets &amp;lt;&amp;gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;It consists multiple fields and all fields have selection criteria.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Condition of fields within modifiers bypass the current selection criteria.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="margin-bottom: 6.8pt;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: white;"&gt;Dollar Sign Expansion:&lt;/SPAN&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;If we want to compare current year sale with previous year, previous year sales should reflect values in relation to current selection of year. For example if current selection of year is 2012, previous year should be 2011 and for current selection of year 2013, previous year is 2012.&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: #2c2b2b;"&gt; &lt;STRONG&gt;“=Sum ({$&amp;lt;Year = {$ (=Max (Year)-1)} &amp;gt;} Sale) “&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Above expression always returns sale for previous year. Here $ sign (Font color red) is used to evaluate the value for previous year. $ sign is used to evaluate expression and to use variables in set modifiers. If we have variable that holds last year value&lt;/SPAN&gt; &lt;STRONG style="color: #2c2b2b; font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;(vLASTYEAR)&lt;/STRONG&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;then expression can be written as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; background: white;"&gt;&lt;STRONG style="color: #2c2b2b; font-size: 8.0pt; font-family: 'Courier New';"&gt;“=Sum ({$vLASTYEAR)} &amp;gt;} Sale) “&lt;/STRONG&gt;&lt;/P&gt;&lt;P align="center" style="margin-bottom: .0001pt; text-align: center; background: white;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.8pt; background: white;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: white;"&gt;Indirect SET ANALYSIS: Function P() and E() &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Let us take a scenario, where we want to show current sales of the companies who had sales last year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Expression should be similar like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG style="color: #2c2b2b; font-size: 8.0pt; font-family: 'Courier New';"&gt;=sum({$&amp;lt;Year={$(=Max(Year))},Company_Name={Companies who had sales last year}&amp;gt; } Sale)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;First we have to identify companies who had sales last year. To fix this problem, we will use function P() that is used to identify values within a field and function E() that exclude values within a field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Finally, we have expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG style="color: #2c2b2b; font-size: 8.0pt; font-family: 'Courier New';"&gt;=sum({&amp;lt;Year={$(=Max(Year))},Company_Name=P({&amp;lt;Year={$(=Max(Year)-1)}&amp;gt;}Company_Name)&amp;gt;}Sale)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;This post was an example where we have brought out methods to use SET ANALYSIS in Qlikview. Have you used this feature before? If yes, did you find it useful? Do you have more nifty tricks to make Set Analysis more interesting? If not, do you think this article will enable you to use Set Analysis in your next dashboard?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 6.8pt; margin-bottom: .0001pt; text-align: justify; background: white;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: #2c2b2b;"&gt;Do let me know your thoughts on using this feature in QlikView.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 21:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785542#M1031169</guid>
      <dc:creator />
      <dc:date>2015-01-29T21:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785543#M1031170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go through it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 21:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785543#M1031170</guid>
      <dc:creator />
      <dc:date>2015-01-29T21:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785544#M1031171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bommaramcharan, &lt;/P&gt;&lt;P&gt;Thank you for the additional context.&amp;nbsp; I have read similar set analysis overviews, and they are always insightful.&amp;nbsp; I like the power of set analysis, though I don't always get it right in practice.&amp;nbsp; Are you suggesting that I use a specific part of this explaination in my solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the test.qvw you attached, however it seems identical to the one uploaded by Arul Settu.&amp;nbsp; Am I missing something, or did you mean to attach a different qvw file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 22:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785544#M1031171</guid>
      <dc:creator />
      <dc:date>2015-01-29T22:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785545#M1031172</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;Then also use Date()&lt;/P&gt;&lt;P&gt;Try like,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Month = {$(=Date(Max(num(Month))))}&amp;gt;} Customers),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st check in text object&lt;/P&gt;&lt;P&gt;=date(Max(num(Month)))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Format as per your month date format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 03:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785545#M1031172</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-01-30T03:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785546#M1031173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i found the solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 04:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785546#M1031173</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2015-01-30T04:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785547#M1031174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating 3 additional columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month(Month) as mon,&lt;BR /&gt;year(Month) as yr,&lt;BR /&gt;num(Month(Month)) as monthnum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use the following set analysis&lt;/P&gt;&lt;P&gt;=Sum({$ &amp;lt;yr={$(=max(yr))}, monthnum={$(=max(mon))} &amp;gt; } Customers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Qlikuser&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 05:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785547#M1031174</guid>
      <dc:creator />
      <dc:date>2015-01-30T05:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for the sum of the current month customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785548#M1031175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's working!&amp;nbsp; Thanks for all your help everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried all the suggestions you sent in last night, but I couldn't get them to work.&amp;nbsp; However, it gave me an idea that solved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For those who have a similar issue, here's what wound up working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the following line to my load script.&lt;/P&gt;&lt;P&gt;num(year(Month))*100+num(month(Month)) as year_month_num&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gave me a number for each month like 201412, 201501, 201502, etc., with the most recent month having the highest number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in my chart, I used the following expression.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;year_month_num = {$(=Max(year_month_num))}&amp;gt;} Customers)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 22:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-the-sum-of-the-current-month-customers/m-p/785548#M1031175</guid>
      <dc:creator />
      <dc:date>2015-01-30T22:23:25Z</dc:date>
    </item>
  </channel>
</rss>

