<?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: Trigger a selection with an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623397#M229409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your very helpful answer!&lt;/P&gt;&lt;P&gt;But is this possible to select from last day of the previous month last year to the last day of the previous month this year&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; (from 28/02/2013 to 28/02/2014)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 09:57:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-11T09:57:10Z</dc:date>
    <item>
      <title>Trigger a selection with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623394#M229406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to create a trigger on the tab activation.&lt;/P&gt;&lt;P&gt;I have a field Date(format DD.MM.YYYY) and i would like to select all values from the past year to the previous month.&lt;/P&gt;&lt;P&gt;For example, today i would like the trigger to select only the values from February 2013 to February 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me to build the expression which could do this please? &lt;/P&gt;&lt;P&gt;The current month is in a variable Month and the current year in the variable Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Loïc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 09:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623394#M229406</guid>
      <dc:creator />
      <dc:date>2014-03-11T09:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a selection with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623395#M229407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like enclosed file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want date from last year to today &lt;/P&gt;&lt;P&gt;i.e. 12/03/2013 to 11/03/2014 use &lt;/P&gt;&lt;P&gt;='&amp;gt;$(=AddYears(Today(),-1))' in expression with TempDate as Dimension (Select in Field)&lt;/P&gt;&lt;P&gt;You can also use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;$(=AddMonths(Today(),-12))'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 09:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623395#M229407</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-11T09:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a selection with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623396#M229408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may create a new field in the script as a YOY Flag using the below expression.&lt;/P&gt;&lt;P&gt;if(Date &amp;lt;= Today() and Date &amp;gt;= MonthStart(AddMonths(Date(Today()), -13)),1,0) as YOYFlg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new YOYFlag will be 1 if your Date is between today and last 13 months else it will be 0.&lt;/P&gt;&lt;P&gt;Now you can add action to a navigation button just Select in Field YOYFlag as 1.&lt;/P&gt;&lt;P&gt;Please take a look at the attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 09:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623396#M229408</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-03-11T09:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a selection with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623397#M229409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your very helpful answer!&lt;/P&gt;&lt;P&gt;But is this possible to select from last day of the previous month last year to the last day of the previous month this year&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; (from 28/02/2013 to 28/02/2014)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 09:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623397#M229409</guid>
      <dc:creator />
      <dc:date>2014-03-11T09:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a selection with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623398#M229410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change your search string as below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;=$(=MonthEnd(Today(),-13))&amp;lt;=$(=MonthEnd(Today(),-1))'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 10:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623398#M229410</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-11T10:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger a selection with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623399#M229411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use MonthEnd function.&lt;/P&gt;&lt;P&gt;MonthEnd(AddMonths(Date(Today()), -13))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 10:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-a-selection-with-an-expression/m-p/623399#M229411</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-03-11T10:03:51Z</dc:date>
    </item>
  </channel>
</rss>

