<?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: Default in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Default/m-p/94080#M757752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have date field? If so, I suggest you to work from Date field like for &lt;STRONG&gt;OnOpen Trigger&lt;/STRONG&gt; using &lt;STRONG&gt;DateField&lt;/STRONG&gt; is the field and &lt;STRONG&gt;String&lt;/STRONG&gt; like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='&amp;gt;=' &amp;amp; Date(QuarterStart(Max(DateField), -4)) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(DateField))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2018 11:16:14 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-09-05T11:16:14Z</dc:date>
    <item>
      <title>Default</title>
      <link>https://community.qlik.com/t5/QlikView/Default/m-p/94079#M757751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-avatarid="6257" data-externalid="" data-online="false" data-presence="null" data-userid="96544" data-username="gwassenaar" href="https://community.qlik.com/people/gwassenaar" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #f2f2f2;" target="_blank"&gt;Gysbert Wassenaar&lt;/A&gt;&lt;SPAN style="color: #a9a9a9; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i have field&amp;nbsp;&amp;nbsp; quarter&lt;/P&gt;&lt;P&gt;2017Q1&lt;/P&gt;&lt;P&gt;2017Q2&lt;/P&gt;&lt;P&gt;2017Q3&lt;/P&gt;&lt;P&gt;2017Q4&lt;/P&gt;&lt;P&gt;2018Q1&lt;/P&gt;&lt;P&gt;2018Q2&lt;/P&gt;&lt;P&gt;2018Q3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to be default selection with&amp;nbsp; last four&amp;nbsp; quarters when ever i open the dashboard.&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/Default/m-p/94079#M757751</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Default</title>
      <link>https://community.qlik.com/t5/QlikView/Default/m-p/94080#M757752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have date field? If so, I suggest you to work from Date field like for &lt;STRONG&gt;OnOpen Trigger&lt;/STRONG&gt; using &lt;STRONG&gt;DateField&lt;/STRONG&gt; is the field and &lt;STRONG&gt;String&lt;/STRONG&gt; like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='&amp;gt;=' &amp;amp; Date(QuarterStart(Max(DateField), -4)) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(DateField))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default/m-p/94080#M757752</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-09-05T11:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Default</title>
      <link>https://community.qlik.com/t5/QlikView/Default/m-p/94081#M757753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i dont have date field anil.&amp;nbsp; from database directly getting that&amp;nbsp; field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default/m-p/94081#M757753</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2018-09-05T11:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Default</title>
      <link>https://community.qlik.com/t5/QlikView/Default/m-p/94082#M757754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that your Quarter is a string what meant that there is no easy way to calculate with the values but you could create a date from it, for example with something like: date(date#('2017Q1', 'YYYYQM'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But easier in your case should be to load your data sorted to Quarter and using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;autonumber(Quarter) as QNumber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then your condition within the trigger could look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= '&amp;gt;=' &amp;amp; max(QNumber) - 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default/m-p/94082#M757754</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-05T11:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Default</title>
      <link>https://community.qlik.com/t5/QlikView/Default/m-p/94083#M757755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its not working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/marcus_sommer"&gt;marcus_sommer&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i have created&amp;nbsp;&amp;nbsp; autonumber(Quarter) as QNumber &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in onopen trigger &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field= QNumber&lt;/P&gt;&lt;P&gt;string= &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;= '&amp;gt;=' &amp;amp; max(QNumber) - 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;but its not giving the result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default/m-p/94083#M757755</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2018-09-05T11:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Default</title>
      <link>https://community.qlik.com/t5/QlikView/Default/m-p/94084#M757756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI&lt;/P&gt;&lt;P&gt;ATTACHING THE SAMPLE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 11:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default/m-p/94084#M757756</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2018-09-05T11:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Default</title>
      <link>https://community.qlik.com/t5/QlikView/Default/m-p/94085#M757757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess, simple rank() could work here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search String &lt;STRONG&gt;='=Rank(Quarter)&amp;lt;5'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212696_Capture.JPG" style="height: 235px; width: 620px;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the same search string in OnOpen trigger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 12:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default/m-p/94085#M757757</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-09-05T12:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Default</title>
      <link>https://community.qlik.com/t5/QlikView/Default/m-p/94086#M757758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it select the wrong quarters or happens nothing? The autonumber-approach worked only if the data are loaded with a proper sorting. Further worked with only one parameter if it's used once - by applying it multiple times a second parameter must be specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereby I think the solution from Tresesco is even more easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 12:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default/m-p/94086#M757758</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-05T12:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Default</title>
      <link>https://community.qlik.com/t5/QlikView/Default/m-p/94087#M757759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/tresesco"&gt;tresesco&lt;/A&gt;&lt;/STRONG&gt; solution is working perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but one doubt i have here&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i have given background color&amp;nbsp; for dimension but it is not taking all values&amp;nbsp; why this is happening?&lt;IMG alt="dim-clr.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212700_dim-clr.PNG" style="height: 10px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 12:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default/m-p/94087#M757759</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2018-09-05T12:18:39Z</dc:date>
    </item>
  </channel>
</rss>

