<?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 Select max value in list box by default in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773286#M1032048</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 problem of getting the max date selected in a list box. I am not sure how this needs to be done. Greatly appreciate any advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gayan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 12:56:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-27T12:56:39Z</dc:date>
    <item>
      <title>Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773286#M1032048</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 problem of getting the max date selected in a list box. I am not sure how this needs to be done. Greatly appreciate any advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gayan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 12:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773286#M1032048</guid>
      <dc:creator />
      <dc:date>2015-01-27T12:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773287#M1032049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why does it &lt;EM&gt;need&lt;/EM&gt; to be done? What's the problem with letting the user decide which date should be selected? Sort the date listbox in descending order if necessary to let the user easily select the maximum date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 12:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773287#M1032049</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-27T12:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773288#M1032050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason being I need to keep the most recent date selected by default so that the users when opening the document will first see the most recent details and if needed can select previous dates. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Gayan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 13:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773288#M1032050</guid>
      <dc:creator />
      <dc:date>2015-01-27T13:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773289#M1032051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try using the OnOpen document trigger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 13:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773289#M1032051</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-27T13:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773290#M1032052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the 'select in field' action we need to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 13:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773290#M1032052</guid>
      <dc:creator />
      <dc:date>2015-01-27T13:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773291#M1032053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 13:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773291#M1032053</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-27T13:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773292#M1032054</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;maybe this helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_138019_Pic1.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76370_QlikCommunity_Thread_138019_Pic1.JPG" style="height: 312px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/635453#635453" title="http://community.qlik.com/message/635453#635453"&gt;http://community.qlik.com/message/635453#635453&lt;/A&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 13:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773292#M1032054</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-01-27T13:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773293#M1032055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert and Marco for the illustration. I tried adding the action but on the reload, I cannot get the list box to highlight the max date. Is it something I've missed? The list box controller has the 'census_time' assigned. I have attached the screenshot of the action.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Default Date.jpg" class="image-1 jive-image" src="/legacyfs/online/76365_Default Date.jpg" style="height: 521px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773293#M1032055</guid>
      <dc:creator />
      <dc:date>2015-01-27T14:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773294#M1032056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would create a text box with the same expression (=max({1} census_time) to check if the this is the same format as the format of census_time in the document properties. If the format is different, I would think that the selection won't be made. So you will essentially have to force the format to be the same one by using Date function if census_time is a date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773294#M1032056</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-01-27T14:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773295#M1032057</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 no idea how you data looks like but what happens if you just use the max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;census_time) as I assume your users dont have any other selections triggered on document opening? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 15:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773295#M1032057</guid>
      <dc:creator />
      <dc:date>2015-01-27T15:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select max value in list box by default</title>
      <link>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773296#M1032058</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;Thank you for all the valuable advice given. I don't know if its an issue in my PC or in the qlikview edition as a whole but apparently after setting the onOpen function when I tried opening the page using the 'Open in Server' option, the max date was selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the feedback given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 10:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-max-value-in-list-box-by-default/m-p/773296#M1032058</guid>
      <dc:creator />
      <dc:date>2015-01-29T10:19:37Z</dc:date>
    </item>
  </channel>
</rss>

