<?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 selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138222#M373367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, Mohamed&lt;/P&gt;&lt;P&gt;You might not understand the &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;expression&lt;/STRONG&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;=$(Variable1)'&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;The above expression select all the values which are greater than the given value&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;here given value i.e. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;Variable1=max(Year)-1 = 2015 , so it will select 2016 and 2015 both &lt;/SPAN&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="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;you can write the expresion directly &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2016 08:58:56 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2016-06-17T08:58:56Z</dc:date>
    <item>
      <title>Default selection</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138217#M373362</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;/P&gt;&lt;P&gt;On opening the document, I want to show the last two years to be selected as default.&lt;/P&gt;&lt;P&gt;I do have field named as Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2012&lt;/P&gt;&lt;P&gt;2013&lt;/P&gt;&lt;P&gt;2014&lt;/P&gt;&lt;P&gt;2015&lt;/P&gt;&lt;P&gt;2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when opening the document I want 2016 and 2015 should be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahamed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 07:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138217#M373362</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2016-06-17T07:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138218#M373363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mahamed,&lt;/P&gt;&lt;P&gt; 1.- Create a variable like this: vEntrySelections = '('&amp;amp;Max({1}Year)&amp;amp;'|'&amp;amp;Max({1}Year)-1&amp;amp;')'&lt;/P&gt;&lt;P&gt; 2.- On Document Properties -&amp;gt; Triggers -&amp;gt; Document Triggers -&amp;gt; On Open:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field -&amp;gt; Year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Search String -&amp;gt; =$(vEntrySelections)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 07:25:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138218#M373363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-17T07:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138219#M373364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to &amp;gt;&lt;STRONG&gt;Document properties &amp;gt; Triggers &amp;gt; On Open Trigger&amp;nbsp; &amp;gt;select in Field &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Select the Year field and write this expression &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'('&amp;amp;Max(Year,1) &amp;amp;'|'&amp;amp;Max(Year,2)&amp;amp;')'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 07:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138219#M373364</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-06-17T07:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138220#M373365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a trigger ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Select the Year field&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; expression&lt;/STRONG&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;=$(Variable1)'&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;where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Variable1=max(Year)-1&lt;/SPAN&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;Thanks&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 08:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138220#M373365</guid>
      <dc:creator />
      <dc:date>2016-06-17T08:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138221#M373366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi Khushboo.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kind response. But using your expression will give me only single year data.&lt;/P&gt;&lt;P&gt;You are using the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;Variable1=max(Year)-1 ie. the variable will store only max year -1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;for example my max year is 2016 then your variable will store 2015 and on opening it will show single year only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, appreciate again for your kind response. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahamed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 08:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138221#M373366</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2016-06-17T08:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138222#M373367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, Mohamed&lt;/P&gt;&lt;P&gt;You might not understand the &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;expression&lt;/STRONG&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;=$(Variable1)'&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;The above expression select all the values which are greater than the given value&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;here given value i.e. &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;Variable1=max(Year)-1 = 2015 , so it will select 2016 and 2015 both &lt;/SPAN&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="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;you can write the expresion directly &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 08:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138222#M373367</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-06-17T08:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138223#M373368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you tried my suggestion &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Go to &amp;gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Document properties &amp;gt; Triggers &amp;gt; On Open Trigger&amp;nbsp; &amp;gt;select in Field&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Select the Year field and write this expression&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;'('&amp;amp;Max(Year,1) &amp;amp;'|'&amp;amp;Max(Year,2)&amp;amp;')'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 10:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138223#M373368</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-06-17T10:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138224#M373369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Go to &amp;gt;&lt;/SPAN&gt;Document properties &amp;gt; Triggers &amp;gt; On Open Trigger&amp;nbsp; &amp;gt;select in Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Year field and write below expression in Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='(' &amp;amp; concat(distinct {&amp;lt;Year={"&amp;gt;=$(=max(Year)-1)"}&amp;gt;} Chr(34) &amp;amp; Year &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;Chr(34)&lt;/SPAN&gt;,'|') &amp;amp; ')'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 10:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138224#M373369</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-06-17T10:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138225#M373370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mahamed,&lt;/P&gt;&lt;P&gt;Try this Way&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Go to &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Document properties &amp;gt; Triggers &amp;gt; On Open Trigger&amp;nbsp; &amp;gt;select in Field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field : " Year "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;Search String : " ='(' &amp;amp; (vYear1) &amp;amp; '|' &amp;amp; (vYear2) &amp;amp; ')' "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vYear1=Max(Year)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vYear2=Max(Year)-1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 11:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection/m-p/1138225#M373370</guid>
      <dc:creator>susovan</dc:creator>
      <dc:date>2016-06-17T11:07:37Z</dc:date>
    </item>
  </channel>
</rss>

