<?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 value from a rolling quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437166#M809629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use Max() then ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2017 17:01:41 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-10-11T17:01:41Z</dc:date>
    <item>
      <title>Max value from a rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437164#M809627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is few examples of a field that has rolling quarter. These values are derived from a date column (YYYYMM format).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve the result as seen below in a chart? It's always 4 rolling quarters. Minstring and Maxstring doesn't always give correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;2Q 2016&lt;BR /&gt;3Q 2016&lt;BR /&gt;4Q 2016&lt;BR /&gt;1Q 2017&lt;BR /&gt;Result = 1Q 2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;3Q 2016&lt;BR /&gt;4Q 2016&lt;BR /&gt;1Q 2017&lt;BR /&gt;2Q 2017&lt;BR /&gt;Result = 2Q 2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)&lt;/P&gt;&lt;P&gt;4Q 2016&lt;BR /&gt;1Q 2017&lt;BR /&gt;2Q 2017&lt;BR /&gt;3Q 2017&lt;BR /&gt;Result = 3Q 2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4)&lt;/P&gt;&lt;P&gt;4Q 2017&lt;BR /&gt;3Q 2017&lt;BR /&gt;2Q 2017&lt;BR /&gt;1Q 2018&lt;BR /&gt;Result = 1Q 2018&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minstring(QtrYr)&lt;BR /&gt;Maxstring(QtrYr)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437164#M809627</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max value from a rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437165#M809628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try FirstSortedValue. You need to be more specific on what the requirement is. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 16:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437165#M809628</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2017-10-11T16:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Max value from a rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437166#M809629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use Max() then ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 17:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437166#M809629</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-11T17:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Max value from a rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437167#M809630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MIN n MAX functions work for numeric data type. In this example, the values are string (non numeric) type. So MAX() doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 17:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437167#M809630</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2017-10-11T17:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Max value from a rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437168#M809631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be assign this field an underlying numeric value...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Dual(Pick(WildMatch(QuarterYear, '1Q*', '2Q*', '3Q*', '4Q*'), 3, 6, 9, 12) + Right(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;QuarterYear, 4), &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;QuarterYear) as &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;QuarterYear&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now max and maxstring will both work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 17:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437168#M809631</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-11T17:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Max value from a rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437169#M809632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Subash,&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Div(Month(max(Date))-1,3)+1 &amp;amp; 'Q ' &amp;amp; Year(max(Date))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 08:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437169#M809632</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-10-12T08:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Max value from a rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437170#M809633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew and Sunny,&lt;/P&gt;&lt;P&gt;Thank you for your response. I tried both the option but didn't seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a sample QVW. Basically, I need to get the latest value of the rolling quarter - either in YYYYMM format or &amp;lt;Qtr_Num&amp;gt;Q YYYY (for instance 1Q 2017).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 12:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437170#M809633</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2017-10-13T12:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Max value from a rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437171#M809634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 12:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437171#M809634</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-13T12:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Max value from a rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437172#M809635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 12:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-from-a-rolling-quarter/m-p/1437172#M809635</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2017-10-13T12:45:13Z</dc:date>
    </item>
  </channel>
</rss>

