<?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 period selection on opening document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Default-period-selection-on-opening-document/m-p/1206998#M387761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QlikViewers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a solution to my problem.&lt;/P&gt;&lt;P&gt;When a user opens the document all the previous months of the current year should be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to do so using a bookmark, and select this bookmark by the OnOpen trigger. Problem here is that I have to manually update the bookmark every month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make my life easier I'm looking for a solution that does this for me. Perhaps with a variable.&lt;/P&gt;&lt;P&gt;I already tried to use the OnOpen trigger on my year field (easy: year(today)) and month field (='&amp;lt;=' &amp;amp; '$(vPrevMonth)' ) (vPrevMonth returns 30-09-2016 for example)&lt;/P&gt;&lt;P&gt;This does the trick, however, in my month listbox the months are not properly selected (no green selection...) Future months are greyed out. So if the user looks very close he/she would be able to see that there is a 'active selection'. (Also visible in the Current Selection(s) box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question: what would be the solution to get a proper selection on opening?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2016 10:38:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-10-07T10:38:40Z</dc:date>
    <item>
      <title>Default period selection on opening document</title>
      <link>https://community.qlik.com/t5/QlikView/Default-period-selection-on-opening-document/m-p/1206998#M387761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QlikViewers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a solution to my problem.&lt;/P&gt;&lt;P&gt;When a user opens the document all the previous months of the current year should be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to do so using a bookmark, and select this bookmark by the OnOpen trigger. Problem here is that I have to manually update the bookmark every month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make my life easier I'm looking for a solution that does this for me. Perhaps with a variable.&lt;/P&gt;&lt;P&gt;I already tried to use the OnOpen trigger on my year field (easy: year(today)) and month field (='&amp;lt;=' &amp;amp; '$(vPrevMonth)' ) (vPrevMonth returns 30-09-2016 for example)&lt;/P&gt;&lt;P&gt;This does the trick, however, in my month listbox the months are not properly selected (no green selection...) Future months are greyed out. So if the user looks very close he/she would be able to see that there is a 'active selection'. (Also visible in the Current Selection(s) box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question: what would be the solution to get a proper selection on opening?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 10:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-period-selection-on-opening-document/m-p/1206998#M387761</guid>
      <dc:creator />
      <dc:date>2016-10-07T10:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Default period selection on opening document</title>
      <link>https://community.qlik.com/t5/QlikView/Default-period-selection-on-opening-document/m-p/1206999#M387762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just put the on open trigger on the field instead of using a bookmark. Have you tried that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 16:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-period-selection-on-opening-document/m-p/1206999#M387762</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-07T16:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Default period selection on opening document</title>
      <link>https://community.qlik.com/t5/QlikView/Default-period-selection-on-opening-document/m-p/1207000#M387763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to put the trigger on the month field (resident Master Calendar: Month(TemDate)), but without succes.&lt;/P&gt;&lt;P&gt;I'm able to get a selection of a single month (vPreviousMonth = &lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: NL; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: NL; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: NL; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: NL; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;MonthEnd&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: NL; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: NL; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: NL; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: NL; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: NL; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;(),-1))) &lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;But not the selection of all the months of this year 'till previous month. (Period selection) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it has something to do with the (date) format of my variable. Could that be the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 09:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-period-selection-on-opening-document/m-p/1207000#M387763</guid>
      <dc:creator />
      <dc:date>2016-10-10T09:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Default period selection on opening document</title>
      <link>https://community.qlik.com/t5/QlikView/Default-period-selection-on-opening-document/m-p/1207001#M387764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved my problem.&lt;/P&gt;&lt;P&gt;Issue was probably with the date/month format in my month field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution:&lt;/P&gt;&lt;P&gt;vPreviousMonth : &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),-1)) &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onOpen trigger:&lt;/P&gt;&lt;P&gt;Select in Field &amp;gt; Date_month &amp;gt; &lt;SPAN style="font-size: 8pt;"&gt;='&amp;lt;='&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vPreviousMonth&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;This will make a selection of all the previous months on opening of the .qvw&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 11:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-period-selection-on-opening-document/m-p/1207001#M387764</guid>
      <dc:creator />
      <dc:date>2016-10-10T11:32:12Z</dc:date>
    </item>
  </channel>
</rss>

