<?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: Select the field on open is not working properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-the-field-on-open-is-not-working-properly/m-p/46336#M7726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for quick response. In my case,i am going to use the below expression for field trigger. Please correct me if am wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(&lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MonthStart(Max({1} MonthYear)), 'MMM-YYYY')&lt;/STRONG&gt;=month(TODAY()) &amp;amp; '-' &amp;amp;year(today()), &lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MonthStart(Max({1} MonthYear), -1), 'MMM-YYYY')&lt;/STRONG&gt;, &lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MonthStart(Max({1} MonthYear)), 'MMM-YYYY')&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/stalwar1"&gt;stalwar1&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2018 12:06:07 GMT</pubDate>
    <dc:creator>Prabhu</dc:creator>
    <dc:date>2018-04-03T12:06:07Z</dc:date>
    <item>
      <title>Select the field on open is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-field-on-open-is-not-working-properly/m-p/46334#M7724</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;I want last month to be selected on opening the document. i also have other fields to be selected on opening the document.&lt;/P&gt;&lt;P&gt;Other field selections are working properly.But, last month is not selected because there is no data for last month for the selection of other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to set last month selection as priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the expression i am using. MonthYear =if(DATE(Max(date#(MonthYear,'MMM-YYYY')), 'MMM-YYYY')=month(TODAY()) &amp;amp; '-' &amp;amp;year(today()), DATE(Max(date#(MonthYear,'MMM-YYYY'))-1, 'MMM-YYYY'), DATE(Max(date#(MonthYear,'MMM-YYYY')), 'MMM-YYYY'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 11:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-field-on-open-is-not-working-properly/m-p/46334#M7724</guid>
      <dc:creator>Prabhu</dc:creator>
      <dc:date>2018-04-03T11:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select the field on open is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-field-on-open-is-not-working-properly/m-p/46335#M7725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you are using Select in Field trigger on MonthYear field, right... try this as the search string&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;=Date(MonthStart(Max({1} MonthYear), -1), 'MMM-YYYY')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 11:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-field-on-open-is-not-working-properly/m-p/46335#M7725</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-03T11:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select the field on open is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-field-on-open-is-not-working-properly/m-p/46336#M7726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for quick response. In my case,i am going to use the below expression for field trigger. Please correct me if am wrong. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(&lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MonthStart(Max({1} MonthYear)), 'MMM-YYYY')&lt;/STRONG&gt;=month(TODAY()) &amp;amp; '-' &amp;amp;year(today()), &lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MonthStart(Max({1} MonthYear), -1), 'MMM-YYYY')&lt;/STRONG&gt;, &lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(MonthStart(Max({1} MonthYear)), 'MMM-YYYY')&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/stalwar1"&gt;stalwar1&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 12:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-field-on-open-is-not-working-properly/m-p/46336#M7726</guid>
      <dc:creator>Prabhu</dc:creator>
      <dc:date>2018-04-03T12:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select the field on open is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Select-the-field-on-open-is-not-working-properly/m-p/46337#M7727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly are you testing here? May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(MonthStart(Max({1} MonthYear)) = MonthStart(Today()),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(Max({1} MonthYear), -1), 'MMM-YYYY'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(MonthStart(Max({1} MonthYear)), 'MMM-YYYY'))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 12:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-the-field-on-open-is-not-working-properly/m-p/46337#M7727</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-03T12:08:52Z</dc:date>
    </item>
  </channel>
</rss>

