<?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: SET ANALYSIS - DATE in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630675#M1090825</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;HI SIR&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;EXPRESSION AS BELOW&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;&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; vMaxdate&lt;/SPAN&gt;=MAX(DATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; vMaxdate&lt;/SPAN&gt;=DATE(AddMonths(Max(DATE),-1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 08:17:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-13T08:17:16Z</dc:date>
    <item>
      <title>SET ANALYSIS - DATE</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630670#M1090820</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;&lt;/P&gt;&lt;P&gt;i have case where in i need to show the current sales and previous sales in the same table based on the selection user makes i had written an set analysis script as below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current Sales =SUM({$&amp;lt;DATE={"$(vMaxdate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;PreSlaes = SUM({$&amp;lt;DATE *={"$(vPrevDate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works fine if i select the day but the previous sales values&amp;nbsp; remains zero&amp;nbsp; when the selection is on month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly suggest &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking You&lt;/P&gt;&lt;P&gt;Vinayagam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 07:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630670#M1090820</guid>
      <dc:creator />
      <dc:date>2014-05-13T07:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS - DATE</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630671#M1090821</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;Try without *&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;PreSlaes = SUM({$&amp;lt;DATE ={"$(vPrevDate)"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 07:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630671#M1090821</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-13T07:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS - DATE</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630672#M1090822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Current Sales =SUM({$&amp;lt;DATE={'$(vMaxdate)'}&amp;gt;}Sales)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PreSlaes = SUM({$&amp;lt;DATE ={'$(vPrevDate)'}&amp;gt;}Sales)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Or&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Current Sales =SUM({$&amp;lt;DATE={"$(vMaxdate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PreSlaes = SUM({$&amp;lt;DATE ={"$(vPrevDate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 07:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630672#M1090822</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-13T07:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS - DATE</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630673#M1090823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yup Sir even tried the same but still not working in case of the month &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630673#M1090823</guid>
      <dc:creator />
      <dc:date>2014-05-13T08:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS - DATE</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630674#M1090824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the expression in the vMaxdate and vPrevDate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630674#M1090824</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-13T08:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS - DATE</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630675#M1090825</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;HI SIR&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;EXPRESSION AS BELOW&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;&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; vMaxdate&lt;/SPAN&gt;=MAX(DATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; vMaxdate&lt;/SPAN&gt;=DATE(AddMonths(Max(DATE),-1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630675#M1090825</guid>
      <dc:creator />
      <dc:date>2014-05-13T08:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS - DATE</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630676#M1090826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the issue is beacuse of having multiple years of data. I Believe this will work only when you select an Year from your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630676#M1090826</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2014-05-13T08:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS - DATE</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630677#M1090827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this expressions and put &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;&lt;STRONG&gt;YourMonthFieldHere=&lt;/STRONG&gt;&lt;/EM&gt; in both the expressions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Current Sales =SUM({$&amp;lt;YourMonthFieldHere=, DATE={"$(vMaxdate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PreSlaes = SUM({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YourMonthFieldHere=&lt;/SPAN&gt;, DATE ={"$(vPrevDate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Eg:-&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Current Sales =SUM({$&amp;lt;MonthField=, DATE={"$(vMaxdate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PreSlaes = SUM({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthField=&lt;/SPAN&gt;, DATE ={"$(vPrevDate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-DATE/m-p/630677#M1090827</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-13T08:51:39Z</dc:date>
    </item>
  </channel>
</rss>

