<?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: How do I determine the number of months selected even without data? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59568#M772709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Min() function should give you the minimum among your selection... is this not what you are seeing? Can you share an image to show what you getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2018 12:45:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-21T12:45:18Z</dc:date>
    <item>
      <title>How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59559#M772699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking to do a qty/Month average on some seldomly sold parts, and calculate on the number of months (or MonthYears) selected.&amp;nbsp; That's easy if it is sold every month.&amp;nbsp; But what if I select 6 months, and it only sold in 2 of those months?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example, I sell 600 parts over a 6 month time span, but only 2 months have data.&amp;nbsp; If I do a &lt;/P&gt;&lt;P&gt;sum(qty) / count(DISTINCT MonthYear) I get 600 / 2 = 300.&amp;nbsp; When in fact I want to see 600 / 6 = 100.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59559#M772699</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59560#M772700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(qty)/((Year(Max(MonthYear))*12 + Month(Max(MonthYear))) - (Year(Min(MonthYear))*12 + Month(Min(MonthYear))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 17:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59560#M772700</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-18T17:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59561#M772701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample application that shows the behaviour of selecting 6 YearMonth values not leading to Count(Distinct &lt;SPAN style="font-size: 13.3333px;"&gt;YearMonth&lt;/SPAN&gt;) equalling 6?&lt;/P&gt;&lt;P&gt;Did you maybe select in other fields also?&lt;/P&gt;&lt;P&gt;In this case you might use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15266759621112801" jivemacro_uid="_15266759621112801"&gt;
