<?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 Max Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/901997#M1008084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please could someone assist me with the max month function - or alternative!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 377px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" width="249"&gt;SicknessMonth&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;TargetSickness&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;ActualSickness&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;January&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;1.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;February&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;3.5%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;March&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;3.8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;April&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;2.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;May&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;June&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;July&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;August&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;September&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;October&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;November&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;December&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;&lt;P&gt;3%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;My current expression in my guage is =sum(if (SicknessMonth = 'January',&amp;nbsp; ActualSickness))&lt;/P&gt;&lt;P&gt;This correctly delivers 1.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I always want my chart to show the current month - which should be the last entry......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extra attachment for further assistance added 11.05.2015&#xD;
&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2015 09:22:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-08T09:22:26Z</dc:date>
    <item>
      <title>Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/901997#M1008084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please could someone assist me with the max month function - or alternative!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 377px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" width="249"&gt;SicknessMonth&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;TargetSickness&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;ActualSickness&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;January&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;1.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;February&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;3.5%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;March&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;3.8%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;April&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;2.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;May&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;June&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;July&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;August&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;September&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;October&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;November&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;3%&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="23" style="border-top: none;"&gt;December&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;&lt;P&gt;3%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;My current expression in my guage is =sum(if (SicknessMonth = 'January',&amp;nbsp; ActualSickness))&lt;/P&gt;&lt;P&gt;This correctly delivers 1.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I always want my chart to show the current month - which should be the last entry......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extra attachment for further assistance added 11.05.2015&#xD;
&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 09:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/901997#M1008084</guid>
      <dc:creator />
      <dc:date>2015-05-08T09:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/901998#M1008086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum(if (lower(left(SicknessMonth, 3)) = month(today()),&amp;nbsp; ActualSickness))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 09:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/901998#M1008086</guid>
      <dc:creator>mrossoit</dc:creator>
      <dc:date>2015-05-08T09:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/901999#M1008087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That brings me back 0% ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 09:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/901999#M1008087</guid>
      <dc:creator />
      <dc:date>2015-05-08T09:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902000#M1008088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I corrected the expression adding lower() function. Using today() function, current month returned will be may. If your data are limited to which I see in your original post, there are no values in may.&lt;/P&gt;&lt;P&gt;Have you to consider current month or last month having data associated?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 09:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902000#M1008088</guid>
      <dc:creator>mrossoit</dc:creator>
      <dc:date>2015-05-08T09:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902001#M1008089</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 dont have value for current month that is May . &lt;/P&gt;&lt;P&gt;If you always want to show the current month value you can use below QVW &lt;/P&gt;&lt;P&gt;If your requirement is something else let me know . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I added one value for may month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 09:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902001#M1008089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-08T09:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902002#M1008090</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 some thing like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(if(Not isNull(ActualSickness),ActualSickness,TargetSickness)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 09:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902002#M1008090</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2015-05-08T09:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902003#M1008091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent!!&amp;nbsp; Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try it with a value in May but it was the mapping to number that I needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 09:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902003#M1008091</guid>
      <dc:creator />
      <dc:date>2015-05-08T09:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902004#M1008092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 10:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902004#M1008092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-08T10:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902005#M1008093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;BKC&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;&lt;BR /&gt;&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;Thanks for your help in making my guage fix to the current month &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&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;&lt;BR /&gt;&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;Would there be anyway of over-riding this by selecting another month from a selection box.&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;I.e leave the default to the current but&amp;nbsp; have the ability to change to a previous selection.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 08:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902005#M1008093</guid>
      <dc:creator />
      <dc:date>2015-05-11T08:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902006#M1008094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use various things here, a simple fix would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SicknessMonth&lt;/SPAN&gt;)&amp;gt;0, &lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ActualSickness&lt;/SPAN&gt;), &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Month&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;()),&lt;SPAN style="color: #800000;"&gt;ActualSickness&lt;/SPAN&gt;)))&amp;nbsp; if you only want them to make a selection in the "Sickness Month" field or..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;GetPossibleCount&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SicknessMonth&lt;/SPAN&gt;)&amp;gt;0, &lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ActualSickness&lt;/SPAN&gt;), &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Month&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;Month&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;()),&lt;SPAN style="color: #800000;"&gt;ActualSickness&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))) if they can be making selections anywhere and if there's only one month available you want it to show that month.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;I'd recommend considering your data model however - do you need future months in your model? I'd load in a proper calendar and only load up to the current month, that way you can avoid any of the above and just use a set using the max month - which will by default be the latest month or whenever a month is selected, will be that month. Shout if you need a hand looking over your model to do so!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 08:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902006#M1008094</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-05-11T08:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902007#M1008095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, I have tried your one of your solutions and it seems to sum all of the months values if it does not find a current month.&amp;nbsp; I like your recommendation but could do with assistance as am very new to this.&amp;nbsp; I have uploaded my example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this, I would always like the current month to default i.e 7%, if not then the previous month 2.7% and so on....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you could guide me in improvements to this, I would be extremely grateful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 10:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month/m-p/902007#M1008095</guid>
      <dc:creator />
      <dc:date>2015-05-11T10:00:11Z</dc:date>
    </item>
  </channel>
</rss>

