<?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: get two  always in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542952#M745679</link>
    <description>&lt;P&gt;yes.&lt;/P&gt;&lt;P&gt;currently&amp;nbsp; 2019Q1 is the max quarter&amp;nbsp; 2018Q4 is the second max quarter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so latest two quarters 2019Q1 and 2018Q4 to be selected.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2019 12:12:37 GMT</pubDate>
    <dc:creator>soniasweety</dc:creator>
    <dc:date>2019-02-12T12:12:37Z</dc:date>
    <item>
      <title>get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542918#M745672</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593" target="_self"&gt;&lt;SPAN class="login-bold"&gt;Rubenmarin&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&lt;/P&gt;&lt;P&gt;i have a field like&amp;nbsp; quarter&amp;nbsp; with values&amp;nbsp; like&amp;nbsp; 2018Q1,2018Q2,2018Q3,2018Q4,2019Q1&lt;/P&gt;&lt;P&gt;so whenever i open the dashboard i need to see latest two quarters as selected.&lt;/P&gt;&lt;P&gt;how to achive this?&lt;/P&gt;&lt;P&gt;output: 2018Q4,2019Q1&amp;nbsp; [&amp;nbsp; &amp;nbsp;if 2019Q2 in the data&amp;nbsp; the result will be&amp;nbsp; 2019Q1 and 2019Q2]&amp;nbsp; like dynamic latest two quarters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542918#M745672</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2024-11-16T21:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542926#M745673</link>
      <description>&lt;P&gt;documrnt settings -&amp;gt; trigers-&amp;gt; on open -&amp;gt; select in field -&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lets assume string is the field.&lt;/P&gt;&lt;P&gt;=MaxString({&amp;lt;string=-{"$(=maxstring(string))"}&amp;gt;}string)&amp;nbsp; &amp;nbsp; // this will give the second max string&lt;/P&gt;&lt;P&gt;=maxstring(string)&amp;nbsp; &amp;nbsp; / this will give the max string&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 11:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542926#M745673</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-12T11:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542930#M745674</link>
      <description>giving error in expression.</description>
      <pubDate>Tue, 12 Feb 2019 11:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542930#M745674</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-02-12T11:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542932#M745675</link>
      <description>&lt;P&gt;atatching sample&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 11:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542932#M745675</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-02-12T11:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542933#M745676</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18743"&gt;@soniasweety&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;giving error in expression.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Well if your Quarters are string values this should work just fine. Did you change the field string to your quarter field? Can you please write your final expression here. I dont have the qlik license so would not be able to open it.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 11:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542933#M745676</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-12T11:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542935#M745677</link>
      <description>your expression is taking the second higest quarter &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; but i dont want that&lt;BR /&gt;&lt;BR /&gt;i want latest two quarters that means 2018Q4 and 2019Q1 these are the latest two quarters to be selected in listbox by on open</description>
      <pubDate>Tue, 12 Feb 2019 12:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542935#M745677</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-02-12T12:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542949#M745678</link>
      <description>&lt;P&gt;Isn't 2018Q4 the second highest quarter?&amp;nbsp; do you have future quarter listed as well?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542949#M745678</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-12T12:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542952#M745679</link>
      <description>&lt;P&gt;yes.&lt;/P&gt;&lt;P&gt;currently&amp;nbsp; 2019Q1 is the max quarter&amp;nbsp; 2018Q4 is the second max quarter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so latest two quarters 2019Q1 and 2018Q4 to be selected.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542952#M745679</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-02-12T12:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542966#M745680</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=MaxString({&amp;lt;string=-{"$(=maxstring(string))"}&amp;gt;}string)&amp;nbsp; &amp;nbsp; // this will give the second max string

=maxstring(string)&amp;nbsp; &amp;nbsp; / this will give the max string&lt;/PRE&gt;&lt;P&gt;the above will do if you want the max and second max quarter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for latest and second latest you can try&lt;/P&gt;&lt;PRE&gt;=year(today()) &amp;amp; 'Q' &amp;amp; ceil(month(today())/3)

=year(ADDMONTHS(today(),-3)) &amp;amp; 'Q' &amp;amp; ceil(month(ADDMONTHS(today(),-3))/3)

