<?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: Calculate Max month as a dimension? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548052#M684017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MonthName(Max(datefield))&amp;nbsp; //returns like Jan 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Month(Max(datefield))&amp;nbsp;&amp;nbsp; // returns like Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2014 08:57:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-22T08:57:48Z</dc:date>
    <item>
      <title>Calculate Max month as a dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548049#M684014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i have 8 months, in this 7 months comes under 2013 and 1 month comes under 2014. so here max month should be 1st month&lt;/P&gt;&lt;P&gt;of 2014.How should i calculate max month as a dimension?.i used autonumber function on month&amp;amp;year but 1st month of 2014 giving 1 number so i am getting dec-2013 as a max month.i need jan-2014 as a max month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 08:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548049#M684014</guid>
      <dc:creator />
      <dc:date>2014-01-22T08:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Max month as a dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548050#M684015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Define month as concatenation of year and mont i.e. 201307, 201308 ... 201401, the sorting is automatic in this way and even the max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 08:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548050#M684015</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-01-22T08:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Max month as a dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548051#M684016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of using the month such as it is, calculate MONTHEND() - that will give you Jan-31-2014 for this January, which should be your max_month, yes? Then calculate the max date out of these and then just plug in a MONTH() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 08:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548051#M684016</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-01-22T08:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Max month as a dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548052#M684017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MonthName(Max(datefield))&amp;nbsp; //returns like Jan 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Month(Max(datefield))&amp;nbsp;&amp;nbsp; // returns like Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 08:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548052#M684017</guid>
      <dc:creator />
      <dc:date>2014-01-22T08:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Max month as a dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548053#M684020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;You can also use the MONTHID's instead of Month names like Max({$&amp;lt;MonthID={"$(=Max(MonthID))"}&amp;gt;}Month).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 09:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548053#M684020</guid>
      <dc:creator>jvishnuram</dc:creator>
      <dc:date>2014-01-22T09:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Max month as a dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548054#M684021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use calculated dimension as MonthName(Max(field)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;-shruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 09:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548054#M684021</guid>
      <dc:creator />
      <dc:date>2014-01-22T09:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Max month as a dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548055#M684022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can use a Month Number. Suppose your date field name is Period then you can use the below expression in your Load Script to create a Month Number &lt;/P&gt;&lt;P&gt;num(Month(Period)) + if(Year(Period)=Year(Today()),12,0) as MonthNum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then you can use it in your chart expressions. Max(MonthNum)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 09:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548055#M684022</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-01-22T09:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Max month as a dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548056#M684023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks kabilan it working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 10:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Max-month-as-a-dimension/m-p/548056#M684023</guid>
      <dc:creator />
      <dc:date>2014-01-22T10:05:46Z</dc:date>
    </item>
  </channel>
</rss>

