<?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: Field Trigger not working like expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-Trigger-not-working-like-expected/m-p/890531#M310275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Dear Ramon,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice.&lt;/P&gt;&lt;P&gt;It`s working fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2015 05:49:19 GMT</pubDate>
    <dc:creator>r_wroblewski</dc:creator>
    <dc:date>2015-04-10T05:49:19Z</dc:date>
    <item>
      <title>Field Trigger not working like expected</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Trigger-not-working-like-expected/m-p/890529#M310273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a field trigger which changed a field value(seperated table) according the selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action:&amp;nbsp;&amp;nbsp; Select in Field&lt;/P&gt;&lt;P&gt;Field:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Period_Info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Max(Date)=Max({1}Date) and Min(Date)=(Max({1}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;)-6), 'Last 7 days',&lt;/P&gt;&lt;P&gt; if(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;)=Max({1}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;) and Min(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;)=(Max({1}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;)-29), 'Last 30 days',&lt;/P&gt;&lt;P&gt; if(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;)=WeekEnd(Max({1}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;),-1) and Min(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;)=WeekStart(Max({1}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;),-1), 'Last Week',&lt;/P&gt;&lt;P&gt; if(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;)=MonthEnd(Max({1}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;),-1) and Min(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;)=MonthStart(Max({1}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;),-1), 'Last Month',&lt;/P&gt;&lt;P&gt; 'Individual'))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;For &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;'Last 7 days' &amp;amp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;'Last 30 days' the trigger works fine but for &lt;SPAN style="font-size: 13.3333330154419px;"&gt;'Last Week' &amp;amp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;'Last Month' the trigger select 'Individual'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I checked the value in text boxes and they are correct and also tried with variables for &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;'Last Week'/&lt;SPAN style="font-size: 13.3333330154419px;"&gt;'Last Month'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;. Same results&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Can someone advice me why the trigger is not working correctly ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Ronny&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 04:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Trigger-not-working-like-expected/m-p/890529#M310273</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-04-10T04:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Field Trigger not working like expected</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Trigger-not-working-like-expected/m-p/890530#M310274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weekstart and monthstart are not rounded numbers &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use a floor function before them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Date&lt;/SPAN&gt;)=floor(WeekEnd(Max({1}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Date&lt;/SPAN&gt;),-1)) and Min(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Date&lt;/SPAN&gt;)=floor(WeekStart(Max({1}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Date&lt;/SPAN&gt;),-1)), 'Last Week',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Date&lt;/SPAN&gt;)=floor(MonthEnd(Max({1}&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Date&lt;/SPAN&gt;),-1)) and Min(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;Date&lt;/SPAN&gt;)=floor(&lt;SPAN style="line-height: 1.5em;"&gt;MonthStart(Max({1}&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;),-1)), 'Last Month',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Individual'))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 04:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Trigger-not-working-like-expected/m-p/890530#M310274</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-10T04:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field Trigger not working like expected</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Trigger-not-working-like-expected/m-p/890531#M310275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Dear Ramon,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice.&lt;/P&gt;&lt;P&gt;It`s working fine now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 05:49:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Trigger-not-working-like-expected/m-p/890531#M310275</guid>
      <dc:creator>r_wroblewski</dc:creator>
      <dc:date>2015-04-10T05:49:19Z</dc:date>
    </item>
  </channel>
</rss>

