<?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 SET expression add filter COMPETITOR=wago in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/SET-expression-add-filter-COMPETITOR-wago/m-p/1041247#M16181</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 using button to select only 4 company :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPETITOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(WAGO|PRECICON|iTDS|TDS_G|INTERMECH)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to insert filter expression into below SET expression :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}distinct REVENUE_C)/1000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My approach :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the past i can insert filter less then current year.&lt;/P&gt;&lt;P&gt;money((Sum({&amp;lt;year = {"&amp;lt;=$(=Year(Today()))"},&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(ColumnDim51)={$(ColumnDim51)}&amp;gt;} Amount)/$(Columndim89)/1000), $(vMoneyFormatK))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i assume expression as below :-&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"},COMPETITOR='WAGO'and'PRECICON', month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}distinct REVENUE_C)/1000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not work.&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>Sat, 02 Apr 2016 03:20:17 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2016-04-02T03:20:17Z</dc:date>
    <item>
      <title>SET expression add filter COMPETITOR=wago</title>
      <link>https://community.qlik.com/t5/App-Development/SET-expression-add-filter-COMPETITOR-wago/m-p/1041247#M16181</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 using button to select only 4 company :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPETITOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(WAGO|PRECICON|iTDS|TDS_G|INTERMECH)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to insert filter expression into below SET expression :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}distinct REVENUE_C)/1000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My approach :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the past i can insert filter less then current year.&lt;/P&gt;&lt;P&gt;money((Sum({&amp;lt;year = {"&amp;lt;=$(=Year(Today()))"},&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(ColumnDim51)={$(ColumnDim51)}&amp;gt;} Amount)/$(Columndim89)/1000), $(vMoneyFormatK))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i assume expression as below :-&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"},COMPETITOR='WAGO'and'PRECICON', month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}distinct REVENUE_C)/1000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not work.&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>Sat, 02 Apr 2016 03:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SET-expression-add-filter-COMPETITOR-wago/m-p/1041247#M16181</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-04-02T03:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression add filter COMPETITOR=wago</title>
      <link>https://community.qlik.com/t5/App-Development/SET-expression-add-filter-COMPETITOR-wago/m-p/1041248#M16182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my QV Doc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Apr 2016 03:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SET-expression-add-filter-COMPETITOR-wago/m-p/1041248#M16182</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-04-02T03:21:36Z</dc:date>
    </item>
  </channel>
</rss>

