<?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: How to find the MaxDate for a Calculated Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469069#M486405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=FirstSortedValue(EventMonth, -[No. of Events])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if No. of Events is an expression that counts events:&lt;/P&gt;&lt;P&gt;=FirstSortedValue(EventMonth, -aggr(max(aggr(count([No. of Events]),EventMonth)),EventMonth))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2013 11:54:12 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-03-22T11:54:12Z</dc:date>
    <item>
      <title>How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469066#M486402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi QlikViewers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Requesting your help here. I have a Straight Table in QlikView Application. In addition to this chart, I have multiple filters. Chart will be responding to the selections made in these filters. Each time the selection is made, the max month may change depending upon the filters. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35344" class="jive-image" alt="Table.png" src="https://community.qlik.com/legacyfs/online/35344_Table.png" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG __jive_id="35345" class="jive-image" alt="Table2.png" src="https://community.qlik.com/legacyfs/online/35345_Table2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, will it be possible for us to get the Max Month from the above chart (in the first case, it will be Mar-13 and 91 - and in second case it will be Dec12)? Essentially, I would want to display the max month, min month and total number of months shown in the chart in a separate text objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 11:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469066#M486402</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2013-03-22T11:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469067#M486403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried to use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max(EventMonth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Min(Eventmonth)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 11:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469067#M486403</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-03-22T11:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469068#M486404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, that will not work - because, I am using a set expression in Expression used for No. of Events. Hence, I would that information to be derived from Chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 11:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469068#M486404</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2013-03-22T11:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469069#M486405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=FirstSortedValue(EventMonth, -[No. of Events])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if No. of Events is an expression that counts events:&lt;/P&gt;&lt;P&gt;=FirstSortedValue(EventMonth, -aggr(max(aggr(count([No. of Events]),EventMonth)),EventMonth))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 11:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469069#M486405</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-22T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469070#M486406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post your sample application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 11:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469070#M486406</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-03-22T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469071#M486407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(date(date#(EventMonth,'MMM-YY'),MMM))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 11:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469071#M486407</guid>
      <dc:creator />
      <dc:date>2013-03-22T11:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469072#M486408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. However, this gives me an unexpected answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will create a mock by tomorow and upload it by tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 12:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469072#M486408</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2013-03-22T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469073#M486409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sushil - I will create a mock and update it by tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 12:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469073#M486409</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2013-03-22T12:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469074#M486410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Viswa - I am not trying to change the format. Basically, I need the total number of Rows, Min(Month Year) and Max(Month Year) from the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 12:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469074#M486410</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2013-03-22T12:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469075#M486411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this in a separate text-box:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MIN(EventMonth) &amp;amp; ',' &amp;amp; MAX(EventMonth) &amp;amp; ',' &amp;amp; count(distinct EventMonth) &amp;amp; ' months'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 13:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469075#M486411</guid>
      <dc:creator />
      <dc:date>2013-03-22T13:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469076#M486412</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;Thansk for all the responses. However, sorry - I am yet to get an answer. I guess I need to give more information on the issue and hence, I have created a mock for the same. I have given a snapshot of the same along with data being used + the expected result in two text boxes - given just below the charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="35469" class="jive-image-thumbnail jive-image" onclick="" alt="Test.jpg" src="https://community.qlik.com/legacyfs/online/35469_Test.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the text boxes (currently hardcoded should change as per the filters - I have added only one filter now, but there will be multiple filters in the actual application).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 11:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469076#M486412</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2013-03-25T11:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469077#M486413</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;Can I suggest you try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max(TOTAL datefield) as Max Month&lt;/P&gt;&lt;P&gt;Min(TOTAL datefied) as Min Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regardds,&lt;/P&gt;&lt;P&gt;Gabriel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 12:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469077#M486413</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2013-03-25T12:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the MaxDate for a Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469078#M486414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response Gabriel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will not work, as the Max(Total Dt) will give me the max value from the entire data - &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;I need it specific to chart&lt;/EM&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 12:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-the-MaxDate-for-a-Calculated-Expression/m-p/469078#M486414</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2013-03-25T12:57:22Z</dc:date>
    </item>
  </channel>
</rss>

