<?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: dollor sign expression set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dollor-sign-expression-set-analysis/m-p/387298#M485561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So bascially you could just be satisfied with &lt;EM style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;sum({&amp;lt;Year={$(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/EM&gt; in most cases?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 05:16:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-23T05:16:45Z</dc:date>
    <item>
      <title>dollor sign expression set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/dollor-sign-expression-set-analysis/m-p/387296#M485559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im confusing myself, so i need some one to explain me some difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you eg. have expressions like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year={$(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={$(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year={(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;Year={$(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;Year={1(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody tell me the difference between each or what each expression do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what if i have this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year={$(vPreviousYear)}, Product=&amp;gt;} amount) - Can i then also have $ before Product? or how would you express that? or would you say Product=$something ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 19:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dollor-sign-expression-set-analysis/m-p/387296#M485559</guid>
      <dc:creator />
      <dc:date>2013-04-22T19:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: dollor sign expression set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/dollor-sign-expression-set-analysis/m-p/387297#M485560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;sum({$&amp;lt;Year={$(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;sum({&amp;lt;Year={$(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;These two are almost always equivalent. Only &lt;A href="http://qlikboard.com/2012/12/04/set-analysis-alternate-states-quick-tip/"&gt;when you're using alternate states&lt;/A&gt; that may not be true. It sums amount using the default selections, but overriding selections in Year with whatever is stored in the variable vPreviousYear and disregarding any selections in Product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;sum({$&amp;lt;Year={(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;This one doesn't dollar-expand the variable, so I don't think it will work correctly&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;sum({1&amp;lt;Year={$(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;The 1 ignores all selections, so Product= is redundant. And Year is set to the value stored in the variable vPreviousYear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;sum({1&amp;lt;Year={1(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;The second 1 is incorrect and the variable isn't dollar-expanded so this expression won't work correctly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 19:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dollor-sign-expression-set-analysis/m-p/387297#M485560</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-22T19:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: dollor sign expression set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/dollor-sign-expression-set-analysis/m-p/387298#M485561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So bascially you could just be satisfied with &lt;EM style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;sum({&amp;lt;Year={$(vPreviousYear)}, Product=&amp;gt;} amount)&lt;/EM&gt; in most cases?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 05:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dollor-sign-expression-set-analysis/m-p/387298#M485561</guid>
      <dc:creator />
      <dc:date>2013-04-23T05:16:45Z</dc:date>
    </item>
  </channel>
</rss>