&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542966#M745680</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-12T12:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542978#M745681</link>
      <description>thank you. but still its not working.&lt;BR /&gt;&lt;BR /&gt;i need an single expression two select latest two quarters from the data&lt;BR /&gt;my data looks like below&lt;BR /&gt;Quarter&lt;BR /&gt;2018Q1&lt;BR /&gt;2018Q2&lt;BR /&gt;2018Q3&lt;BR /&gt;2018Q4 so now when i open the qlikview in listbox 2018Q3,2018Q4 should be selected.&lt;BR /&gt;for example 2019Q1 is added now the result should be 2018Q4 and 2019Q1&lt;BR /&gt;could you please attach your sample that you have tried?</description>
      <pubDate>Tue, 12 Feb 2019 12:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542978#M745681</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-02-12T12:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542986#M745682</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;='('&amp;nbsp; &amp;amp;&amp;nbsp;&amp;nbsp;year(today()) &amp;amp; 'Q' &amp;amp; ceil(month(today())/3) '|' &amp;amp;&amp;nbsp;&amp;nbsp;year(ADDMONTHS(today(),-3)) &amp;amp; 'Q' &amp;amp; ceil(month(ADDMONTHS(today(),-3))/3)&amp;nbsp; &amp;nbsp;&amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;')'&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542986#M745682</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-12T12:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542989#M745683</link>
      <description>&lt;P&gt;garbage error&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="garb.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5762i5008BAB3A40591C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="garb.PNG" alt="garb.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542989#M745683</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-02-12T12:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542991#M745684</link>
      <description>&lt;P&gt;My bad&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;='('  &amp;amp;  year(today()) &amp;amp; 'Q' &amp;amp; ceil(month(today())/3) &amp;amp; '|' &amp;amp;  year(ADDMONTHS(today(),-3)) &amp;amp; 'Q' &amp;amp; ceil(month(ADDMONTHS(today(),-3))/3)   &amp;amp;   ')'&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542991#M745684</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-12T12:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542995#M745685</link>
      <description>No luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; still its taking only 2018Q4&lt;BR /&gt;&lt;BR /&gt;assume that i have data 2018Q1 ,2018Q2,2018Q3,2018Q4 ......... the result 2018Q3,2018Q4&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Feb 2019 12:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542995#M745685</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-02-12T12:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542999#M745686</link>
      <description>&lt;P&gt;What about this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=chr(39) &amp;amp; '('  &amp;amp;  year(today()) &amp;amp; 'Q' &amp;amp; ceil(month(today())/3) &amp;amp; '|' &amp;amp;  year(ADDMONTHS(today(),-3)) &amp;amp; 'Q' &amp;amp; ceil(month(ADDMONTHS(today(),-3))/3)   &amp;amp;   ')' &amp;amp; chr(39)&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1542999#M745686</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-12T13:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543003#M745687</link>
      <description>Nothing selecting in listbox &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543003#M745687</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-02-12T13:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543004#M745688</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18743"&gt;@soniasweety&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;No luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; still its taking only 2018Q4&lt;BR /&gt;&lt;BR /&gt;assume that i have data 2018Q1 ,2018Q2,2018Q3,2018Q4 ......... the result 2018Q3,2018Q4&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hey ,,, you said latest quarter so it should select 2018q4 AND 2019 Q1&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need max quarter&amp;nbsp; and second max quarter you have to use maximum expression i have asked you to use&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543004#M745688</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-12T13:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543005#M745689</link>
      <description>anything.. dynamically it should take max two quarters whatever the quarters present in the data.&lt;BR /&gt;&lt;BR /&gt;i cant use for 2018Quarters seperatly and 2019Qurters seperately &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543005#M745689</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2019-02-12T13:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543008#M745690</link>
      <description>&lt;P&gt;See.. there are two cases&amp;nbsp;&lt;/P&gt;&lt;P&gt;maximum and second maximum quarter use&lt;/P&gt;&lt;PRE&gt;'('  &amp;amp; MaxString({&amp;lt;string=-{"$(=maxstring(string))"}&amp;gt;}string) &amp;amp; '|' &amp;amp;  maxstring(string)    &amp;amp;   ')'&lt;/PRE&gt;&lt;P&gt;latest and second latest quarter&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;'('  &amp;amp;  year(today()) &amp;amp; 'Q' &amp;amp; ceil(month(today())/3) &amp;amp; '|' &amp;amp;  year(ADDMONTHS(today(),-3)) &amp;amp; 'Q' &amp;amp; ceil(month(ADDMONTHS(today(),-3))/3)   &amp;amp;   ')'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: replace string with your quarter field in first expression&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543008#M745690</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-12T13:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: get two  always</title>
      <link>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543377#M745691</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you solve this . if yes then please close the thread.&lt;/P&gt;&lt;P&gt;If not then i am attaching the sample QVW as you have asked, I didn't have qv with me when you asked for a sample. Attached sample is using the expression i have asked you to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 05:44:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-two-always/m-p/1543377#M745691</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-13T05:44:56Z</dc:date>
    </item>
  </channel>
</rss>

