<?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: Current Year and Last month selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925134#M320161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Try the below expression for previous Month trigger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sheet properties &amp;gt;&amp;gt; On Activate Sheet &amp;gt;&amp;gt; Selection &amp;gt;&amp;gt; Select in Field &amp;gt;&amp;gt; Field- Date Field &amp;gt;&amp;gt; Search String&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: blue;"&gt;month&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: blue;"&gt;MonthStart&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: blue;"&gt;Max&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12.0pt; font-family: 'Cambria','serif';"&gt;Date_Field&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;),-1)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2015 09:51:00 GMT</pubDate>
    <dc:creator>kavita25</dc:creator>
    <dc:date>2015-08-28T09:51:00Z</dc:date>
    <item>
      <title>Current Year and Last month selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925131#M320158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I want the current year selection in callender and previous month selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So can any one tell me how to do this, as I have done for current year through sheet properties trigger but what about previous month selection how to give previous month selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 07:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925131#M320158</guid>
      <dc:creator />
      <dc:date>2015-08-28T07:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year and Last month selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925132#M320159</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;Use below expression in search string:&lt;/P&gt;&lt;P&gt;=Month(AddMonths(today(),-1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Add new trigger to your existing Year selection which will select in field Month within above SearchString.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 07:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925132#M320159</guid>
      <dc:creator>crusader_</dc:creator>
      <dc:date>2015-08-28T07:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year and Last month selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925133#M320160</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;Write in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET CY = year(today());&lt;/P&gt;&lt;P&gt;LET CM = month(today())-1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in a expressie: sum&lt;SPAN style="font-size: 8pt;"&gt; ({$&amp;lt;year&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;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(CY)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month&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;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(CM)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;amount&lt;/SPAN&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;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 09:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925133#M320160</guid>
      <dc:creator>Marcellino_Groothof</dc:creator>
      <dc:date>2015-08-28T09:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year and Last month selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925134#M320161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Try the below expression for previous Month trigger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sheet properties &amp;gt;&amp;gt; On Activate Sheet &amp;gt;&amp;gt; Selection &amp;gt;&amp;gt; Select in Field &amp;gt;&amp;gt; Field- Date Field &amp;gt;&amp;gt; Search String&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: blue;"&gt;month&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: blue;"&gt;MonthStart&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: blue;"&gt;Max&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12.0pt; font-family: 'Cambria','serif';"&gt;Date_Field&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;),-1)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 09:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925134#M320161</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2015-08-28T09:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year and Last month selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925135#M320162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Kavita and Marcellino for your response but its not working with your exp.&lt;/P&gt;&lt;P&gt;n the correct ans is&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;=Month(AddMonths(today(),-1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 10:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925135#M320162</guid>
      <dc:creator />
      <dc:date>2015-08-28T10:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year and Last month selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925136#M320163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Andrei&lt;/STRONG&gt;, for your response. its working with your exp.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 10:35:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925136#M320163</guid>
      <dc:creator />
      <dc:date>2015-08-28T10:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year and Last month selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925137#M320164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My expression was based on date field..&lt;/P&gt;&lt;P&gt;If you have date field and use the expression given by me, will surely work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 10:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925137#M320164</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2015-08-28T10:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Current Year and Last month selection</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925138#M320165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok sure...Thanx....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 10:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Year-and-Last-month-selection/m-p/925138#M320165</guid>
      <dc:creator />
      <dc:date>2015-08-28T10:59:07Z</dc:date>
    </item>
  </channel>
</rss>

