<?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 Need a Maximum Date in Fiscal Calender in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-a-Maximum-Date-in-Fiscal-Calender/m-p/1072477#M937263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having calendar&amp;nbsp; up to date 1/3/2021&lt;/P&gt;&lt;P&gt;I want to Display Maximum Date in Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date(Date)) &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; MaximumDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;from&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;xyz.com&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;groub by Year; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am getting out put as Below Mentioned Image&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="MaxDate.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113916_MaxDate.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;I want to display only &lt;STRONG&gt;1/3//2021&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can you guys help me with this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 16:51:40 GMT</pubDate>
    <dc:creator>SatyaPaleti</dc:creator>
    <dc:date>2016-02-08T16:51:40Z</dc:date>
    <item>
      <title>Need a Maximum Date in Fiscal Calender</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-Maximum-Date-in-Fiscal-Calender/m-p/1072477#M937263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having calendar&amp;nbsp; up to date 1/3/2021&lt;/P&gt;&lt;P&gt;I want to Display Maximum Date in Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date(Date)) &lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; MaximumDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;from&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;xyz.com&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;groub by Year; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am getting out put as Below Mentioned Image&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="MaxDate.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113916_MaxDate.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;I want to display only &lt;STRONG&gt;1/3//2021&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can you guys help me with this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 16:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-Maximum-Date-in-Fiscal-Calender/m-p/1072477#M937263</guid>
      <dc:creator>SatyaPaleti</dc:creator>
      <dc:date>2016-02-08T16:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need a Maximum Date in Fiscal Calender</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-Maximum-Date-in-Fiscal-Calender/m-p/1072478#M937264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you just need this then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD Date(Max(Date)) &lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;as MaximumDate&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;from &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;xyz.com&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit; font-size: 13.3333px; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 16:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-Maximum-Date-in-Fiscal-Calender/m-p/1072478#M937264</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-08T16:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need a Maximum Date in Fiscal Calender</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-Maximum-Date-in-Fiscal-Calender/m-p/1072479#M937265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satya,&lt;/P&gt;&lt;P&gt;The problem with your approach is that the logic scans each row, since here a row is individual group set a date is max for each row, hence you get back all your records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;approach suggested bu Sunny T is good. &lt;/P&gt;&lt;P&gt;you can also try the following as well since you may have many more columns in your table&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;maxmindate:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;load&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;DATE(min(FieldValue('dateField',RecNo()))) as minDate,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;DATE(max(FieldValue('&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;dateField&lt;/SPAN&gt;',RecNo()))) as maxDate&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;AutoGenerate FieldValueCount('&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;dateField&lt;/SPAN&gt;');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 17:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-Maximum-Date-in-Fiscal-Calender/m-p/1072479#M937265</guid>
      <dc:creator>harsh44_bhatia</dc:creator>
      <dc:date>2016-02-08T17:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need a Maximum Date in Fiscal Calender</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-Maximum-Date-in-Fiscal-Calender/m-p/1072480#M937266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In your script, You have used Year&amp;nbsp; and Max(Date) and groupby Year sothat in each year it is showing the maximum date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If you want only maximum date of the entire calendar? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;then try this,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; Max(Date(Date)) &lt;SPAN style="font-size: 13.33px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; MaximumDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TableName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;--Sathish&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 17:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-Maximum-Date-in-Fiscal-Calender/m-p/1072480#M937266</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2016-02-08T17:19:25Z</dc:date>
    </item>
  </channel>
</rss>

