<?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: find max  quarter (Year-Q1) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117668#M19237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow!,I never knew there about maxstring() function .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 21:01:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-20T21:01:17Z</dc:date>
    <item>
      <title>find max  quarter (Year-Q1)</title>
      <link>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117663#M19232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field where the values are stored as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2001-Q1&lt;/P&gt;&lt;P&gt;2002-Q4&lt;/P&gt;&lt;P&gt;2000-Q2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.So on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to find the max value in the front end. ,and its should be displayed in 'YYYY-Q' format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips ..as they are interpreted as string values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 20:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117663#M19232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-20T20:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: find max  quarter (Year-Q1)</title>
      <link>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117664#M19233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MaxString(QuarterField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return the latest quarter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it might be good to interpret your values as duals, so you can use Date /Time functions on them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Interpreting like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Dual(Quarter, QuarterStart(Makedate(Left(Quarter,4)),Right(Quarter,1)-1)) as QuarterDual&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; INLINE [&lt;/P&gt;&lt;P&gt;Quarter&lt;/P&gt;&lt;P&gt;2001-Q1&lt;/P&gt;&lt;P&gt;2002-Q4&lt;/P&gt;&lt;P&gt;2000-Q2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 20:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117664#M19233</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-20T20:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: find max  quarter (Year-Q1)</title>
      <link>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117665#M19234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wot ever you decide, always go back to your base unit as users are fickle, get it working @ the base unit, the rest should fall into place&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 20:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117665#M19234</guid>
      <dc:creator />
      <dc:date>2016-05-20T20:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: find max  quarter (Year-Q1)</title>
      <link>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117666#M19235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you swuel, it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the only problem is in the textbox it shows the numberic values I want to display as YYYY-Q&lt;/P&gt;&lt;P&gt;How can it be done&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the only way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(max(QuarterDual),'YYYY')&amp;amp;'-Q'&amp;amp;ceil(month(max(QuarterDual))/3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 20:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117666#M19235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-20T20:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: find max  quarter (Year-Q1)</title>
      <link>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117667#M19236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, keeping the text format of a dual value when e.g. using Max() might get annoying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your specific case, you should be able to use MaxString(Quarter) or MaxString(QuarterDual)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other cases, you might need to reformat the value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 20:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117667#M19236</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-20T20:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: find max  quarter (Year-Q1)</title>
      <link>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117668#M19237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow!,I never knew there about maxstring() function .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 21:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/find-max-quarter-Year-Q1/m-p/1117668#M19237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-20T21:01:17Z</dc:date>
    </item>
  </channel>
</rss>