&lt;P&gt;Count({1&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthYear&lt;/SPAN&gt;=$::&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthYear&lt;/SPAN&gt;&amp;gt;} DISTINCT &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthYear&lt;/SPAN&gt;)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead.&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;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 20:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59561#M772701</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-05-18T20:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59562#M772703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the case of the current year, it’s dividing by 12 instead of 5 (or whatever time selection is chosen).  In the case of years with full data (previous years) it works just fine.  But what about basing in on the selected time frame?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 22:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59562#M772703</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2018-05-18T22:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59563#M772704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post a sample application to demonstrate this behaviour.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 22:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59563#M772704</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-05-18T22:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59564#M772705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you create a flag for the months that have data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in months that you have data, flag = 1, otherwise flag = 0. Then if you divide it by the sum(flag), you'll have only months with data in the denominator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 23:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59564#M772705</guid>
      <dc:creator>lcontezini</dc:creator>
      <dc:date>2018-05-18T23:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59565#M772706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to include months where there is and is not data.  So I believe I need to pull out the first date of my selection and the last.  Then do a date comparison.  How do I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 23:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59565#M772706</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2018-05-18T23:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59566#M772707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get a chance to try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(qty)/((Year(Max(MonthYear))*12 + Month(Max(MonthYear))) - (Year(Min(MonthYear))*12 + Month(Min(MonthYear))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I ask is because you responded to both other posters and not me. This might have totally not worked... but just want to make sure that you at least gave it a try &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 12:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59566#M772707</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-21T12:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59567#M772708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did try this.  But it appears to still only be paying attention to the months with data no matter the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it could be asked this way:  How do I tell the earliest date in my selection?  Not the earliest date in the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 12:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59567#M772708</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2018-05-21T12:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59568#M772709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Min() function should give you the minimum among your selection... is this not what you are seeing? Can you share an image to show what you getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 12:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59568#M772709</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-21T12:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59569#M772710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope this comes through okay.  When selection 2018 and Jan to Apr, the particular part number has data only in April, which is what I’m seeing as a result of                   =Min(Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 13:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59569#M772710</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2018-05-21T13:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59570#M772711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then ignore selection in Catalog Number field like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(qty)/((Year(Max(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;[Catalog Number]&amp;gt;} &lt;/STRONG&gt;MonthYear))*12 + Month(Max(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;[Catalog Number]&amp;gt;} &lt;/STRONG&gt;MonthYear))) - (Year(Min(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;[Catalog Number]&amp;gt;} &lt;/STRONG&gt;MonthYear))*12 + Month(Min(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;[Catalog Number]&amp;gt;}&lt;/SPAN&gt; MonthYear))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or may be this to allow for selection in Month and Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(qty)/((Year(Max(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{1&amp;lt;Month = $::Month, Year = $::Year, MonthYear = $::MonthYear, Date = $::Date&amp;gt;}&lt;/STRONG&gt;MonthYear))*12 + Month(Max(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{1&amp;lt;Month = $::Month, Year = $::Year, MonthYear = $::MonthYear, Date = $::Date&amp;gt;} &lt;/STRONG&gt;&lt;/STRONG&gt;MonthYear))) - (Year(Min(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{1&amp;lt;Month = $::Month, Year = $::Year, MonthYear = $::MonthYear, Date = $::Date&amp;gt;} &lt;/STRONG&gt;&lt;/STRONG&gt;MonthYear))*12 + Month(Min(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{1&amp;lt;Month = $::Month, Year = $::Year, MonthYear = $::MonthYear, Date = $::Date&amp;gt;}&lt;/STRONG&gt;&lt;/STRONG&gt; MonthYear))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 13:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59570#M772711</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-21T13:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59571#M772712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;='Average : '&amp;amp;sum(Sales)/count( {$&amp;lt;[Year] = {"=$(=Max([Year]))"},[YearMonth] = {"&amp;lt;=$(=Max([YearMonth]))"}&amp;gt;} distinct MonthNo )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;='Count of Months : '&amp;amp;count( {$&amp;lt;[Year] = {"=$(=Max([Year]))"},[YearMonth] = {"&amp;lt;=$(=Max([YearMonth]))"}&amp;gt;} distinct MonthNo )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 13:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59571#M772712</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2018-05-21T13:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59572#M772713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks to have done it.  I just added 1 since in the case of Jan to April 2018 it’s 4, not 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ended up with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum() /&lt;/P&gt;&lt;P&gt;(((Year(Max({1} MonthYear))))&lt;/P&gt;&lt;P&gt;+1), '#,000')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 11:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59572#M772713</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2018-05-23T11:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59573#M772714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super, please close the thread by marking correct and helpful responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 11:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59573#M772714</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-23T11:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59574#M772715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=num(sum([Invoice Qty]) / &lt;/P&gt;&lt;P&gt;(((Year(Max({1&amp;lt;Month = $::Month, Year = $::Year, MonthYear = $::MonthYear, Date = $::Date&amp;gt;}MonthYear))*12 + &lt;/P&gt;&lt;P&gt;Month(Max({1&amp;lt;Month = $::Month, Year = $::Year, MonthYear = $::MonthYear, Date = $::Date&amp;gt;} MonthYear))) - &lt;/P&gt;&lt;P&gt;(Year(Min({1&amp;lt;Month = $::Month, Year = $::Year, MonthYear = $::MonthYear, Date = $::Date&amp;gt;} MonthYear))*12 + &lt;/P&gt;&lt;P&gt;Month(Min({1&amp;lt;Month = $::Month, Year = $::Year, MonthYear = $::MonthYear, Date = $::Date&amp;gt;} MonthYear))))&lt;/P&gt;&lt;P&gt;+1), '#,000')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 11:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59574#M772715</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2018-05-23T11:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59575#M772719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain what the&amp;nbsp;&amp;nbsp;&amp;nbsp; $::Month is doing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 11:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59575#M772719</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2018-05-23T11:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I determine the number of months selected even without data?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59576#M772720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since we are ignoring selection in all fields using 1, we need to somehow allow for selection when a Month or Year etc is selected... the syntax for that is &lt;STRONG&gt;{1&amp;lt;FieldName = $::FieldName&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, look here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/60297" title="https://community.qlikview.com/thread/60297"&gt;What is $:: in set analysis for? | Qlik Community&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, some more details on the topic of set analysis&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 11:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-determine-the-number-of-months-selected-even-without/m-p/59576#M772720</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-23T11:17:49Z</dc:date>
    </item>
  </channel>
</rss>

