<?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 How to modify SET expression so that even now is Sept 2016 it will take in date 1 Dec 2016 ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-modify-SET-expression-so-that-even-now-is-Sept-2016-it/m-p/1190110#M626628</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;&lt;/P&gt;&lt;P&gt;i have below SET expression working fine :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;year = {$(=Max(year)-0)}, month = {"&amp;lt;=$(=Max({&amp;lt;year={$(=Max(year))}, sales = {'*'}&amp;gt;} month))"}&amp;gt;}distinct REVENUE_C)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user select OMRON_1 , TEXT 1 Display zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reasons why user click on OMRON_! it display zero because the date is 1 Dec 2016 or 1 Dec 2015 and so on.In order to make it display , i need to select year = 2015. ( To make it work , i have change the date from 2016 to 2015 , which is not correct. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to make it display 12621000 when user select OMRON_1 ? by change the SET expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remark :- When user click on OMRON , it display 12821000.( Because i have replace 2016 to 2015 , which is not correct ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am at china now , unable to upload the QVW file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 02:31:26 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2016-09-22T02:31:26Z</dc:date>
    <item>
      <title>How to modify SET expression so that even now is Sept 2016 it will take in date 1 Dec 2016 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-SET-expression-so-that-even-now-is-Sept-2016-it/m-p/1190110#M626628</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;&lt;/P&gt;&lt;P&gt;i have below SET expression working fine :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;year = {$(=Max(year)-0)}, month = {"&amp;lt;=$(=Max({&amp;lt;year={$(=Max(year))}, sales = {'*'}&amp;gt;} month))"}&amp;gt;}distinct REVENUE_C)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user select OMRON_1 , TEXT 1 Display zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reasons why user click on OMRON_! it display zero because the date is 1 Dec 2016 or 1 Dec 2015 and so on.In order to make it display , i need to select year = 2015. ( To make it work , i have change the date from 2016 to 2015 , which is not correct. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to make it display 12621000 when user select OMRON_1 ? by change the SET expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remark :- When user click on OMRON , it display 12821000.( Because i have replace 2016 to 2015 , which is not correct ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am at china now , unable to upload the QVW file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 02:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-SET-expression-so-that-even-now-is-Sept-2016-it/m-p/1190110#M626628</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-09-22T02:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify SET expression so that even now is Sept 2016 it will take in date 1 Dec 2016 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-SET-expression-so-that-even-now-is-Sept-2016-it/m-p/1190111#M626629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Create MonthYear field in script and&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(Sum({$&amp;lt; sales = {'*'}&amp;gt;} distinct REVENUE_C),max(MonthYear))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 03:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-SET-expression-so-that-even-now-is-Sept-2016-it/m-p/1190111#M626629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-22T03:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify SET expression so that even now is Sept 2016 it will take in date 1 Dec 2016 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-SET-expression-so-that-even-now-is-Sept-2016-it/m-p/1190112#M626630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum({$&amp;lt;year = {$(=Min(year))}, month = {"&amp;lt;=$(=Max({&amp;lt;year={$(=Min(year))}, sales = {'*'}&amp;gt;} month))"}&amp;gt;}distinct REVENUE_C)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 05:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-SET-expression-so-that-even-now-is-Sept-2016-it/m-p/1190112#M626630</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-09-22T05:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify SET expression so that even now is Sept 2016 it will take in date 1 Dec 2016 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-SET-expression-so-that-even-now-is-Sept-2016-it/m-p/1190113#M626631</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 have try 2 of the expression both of you propose, but it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enclosed my QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope some one can take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 03:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-SET-expression-so-that-even-now-is-Sept-2016-it/m-p/1190113#M626631</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-09-23T03:15:49Z</dc:date>
    </item>
  </channel>
</rss>

