<?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 Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381344#M421027</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to exclude the selection of the Month Field from Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the below Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -1)))&amp;lt;=$(=Date(Max(MonthYear)))"},Month=&amp;gt;}IB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want only previous Month then try below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -1)))&amp;lt;$(=Date(Max(MonthYear)))"},Month=&amp;gt;}IB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2017 07:38:52 GMT</pubDate>
    <dc:creator>mdmukramali</dc:creator>
    <dc:date>2017-10-31T07:38:52Z</dc:date>
    <item>
      <title>Set analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381343#M421026</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 one straight table chart and i have written this set analysis expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the expression is not working it is still showing 2017 values but it should show 2016 december values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -1)))&amp;lt;=$(=Date(Max(MonthYear)))"}&amp;gt;}IB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached app for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 07:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381343#M421026</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-31T07:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381344#M421027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to exclude the selection of the Month Field from Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the below Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -1)))&amp;lt;=$(=Date(Max(MonthYear)))"},Month=&amp;gt;}IB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want only previous Month then try below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -1)))&amp;lt;$(=Date(Max(MonthYear)))"},Month=&amp;gt;}IB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 07:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381344#M421027</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2017-10-31T07:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381345#M421028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you reply. Pls find the attached app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here if i select Jan the data is not showing in the graph.. The expression is working fine and the values are correct but i want to see Jan in chart..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls let me know if you need anything more..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 07:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381345#M421028</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-31T07:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381346#M421029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find the attached App.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 07:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381346#M421029</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2017-10-31T07:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381347#M421030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mukram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time but the format i need is the below one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181580_T.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In your app we can see only December but the dimesions should be selected months for example say Jan. .I need to see jan dimesion but the expression should always show only december values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need anything more..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 07:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381347#M421030</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2017-10-31T07:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381348#M421031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Bharat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Set Analysis, we are applying the condition on Month also so if you select Jan from Month it will show you Dec in the chart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe you can try to create a new field in the script like what I did in the attached application,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 08:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381348#M421031</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2017-10-31T08:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381349#M421032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;MonthYear={"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -1)))&amp;lt;$(=Date(Max(MonthYear)))"}, Month&amp;gt;}IB)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181588_Capture.PNG" style="height: 210px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 08:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Expression/m-p/1381349#M421032</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-31T08:41:31Z</dc:date>
    </item>
  </channel>
</rss>

