<?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: Pls explain the differnce in expression ! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642008#M1090274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Liron &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2014 14:44:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-21T14:44:29Z</dc:date>
    <item>
      <title>Pls explain the differnce in expression !</title>
      <link>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642006#M1090272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m new to qlikview and currently exploring all the set analysis expression .&lt;/P&gt;&lt;P&gt;Please do me a great favour by explaining the differnce between the below 2 expressions .&lt;/P&gt;&lt;P&gt;I want to calculate last year YTD .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;YR = {$(=max(YR)-1)}, MONTH_ID = {"&amp;lt;=$(=max({&amp;lt;YR={$(=max(YR))}&amp;gt;} MONTH_ID))"}&amp;gt;} SELL_IN_OUT_VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({1&amp;lt;YR = {$(=MAX(YR)-1)},MONTH_DESC = &amp;gt;} SELL_IN_OUT_VALUE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 14:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642006#M1090272</guid>
      <dc:creator />
      <dc:date>2014-05-21T14:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pls explain the differnce in expression !</title>
      <link>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642007#M1090273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;the first expression will calculate YTD of previous year according to the max month in this year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the second one will always calculate the sales in the whole previous year &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 14:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642007#M1090273</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-05-21T14:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pls explain the differnce in expression !</title>
      <link>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642008#M1090274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Liron &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 14:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642008#M1090274</guid>
      <dc:creator />
      <dc:date>2014-05-21T14:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pls explain the differnce in expression !</title>
      <link>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642009#M1090275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum(SELL_IN_OUT_VALUE) -&amp;gt; sum all values of field SELL_IN_OUT_VALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;then there is set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The first $ means that sum is conditioned by selections&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YR = {$(=max(YR)-1)}means that in the sum the field YR must be equal to Max(YR)-1, this value is computed so you need $(=value_to_compute)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MONTH_ID = {"&amp;lt;=$(=max({&amp;lt;YR={$(=max(YR))}&amp;gt;} MONTH_ID))"} means that field MONTH_ID must be equal to the max(month_id) for which the field YR is equal to Max(YR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The second expression has 1 instead of $ this means that value is not conditioned by selections, when you write FIELD= this means : any value for that field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope it helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 14:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642009#M1090275</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-21T14:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pls explain the differnce in expression !</title>
      <link>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642010#M1090276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may find this post helpful for set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 14:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pls-explain-the-differnce-in-expression/m-p/642010#M1090276</guid>
      <dc:creator />
      <dc:date>2014-05-21T14:56:13Z</dc:date>
    </item>
  </channel>
</rss>

