<?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 Which one is Max Month up to data available in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289058#M853768</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;We have the fields, Sales ,Year and Month.&lt;/P&gt;&lt;P&gt;I have to display the max year max month i.e max month obviously&amp;nbsp; Dec but I have data up to March and for remaining months there is zeros. In set analysis &lt;SPAN style="font-size: 13.3333px;"&gt;march&lt;/SPAN&gt; should take as max month. Can any help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Which one is Max Month up to data available</title>
      <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289058#M853768</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;We have the fields, Sales ,Year and Month.&lt;/P&gt;&lt;P&gt;I have to display the max year max month i.e max month obviously&amp;nbsp; Dec but I have data up to March and for remaining months there is zeros. In set analysis &lt;SPAN style="font-size: 13.3333px;"&gt;march&lt;/SPAN&gt; should take as max month. Can any help me.&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/Which-one-is-Max-Month-up-to-data-available/m-p/1289058#M853768</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Which one is Max Month up to data available</title>
      <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289059#M853769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you deside calendar either April - March or&amp;nbsp; January - December, then you can get appropriate data as per requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Sarvesh Srivastava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 11:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289059#M853769</guid>
      <dc:creator>sarvesh</dc:creator>
      <dc:date>2017-02-16T11:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Which one is Max Month up to data available</title>
      <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289060#M853770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The below expression should give you March if March 2017 if that's the maximum month where you have Sum(Sales) &amp;gt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max({&amp;lt;MonthYear = {"=Sum(Sales) &amp;gt; 0"}&amp;gt;}Month)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Max({&amp;lt;Month = {"=Sum({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}Sales) &amp;gt; 0"}&amp;gt;}Month)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 11:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289060#M853770</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-16T11:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Which one is Max Month up to data available</title>
      <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289061#M853771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=month(max({sale-={'0'}}date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attach data if not helped..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 11:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289061#M853771</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-16T11:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Which one is Max Month up to data available</title>
      <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289062#M853772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedvalue(Month,-Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 12:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289062#M853772</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-02-16T12:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Which one is Max Month up to data available</title>
      <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289063#M853773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the data looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan - 50&lt;/P&gt;&lt;P&gt;Feb - 40&lt;/P&gt;&lt;P&gt;Mar - 30&lt;/P&gt;&lt;P&gt;Apr - 0&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression will give Jan. I don't think this is what is needed here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 12:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289063#M853773</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-16T12:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Which one is Max Month up to data available</title>
      <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289064#M853774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put this into ur set as modifier and try ..it should work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 12:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289064#M853774</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-16T12:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Which one is Max Month up to data available</title>
      <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289065#M853776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Sarvesh&amp;nbsp; -- Calendar&amp;nbsp; Jan - Dec&lt;/P&gt;&lt;P&gt;@ Sunny&amp;nbsp; --&amp;nbsp; I am getting exact month number by using your expression, This is nice any way need to get values for that particular month.&lt;/P&gt;&lt;P&gt;@Sachin&amp;nbsp; -- I used your expressions but not getting expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@sunny&lt;/P&gt;&lt;P&gt;Please guide me if I done any mistake&lt;/P&gt;&lt;P&gt;Max({&amp;lt;Month = {"=Sum({&amp;lt;Year = {$(=Max(CalYear))}&amp;gt;}Sales) &amp;gt; 0"}&amp;gt;}Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here &lt;STRONG&gt;Month&lt;/STRONG&gt; is coming from &lt;STRONG&gt;fact table&lt;/STRONG&gt;&amp;nbsp; and &lt;STRONG&gt;Calyear&lt;/STRONG&gt; from &lt;STRONG&gt;iland master calendar&lt;/STRONG&gt;, master calendar month is &lt;STRONG&gt;Calmonth&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 13:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289065#M853776</guid>
      <dc:creator />
      <dc:date>2017-02-16T13:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Which one is Max Month up to data available</title>
      <link>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289066#M853778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to see your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 14:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Which-one-is-Max-Month-up-to-data-available/m-p/1289066#M853778</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-16T14:11:28Z</dc:date>
    </item>
  </channel>
</rss>

