<?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 Month-Year issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655457#M729480</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you Sunny,&amp;nbsp;&lt;/P&gt;&lt;P&gt;All looks ok, but still returns a blank.&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;[Month-Year] = {"$(=Date(Max([Month-Year]), 'MMM-YYYY'))"}&amp;gt;} HKD_Price)&lt;/PRE&gt;&lt;P&gt;Its an odd one, as mentioned if i just Sum HKD_Price and select 2019 Month Years i get the correct return.&lt;/P&gt;&lt;P&gt;Thank you for trying.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 13:41:10 GMT</pubDate>
    <dc:creator>davyqliks</dc:creator>
    <dc:date>2019-12-09T13:41:10Z</dc:date>
    <item>
      <title>Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655431#M729476</link>
      <description>&lt;P&gt;I wonder if you might be able to help with the following.&lt;/P&gt;&lt;P&gt;When I have the below:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Year]={'$(=num(Max([Year])))'}&amp;gt;} HKD_Price)&lt;/P&gt;&lt;P&gt;I get a correct result&lt;/P&gt;&lt;P&gt;But when trying the same with Month-Year I have no return&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Month-Year]={'$(=num(Max([Month-Year])))'}&amp;gt;} HKD_Price)&lt;/P&gt;&lt;P&gt;Do you have any idea why this may be returning a blank?&lt;/P&gt;&lt;P&gt;I have also tried the following with – as the return&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt; [Month-Year] = { '$(=Max([Month-Year])' } &amp;gt; } HKD_Price )&lt;/P&gt;&lt;P&gt;Note, If I sum HKD_Price and select all Month -Year for 2019 I am getting the correct return&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Date Value is called [Voucher Date]&lt;/P&gt;&lt;P&gt;Thank you As always, any advise would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655431#M729476</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2024-11-16T19:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655434#M729477</link>
      <description>&lt;P&gt;How is&amp;nbsp;&lt;SPAN&gt;[Month-Year] created in the script?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 13:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655434#M729477</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-09T13:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655442#M729478</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Thank you. Here is the import script for Month-Year&lt;/P&gt;&lt;P&gt;[Voucher Date] as [%VoucherDate],&lt;BR /&gt;Date(monthstart([Voucher Date]), 'MMM-YYYY') as [Month-Year],&lt;BR /&gt;Year([Voucher Date]) as Year,&lt;BR /&gt;Month([Voucher Date]) as Month,&lt;BR /&gt;Day([Voucher Date]) as Day,&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 13:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655442#M729478</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2019-12-09T13:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655444#M729479</link>
      <description>&lt;P&gt;Try this in that case&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;[Month-Year] = {"$(=Date(Max([Month-Year]), 'MMM-YYYY'))"}&amp;gt;} HKD_Price)&lt;/LI-CODE&gt;&lt;P&gt;Keeping the set analysis modifier's format same as the format of the field is important here... within if it doesn't matter, but within set analysis it does.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 13:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655444#M729479</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-09T13:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655457#M729480</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you Sunny,&amp;nbsp;&lt;/P&gt;&lt;P&gt;All looks ok, but still returns a blank.&lt;/P&gt;&lt;PRE&gt;Sum({&amp;lt;[Month-Year] = {"$(=Date(Max([Month-Year]), 'MMM-YYYY'))"}&amp;gt;} HKD_Price)&lt;/PRE&gt;&lt;P&gt;Its an odd one, as mentioned if i just Sum HKD_Price and select 2019 Month Years i get the correct return.&lt;/P&gt;&lt;P&gt;Thank you for trying.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 13:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655457#M729480</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2019-12-09T13:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655462#M729481</link>
      <description>&lt;P&gt;Daniel -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried putting this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Date(Max([Month-Year]), 'MMM-YYYY')&lt;/LI-CODE&gt;&lt;P&gt;in a text object to see what values does it give? Is it giving the right Max Month Year that you would expect or is it giving a future Month Year where there is no HKD_Price available?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 13:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655462#M729481</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-09T13:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655473#M729482</link>
      <description>&lt;P&gt;Thank you for the advice,&lt;/P&gt;&lt;P&gt;When i tried this i got Dec 19 as expected.&lt;/P&gt;&lt;P&gt;Any suggestions, thanks a lot Sunny&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655473#M729482</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2019-12-09T14:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655477#M729483</link>
      <description>&lt;P&gt;You get Dec 19 without selection in Year field? And what happens when you select the Year 2019? You still see Dec 2019?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655477#M729483</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-09T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655487#M729484</link>
      <description>&lt;P&gt;Thats right,&lt;/P&gt;&lt;P&gt;I am getting&amp;nbsp;Dec-2019 in the text box before and after the year 2019 was selected when using&amp;nbsp;=Date(Max([Month-Year]), 'MMM-YYYY')&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Daniel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655487#M729484</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2019-12-09T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655490#M729485</link>
      <description>&lt;P&gt;Very strange that you get the same value in the text box object, but it gives a different result when you use it in set analysis... Would you be able to share a qvw sample to where we can see the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655490#M729485</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-09T14:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655509#M729486</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;While making you a sample i realised why i am getting the 0.00 return.&lt;/P&gt;&lt;P&gt;I use a currency conversion to get my HKD_Price.&lt;/P&gt;&lt;P&gt;These are not confirmed until the end of the month and so no currency conversion for DEC.&lt;/P&gt;&lt;P&gt;When i sum(HKD_Price) for Dec the return is blank.&lt;/P&gt;&lt;P&gt;Therefor, this is affecting the return value for max.&lt;/P&gt;&lt;P&gt;Is there a way of adding to the syntax something to&amp;nbsp; state max complete Month-Year, so i am getting the value for Nov 2019 until Dec 2019 is past the 31st?&lt;/P&gt;&lt;P&gt;this&amp;nbsp; is working when selecting jan 19 to nov 19&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Month-Year] = {"$(=Date(Max([Month-Year]), 'MMM-YYYY'))"}&amp;gt;} HKD_Price)&lt;/P&gt;&lt;P&gt;I hope that's clear, thanks again sunny.&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655509#M729486</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2019-12-09T14:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655512#M729487</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;[Month-Year] = {"$(=Date(Max({&amp;lt;HKD_Price *= {[*]}&amp;gt;}[Month-Year]), 'MMM-YYYY'))"}&amp;gt;} HKD_Price)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 09 Dec 2019 15:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655512#M729487</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-09T15:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max Month-Year issue</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655519#M729488</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Thats got&amp;nbsp; it, Shows the HKD_Price for the last completed Month (Nov)&lt;/P&gt;&lt;P&gt;Thank you so&amp;nbsp; much for your time, expertise and patience, its really appreciated.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 15:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Month-Year-issue/m-p/1655519#M729488</guid>
      <dc:creator>davyqliks</dc:creator>
      <dc:date>2019-12-09T15:15:52Z</dc:date>
    </item>
  </channel>
</rss>

