<?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 Expressions - please explain? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-please-explain/m-p/201980#M59847</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;I am new to Qlikview, can someone please explain me what the following expressions mean? the syntax and meaning?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sum ( {&amp;lt;Year = {$(vCurrentYear)}, TransactionsNberofDay = {"&amp;lt;=$(vCurrentDayNber)"} &amp;gt;} Sales)&lt;/LI&gt;&lt;LI&gt;Sum ( {&amp;lt;Year = {$(vCurrentYear), $(=(vCurrentYear)-1)}, Quarter = ,Month = ,Week = , Date = {"&amp;lt;=$(=Max(Date))"} &amp;gt;} Sales)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help would be much appreciated,&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2011 07:30:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-07T07:30:01Z</dc:date>
    <item>
      <title>Expressions - please explain?</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-please-explain/m-p/201980#M59847</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;I am new to Qlikview, can someone please explain me what the following expressions mean? the syntax and meaning?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Sum ( {&amp;lt;Year = {$(vCurrentYear)}, TransactionsNberofDay = {"&amp;lt;=$(vCurrentDayNber)"} &amp;gt;} Sales)&lt;/LI&gt;&lt;LI&gt;Sum ( {&amp;lt;Year = {$(vCurrentYear), $(=(vCurrentYear)-1)}, Quarter = ,Month = ,Week = , Date = {"&amp;lt;=$(=Max(Date))"} &amp;gt;} Sales)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help would be much appreciated,&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 07:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-please-explain/m-p/201980#M59847</guid>
      <dc:creator />
      <dc:date>2011-04-07T07:30:01Z</dc:date>
    </item>
    <item>
      <title>Expressions - please explain?</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-please-explain/m-p/201981#M59848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you do the QlikView training and read some help files. But...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For your first expression:&lt;/P&gt;&lt;P&gt;Sum(Sales) ** This is the basic calculation being performed.&lt;/P&gt;&lt;P&gt;The other text is what is called Set Analysis. They specify which 'sets' of data to calculate on:&lt;/P&gt;&lt;P&gt;Year = {$(vCurrentYear)} ** where Year field is equal to the value returned by the variable vCurrentYear&lt;/P&gt;&lt;P&gt;TransactionsNberofDay = {"&amp;lt;=$(vCurrentDayNber)"} ** where TransactionsNberofDay field is equal to or less than the value returned by the variable vCurrentDayNber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the other expression that you gave:&lt;/P&gt;&lt;P&gt;Year = {$(vCurrentYear), $(=(vCurrentYear)-1)} ** where Year field is equal to the value returned by the variable vCurrentYear or the year previous to vCurrentYear&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Quarter =&lt;BR /&gt;Month =&lt;BR /&gt;Week =&lt;/P&gt;&lt;P&gt;** These statements tell the expression to ignore any selections made in those fields.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Go to Settings &amp;gt; Variable Overview to see how the variables are being calculated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2011 09:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-please-explain/m-p/201981#M59848</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2011-04-07T09:11:00Z</dc:date>
    </item>
  </channel>
</rss>

