<?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: syntax for set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978840#M334328</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;if(u1='1' or u2 &amp;lt;&amp;gt;'1',(Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[LAG]=,&lt;/SPAN&gt;Year={$(=Max(Year))}&amp;gt;}actual_Sales*[ME Curr Factor Actual]))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 07:35:13 GMT</pubDate>
    <dc:creator>pokassov</dc:creator>
    <dc:date>2015-08-24T07:35:13Z</dc:date>
    <item>
      <title>syntax for set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978839#M334327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My expression for actual sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(u1='1' or u2 &amp;lt;&amp;gt;'1',(Sum({&amp;lt;Year={$(=Max(Year))}&amp;gt;}actual_Sales*[ME Curr Factor Actual]))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression works fine .But the requirement is that there is a field called LAG . When LAG field is clicked the actual sales values should not change. But it is currently changing.Both actual_sales and LAG are fetched from the same table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know sum({&amp;lt;[LAG]=&amp;gt;} will work. This will make selections independent. But how do I need to incorporate this expression &lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum({&amp;lt;[LAG]=&amp;gt;} in the above actual_sales expression .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please provide the needful on this &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978839#M334327</guid>
      <dc:creator>ssriramin19</dc:creator>
      <dc:date>2015-08-24T07:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978840#M334328</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;if(u1='1' or u2 &amp;lt;&amp;gt;'1',(Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[LAG]=,&lt;/SPAN&gt;Year={$(=Max(Year))}&amp;gt;}actual_Sales*[ME Curr Factor Actual]))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978840#M334328</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-08-24T07:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978841#M334329</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;Use this one,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(u1='1' or u2 &amp;lt;&amp;gt;'1',(Sum({&amp;lt;Year={$(=Max(Year))}, LAG = &amp;gt;}actual_Sales*[ME Curr Factor Actual]))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978841#M334329</guid>
      <dc:creator />
      <dc:date>2015-08-24T07:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978842#M334330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much for expression provided. It works as needed. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978842#M334330</guid>
      <dc:creator>ssriramin19</dc:creator>
      <dc:date>2015-08-24T07:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978843#M334331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sergey for the expression.it works as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/syntax-for-set-analysis/m-p/978843#M334331</guid>
      <dc:creator>ssriramin19</dc:creator>
      <dc:date>2015-08-24T07:57:19Z</dc:date>
    </item>
  </channel>
</rss>

