<?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: Max calendar or current selection Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438976#M431965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True, Even we need to degrade again using Maximum year because qlikview can associate default when filter on month. Now, You can try using Year={'$(=Max(Year))'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2017 03:44:55 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-10-12T03:44:55Z</dc:date>
    <item>
      <title>Max calendar or current selection Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438972#M431961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add&amp;nbsp; the max month to a set analysis e.g. Sum({&amp;lt;??&amp;gt;}Sales). By default the max(Month) is the current calendar month e.g.October&lt;/P&gt;&lt;P&gt;otherwise Month Selections are made then it is the max(Month)of the selection. The Month Field is in this format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Feb&lt;/P&gt;&lt;P&gt;Mar&lt;/P&gt;&lt;P&gt;Apr&lt;/P&gt;&lt;P&gt;May&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;&lt;P&gt;Jul&lt;/P&gt;&lt;P&gt;Aug&lt;/P&gt;&lt;P&gt;Sep&lt;/P&gt;&lt;P&gt;Oct&lt;/P&gt;&lt;P&gt;Nov&lt;/P&gt;&lt;P&gt;Dec&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 03:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438972#M431961</guid>
      <dc:creator>didierodayo</dc:creator>
      <dc:date>2017-10-12T03:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Max calendar or current selection Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438973#M431962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try anyone of these&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month = {'$(=Max(Month))'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month = {'$(=Month(Today()))'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 03:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438973#M431962</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-12T03:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Max calendar or current selection Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438974#M431963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your data model add new field where you have month field create Num Month field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;NUM(Month) as NumMonth&lt;/P&gt;&lt;P&gt;From source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expre:-&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({$&amp;lt;NumMonth = {"$(=Max(NumMonth))"},Year={"$(=Max(Year))"}&amp;gt;} Val)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 03:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438974#M431963</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-12T03:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Max calendar or current selection Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438975#M431964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Anil, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is what I have been having issue with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month(Today()) returns October&amp;nbsp; when selections are made the value is then zero.&lt;/P&gt;&lt;P&gt;Max(Month)&amp;nbsp; returns the maximum of whatever is selected Which means Dec can be selected because my data has months up to Dec. But I would like the Maximum month to be the current calendar month or below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 03:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438975#M431964</guid>
      <dc:creator>didierodayo</dc:creator>
      <dc:date>2017-10-12T03:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Max calendar or current selection Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438976#M431965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True, Even we need to degrade again using Maximum year because qlikview can associate default when filter on month. Now, You can try using Year={'$(=Max(Year))'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 03:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-calendar-or-current-selection-Month/m-p/1438976#M431965</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-12T03:44:55Z</dc:date>
    </item>
  </channel>
</rss>

