<?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 Default selection on calculated field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Default-selection-on-calculated-field/m-p/828472#M988557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I want to have some fields selected by default when opening the sheet. &lt;/P&gt;&lt;P&gt;Therefore I added a trigger in the document properties.&lt;/P&gt;&lt;P&gt;My field is names "date" and has the form 2015.05.19. I have several list boxes which show the year (=Year(date)) or the month (=Month(date)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, so when adding the trigger, I have to enter a field and a value. I would assume that my field is "date" and my selected value is =Year(today(1)). &lt;/P&gt;&lt;P&gt;But this does not work. The year in the listbox is not selected. Does anyone know what I am doing wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2015 11:30:38 GMT</pubDate>
    <dc:creator>nigel987</dc:creator>
    <dc:date>2015-07-20T11:30:38Z</dc:date>
    <item>
      <title>Default selection on calculated field</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection-on-calculated-field/m-p/828472#M988557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I want to have some fields selected by default when opening the sheet. &lt;/P&gt;&lt;P&gt;Therefore I added a trigger in the document properties.&lt;/P&gt;&lt;P&gt;My field is names "date" and has the form 2015.05.19. I have several list boxes which show the year (=Year(date)) or the month (=Month(date)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, so when adding the trigger, I have to enter a field and a value. I would assume that my field is "date" and my selected value is =Year(today(1)). &lt;/P&gt;&lt;P&gt;But this does not work. The year in the listbox is not selected. Does anyone know what I am doing wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection-on-calculated-field/m-p/828472#M988557</guid>
      <dc:creator>nigel987</dc:creator>
      <dc:date>2015-07-20T11:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection on calculated field</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection-on-calculated-field/m-p/828473#M988558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qv tries to match a value like 2015 (=Year(today(1))) to date values (like 2015.05.19). this obviously won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2015 &amp;lt;&amp;gt; 2015.05.19&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either create a year field in the script (recommended), or try a selection in date field using a search string in the action like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;=' &amp;amp; Date(yearstart(today()),'YYYY.MM.DD')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 18:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection-on-calculated-field/m-p/828473#M988558</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-20T18:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Default selection on calculated field</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection-on-calculated-field/m-p/828474#M988559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;creating a new field in the script worked fine for me. Thanks for the advice. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 07:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection-on-calculated-field/m-p/828474#M988559</guid>
      <dc:creator>nigel987</dc:creator>
      <dc:date>2015-07-22T07:38:21Z</dc:date>
    </item>
  </channel>
</rss>

