<?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 use the max or maxstring function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207269#M882855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil the equal sign goes inside the dollar sign expansion (and not outside)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({1&amp;lt;FY={2016}, FYQTR = {"&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;=&lt;/SPAN&gt;$(MaxString(FYQTR))"}, QTR={'04'} &amp;gt;} AutoID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2016 15:04:44 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-07T15:04:44Z</dc:date>
    <item>
      <title>How to use the max or maxstring function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207264#M882850</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;I have a field called FYQTR that will store data like FY2016-QR4, FY2016-QR3,FY2016-QR2, FY2016-QR1 and so each year. I have created 2 additional fields to store the numbers FY &amp;amp; QTR that will have 2016 and 4 respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I have the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={2016}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QTR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;03"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AutoID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Because I want to count the AutoID that appears when the FY is 2016 and QTR is 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make this automatically, so I am trying to use the maxstring function but is not working at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MaxString&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FY&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;QTR)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AutoID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;But does not work, any idea on how can I have the same functionality but automatically. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/How-to-use-the-max-or-maxstring-function/m-p/1207264#M882850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the max or maxstring function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207265#M882851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be try with Dual() function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 14:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207265#M882851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-07T14:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the max or maxstring function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207266#M882852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps This, This will give count of AutoId Where FY is 2016 and QTR is 4 and then FYQTR the value is maxstring of FYQTR&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;FY&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;={2016}, &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;FY&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 8pt;"&gt;QTR = {"=$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;MaxString&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;FY&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 8pt;"&gt;QTR))"}, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;QTR&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;={'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;04'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;AutoID&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 14:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207266#M882852</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-07T14:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the max or maxstring function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207267#M882853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What would be the correct way to use the Dual() function in my script example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 14:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207267#M882853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-07T14:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the max or maxstring function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207268#M882854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({1&amp;lt;FYQTR = &lt;SPAN style="color: #ff0000;"&gt;{"$(=MaxString(FYQTR))"}&lt;/SPAN&gt;&amp;gt;} AutoID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 15:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207268#M882854</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T15:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the max or maxstring function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207269#M882855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil the equal sign goes inside the dollar sign expansion (and not outside)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({1&amp;lt;FY={2016}, FYQTR = {"&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;=&lt;/SPAN&gt;$(MaxString(FYQTR))"}, QTR={'04'} &amp;gt;} AutoID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 15:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207269#M882855</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T15:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the max or maxstring function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207270#M882856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Sunny, I thought this might work. Because i've tried same expression with diff fields using set op&lt;SPAN style="font-size: 13.3333px;"&gt;erator&lt;/SPAN&gt;. But it is given Good result. Anyway, Thanks for the solvation. Please correct me if i am wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we created one variable like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET V1 = &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MaxString(FYQTR)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This case, We are not using the =&amp;nbsp; Symbol, right? From this below expression we are not using the = Symbol, Right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Count({1&amp;lt;FY={2016}, FYQTR = {"&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14pt; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;$('$(V1)')"}, QTR={'04'} &amp;gt;} AutoID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;A _jive_internal="true" class="jive-acclaim-likelink" data-command="like" data-object-id="1138532" data-object-type="2" href="https://community.qlik.com/message/1138532?et=watches.email.thread" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Re: How to use the max or maxstring function&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 15:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207270#M882856</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-07T15:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the max or maxstring function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207271#M882857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the comments, everything worked properly with that. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 15:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207271#M882857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-07T15:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the max or maxstring function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207272#M882858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 15:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-max-or-maxstring-function/m-p/1207272#M882858</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T15:52:03Z</dc:date>
    </item>
  </channel>
</rss>

