<?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 how to set default selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344545#M127285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Always one selcted is not disabled for your liast box. You first select any one value then go to list box properties and then it will be available.&lt;/P&gt;&lt;P&gt;Also, for your requirement on open trigger should work fine because it is not dependent on tabs, so if you go to different tab, do some selections and come back to first tab it will not change your selections. This behavior is of on Activate sheet trigger.&lt;/P&gt;&lt;P&gt;On Open trigger will work when the application is opened by the user. So, a user opens an application then this trigger will run and select max(year) in your year field but then it will not run for his entire session. Then again user closes the application and next time it again opnes then it will again run the trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2012 04:21:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-12T04:21:00Z</dc:date>
    <item>
      <title>how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344540#M127280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to know how to set default selection in sheet object. ie. when we first login, the max(year) should be selected by default. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 11:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344540#M127280</guid>
      <dc:creator />
      <dc:date>2012-04-10T11:16:28Z</dc:date>
    </item>
    <item>
      <title>how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344541#M127281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;Go to Settings -&amp;gt; Document Properties -&amp;gt; Triggers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;Select the “OnOpen” trigger and press “Add Action”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;Add the Select in Field Trigger (section Selection)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;Field: year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;Search String: &lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;= max(year)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;Hth,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;Thilo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 11:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344541#M127281</guid>
      <dc:creator />
      <dc:date>2012-04-10T11:24:35Z</dc:date>
    </item>
    <item>
      <title>how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344542#M127282</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am assuming that you have the year field as a selection criteria and it appears as a list box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So now, goto the list box properties and select "Always one selected value" in general tab of the list box properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrew Hudson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 04:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344542#M127282</guid>
      <dc:creator>adhudson</dc:creator>
      <dc:date>2012-04-11T04:29:06Z</dc:date>
    </item>
    <item>
      <title>how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344543#M127283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want max(year) or any other year selected in that field to stay selected even if you press selcted then go by Andews's way but if you want that when you press clear year should be cleared also. Then, go by triggers way as Thilo suggested.&lt;/P&gt;&lt;P&gt;One thing to note here is that if you go by Always one selected value as suggested by Andrew then you will never be able to select more than one year. (for example you can not select 2010 and 2011 both).&lt;/P&gt;&lt;P&gt;So, it all depends your requirement but always one selected mode should be preferred over triggers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 05:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344543#M127283</guid>
      <dc:creator />
      <dc:date>2012-04-11T05:00:17Z</dc:date>
    </item>
    <item>
      <title>how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344544#M127284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your detailed explination. See what i am thinking is i can not use "onOpen" trigger, because 1st timelogin that is fine with trigger, but if I am playing on different tabs and comeback to dashboard , then the trigger will reset my year selection to max(year) insted of keeping my selection from different tab.&amp;nbsp; I did not know how Andrew option works because "Always one selected value" is disable for this list box in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See all i need this selection only 1st time login. So i am thinking of set this when login only. so after login and play with different sheets and still maintain the year selection across the sheets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way i can incorporate this trigger or some thing during the authientacation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 00:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344544#M127284</guid>
      <dc:creator />
      <dc:date>2012-04-12T00:44:07Z</dc:date>
    </item>
    <item>
      <title>how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344545#M127285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Always one selcted is not disabled for your liast box. You first select any one value then go to list box properties and then it will be available.&lt;/P&gt;&lt;P&gt;Also, for your requirement on open trigger should work fine because it is not dependent on tabs, so if you go to different tab, do some selections and come back to first tab it will not change your selections. This behavior is of on Activate sheet trigger.&lt;/P&gt;&lt;P&gt;On Open trigger will work when the application is opened by the user. So, a user opens an application then this trigger will run and select max(year) in your year field but then it will not run for his entire session. Then again user closes the application and next time it again opnes then it will again run the trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 04:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344545#M127285</guid>
      <dc:creator />
      <dc:date>2012-04-12T04:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344546#M127286</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope the attached file will be solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Settings--&amp;gt;Document Properties--&amp;gt;Triggers--&amp;gt;DocumentEventTriggers---&amp;gt;OnOpen---&amp;gt;add action--&amp;gt;Select in Field ( Field --&amp;gt; year , Value--&amp;gt;Max(Year))&lt;/P&gt;&lt;P&gt;&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;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 05:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344546#M127286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-12T05:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344547#M127287</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 am using 2 Triggers for it 1 for max(Year) and 2 for max(Month).&lt;/P&gt;&lt;P&gt;But my max(Year) is 2012 and max(Month) in 2012 is Aug. and not Dec.&lt;/P&gt;&lt;P&gt;When I open my document it is showing data where max(Year)=2012 &amp;amp; max(Month)=Dec&lt;/P&gt;&lt;P&gt;I checked this using text objects. But in actual it should show me 2012 Aug data right?&lt;/P&gt;&lt;P&gt;Can you please help me regarding this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Yojas &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 05:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344547#M127287</guid>
      <dc:creator />
      <dc:date>2012-09-28T05:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344548#M127288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was looking for the similar thing &amp;amp; did what was mentioned here &amp;amp; it worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for providing the direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 21:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344548#M127288</guid>
      <dc:creator>hkapadia</dc:creator>
      <dc:date>2014-07-30T21:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344549#M127289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to select more that one value in a drop down using this method? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 17:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344549#M127289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-30T17:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to set default selection</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344550#M127290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default selections can be made by using Document Bookmarks and using triggers combined easily.&lt;/P&gt;&lt;P&gt;1.Make selections -&amp;gt; Add Bookmark(save as document bookmark) Note Bookmark ID&lt;/P&gt;&lt;P&gt;2.Sheet Properties-&amp;gt; Triggers-&amp;gt; Activate-&amp;gt; Bookmarks--&amp;gt; provide above Bookmark ID.&lt;/P&gt;&lt;P&gt;works like charm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that same for Document level triggers.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 09:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-set-default-selection/m-p/344550#M127290</guid>
      <dc:creator />
      <dc:date>2015-11-14T09:12:00Z</dc:date>
    </item>
  </channel>
</rss>

