<?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 Display max(Year month) and current Time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Display-max-Year-month-and-current-Time/m-p/746026#M1024770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way ( I think) is to use purgechar to recognise the letters in the string.&lt;/P&gt;&lt;P&gt;purgechar(&amp;lt;fieldname&amp;gt;,'&amp;lt;symbols&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for instance you can check in the script:&lt;/P&gt;&lt;P&gt;date(if(IsNull(Purgechar(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Modified Date]&lt;/SPAN&gt;,'0123456789 ')), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date#([Modified Date], 'YYYYMM'), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date#([Modified Date], 'YYYYMMM') ),'YYYYMMM') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Modified Date]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So now, you have your dates are in the same format you can simply put:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Next, in the dashboard you can put simply &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(&lt;/SPAN&gt;max(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Modified Date],'YYYYMMM'&lt;/SPAN&gt;),'MMM YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 20:01:05 GMT</pubDate>
    <dc:creator>dickelsa</dc:creator>
    <dc:date>2015-03-04T20:01:05Z</dc:date>
    <item>
      <title>How to Display max(Year month) and current Time</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Display-max-Year-month-and-current-Time/m-p/746023#M1024767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,As new to QlikView as it may simple myself not aware of things like Date in QV can any one help on below thing:&lt;/P&gt;&lt;P&gt;Modified date having updated/modified time stamp need to display max(Modified Date) in Jan 2015(MMM YYYY)&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 73pt; border-collapse: collapse;" width="97"&gt;&lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="background-color: transparent; width: 73pt; height: 15pt; border: #f0f0f0;" width="97"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;Modified Date&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;201501&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;201501&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;201501&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;How can we achieve this in a text object?&lt;/P&gt;&lt;P&gt;2)If i have combination as below&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 48pt; border-collapse: collapse;" width="64"&gt;&lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="background-color: transparent; width: 48pt; height: 15pt; border: #f0f0f0;" width="64"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;Modified Date&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;201501&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;201501&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;201409&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;2015Jan&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;2015Jan&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD align="right" height="20" style="background-color: transparent; height: 15pt; border: #f0f0f0;"&gt;&lt;SPAN style="font-family: Calibri; color: #000000; font-size: 12pt;"&gt;201412&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;How can i show into Max(Modified Date)'as Jan 2015 MMM YYYY'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 18:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Display-max-Year-month-and-current-Time/m-p/746023#M1024767</guid>
      <dc:creator />
      <dc:date>2015-03-04T18:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display max(Year month) and current Time</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Display-max-Year-month-and-current-Time/m-p/746024#M1024768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work. Date() is an output formatting function for display purposes.&amp;nbsp; Date# reads/interprets incoming data helping qlik to interpret the incoming format. you can use them together in tons of ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Date( Max([Modified Date]) , 'MMM YYYY') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; i think you may need to read the YYYYMM and YYYYMMM differently...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date( if(&amp;nbsp; len([Modified Date]) = 7 ,&amp;nbsp; date#([Modified Date],'YYYYMMM') , date#( &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Modified Date], 'YYYYMM') , 'YYYY MMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 18:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Display-max-Year-month-and-current-Time/m-p/746024#M1024768</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-04T18:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display max(Year month) and current Time</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Display-max-Year-month-and-current-Time/m-p/746025#M1024769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;date(max(if(IsNum([Modified Date]), Date#([Modified Date], 'YYYYMM'), Date#([Modified Date], 'YYYYMMM') )), 'MMM YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 19:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Display-max-Year-month-and-current-Time/m-p/746025#M1024769</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-04T19:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display max(Year month) and current Time</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Display-max-Year-month-and-current-Time/m-p/746026#M1024770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The best way ( I think) is to use purgechar to recognise the letters in the string.&lt;/P&gt;&lt;P&gt;purgechar(&amp;lt;fieldname&amp;gt;,'&amp;lt;symbols&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for instance you can check in the script:&lt;/P&gt;&lt;P&gt;date(if(IsNull(Purgechar(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Modified Date]&lt;/SPAN&gt;,'0123456789 ')), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date#([Modified Date], 'YYYYMM'), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date#([Modified Date], 'YYYYMMM') ),'YYYYMMM') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Modified Date]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So now, you have your dates are in the same format you can simply put:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Next, in the dashboard you can put simply &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(&lt;/SPAN&gt;max(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Modified Date],'YYYYMMM'&lt;/SPAN&gt;),'MMM YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 20:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Display-max-Year-month-and-current-Time/m-p/746026#M1024770</guid>
      <dc:creator>dickelsa</dc:creator>
      <dc:date>2015-03-04T20:01:05Z</dc:date>
    </item>
  </channel>
</rss>

