<?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 Need help in set analysis expression!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-set-analysis-expression/m-p/336129#M123996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this and tell me if it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;SUM({&amp;lt;DATE={"=$(=MonthEnd(Addmonths(DATE,-1))"},DATE={"=&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;$(=&lt;/SPAN&gt;MonthEnd(Addmonths(DATE,-2))"},DATE={"=&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;$(=&lt;/SPAN&gt;MonthEnd(Addmonths(DATE,-3))"} &amp;gt;} Measure)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;Chema&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2012 20:35:59 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-05-04T20:35:59Z</dc:date>
    <item>
      <title>Need help in set analysis expression!!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-set-analysis-expression/m-p/336128#M123995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i need to write an expression like ver i need to select all the measures in the last day of previous three months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if current selection is month=dec and year= 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the measures should be from the date '31-Nov-2011', '31-Oct-2011' and '31-Sep-2011'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i knid of came up with an expression but never worked. &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;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;SUM({&amp;lt; DATE = {"=$(=MonthEnd(Addmonths(DATE,-1)),=MonthEnd(Addmonths(DATE,-2)),=MonthEnd(Addmonths(DATE,-3))"} &amp;gt;} Measure) &lt;/SPAN&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;plz help me with the correct expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 10:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-set-analysis-expression/m-p/336128#M123995</guid>
      <dc:creator />
      <dc:date>2012-05-04T10:37:54Z</dc:date>
    </item>
    <item>
      <title>Need help in set analysis expression!!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-set-analysis-expression/m-p/336129#M123996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this and tell me if it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;SUM({&amp;lt;DATE={"=$(=MonthEnd(Addmonths(DATE,-1))"},DATE={"=&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;$(=&lt;/SPAN&gt;MonthEnd(Addmonths(DATE,-2))"},DATE={"=&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;$(=&lt;/SPAN&gt;MonthEnd(Addmonths(DATE,-3))"} &amp;gt;} Measure)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;Chema&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 20:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-set-analysis-expression/m-p/336129#M123996</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-05-04T20:35:59Z</dc:date>
    </item>
    <item>
      <title>Need help in set analysis expression!!</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-set-analysis-expression/m-p/336130#M123997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Check with it,you have to enter it as comma separated without equal sign&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;SUM({&amp;lt; DATE = {'$(=MonthEnd(Addmonths(DATE,-1))','MonthEnd(Addmonths(DATE,-2))','MonthEnd(Addmonths(DATE,-3))'} &amp;gt;} Measure)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;Note: Check whether your date field is in the format returned by the monthend(which will be as MM/DD/YYYY) function .If it is not in that format for ex it is in DD/MM/YYYY format then use &lt;SPAN style="color: #636363; font-family: Arial; font-size: 16px; background-color: #eef4f9;"&gt;$(=Date(MonthEnd(Addmonths(DATE,-1),'DD/MM/YYYY')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 16px; background-color: #eef4f9; font-family: Arial;"&gt;Celambarasan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 20:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-set-analysis-expression/m-p/336130#M123997</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-05-04T20:49:51Z</dc:date>
    </item>
  </channel>
</rss>

