<?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 Display on open in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769968#M1040795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the 2nd half of my post, you can use the Today() function to grab today's date, and the pull the year and month from that&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year(Today()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month(Today())&amp;nbsp;&amp;nbsp; or if your most recent month is behind today's month,&amp;nbsp;&amp;nbsp; Max(&amp;nbsp; {$&amp;lt;Year={$(=Year(Today()))}&amp;nbsp; Month) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2014 19:41:38 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-12-03T19:41:38Z</dc:date>
    <item>
      <title>Default Display on open</title>
      <link>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769964#M1040787</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 would like my Year and Month list boxes to auto select current year and month when users access the model. How can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 17:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769964#M1040787</guid>
      <dc:creator />
      <dc:date>2014-12-03T17:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Default Display on open</title>
      <link>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769965#M1040789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi goto document properties&amp;gt; on open sheet&amp;gt; add triger &amp;gt; add action &amp;gt; max(year)&amp;amp;max(month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 18:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769965#M1040789</guid>
      <dc:creator />
      <dc:date>2014-12-03T18:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Default Display on open</title>
      <link>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769966#M1040793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want it on the 'open document' trigger&amp;nbsp; and use&amp;nbsp; two&amp;nbsp; 'select in field' actions with the above expressions for the respective fields .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For max month, grab the max month for the max(year) through SET ANALYSIS because even though you have full years, you may be partially through the year at say November and you want November, not December. Here is a sample expression for select in field on the month field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max( {$&amp;lt;Year={$(=Max(Year))}&amp;gt;} Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also use Year(Today()) and Month(Today()) to get back today's year and month, but your app may not have data for today year and month so max() is usually more safe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 18:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769966#M1040793</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-03T18:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Default Display on open</title>
      <link>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769967#M1040794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing though, I have years in the future as the field I am using for years has years like 2015,2016,2017.&lt;/P&gt;&lt;P&gt;So Max will default to 2017 and I want it to default to the current year. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 18:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769967#M1040794</guid>
      <dc:creator />
      <dc:date>2014-12-03T18:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Default Display on open</title>
      <link>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769968#M1040795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the 2nd half of my post, you can use the Today() function to grab today's date, and the pull the year and month from that&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year(Today()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month(Today())&amp;nbsp;&amp;nbsp; or if your most recent month is behind today's month,&amp;nbsp;&amp;nbsp; Max(&amp;nbsp; {$&amp;lt;Year={$(=Year(Today()))}&amp;nbsp; Month) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 19:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769968#M1040795</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-03T19:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Default Display on open</title>
      <link>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769969#M1040796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this expression is what i was looking for as it would avoid&amp;nbsp; multiple Triggers for the QV document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 22:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769969#M1040796</guid>
      <dc:creator>saurabh5</dc:creator>
      <dc:date>2014-12-03T22:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Default Display on open</title>
      <link>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769970#M1040797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to hear.&amp;nbsp; Worth marking correct / helpful posts so that others with future dates in their model can find the correct solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 00:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-Display-on-open/m-p/769970#M1040797</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-04T00:48:31Z</dc:date>
    </item>
  </channel>
</rss>

