<?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: Help in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698182#M1073726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avinash, thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tried with your expression, still getting the same old result, when I tried to view the result in list box of [CustomerType], when I select the SalesYear = 2014 and SalesMonth=Jul, its showing only two values (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Moderate and Poor&lt;/SPAN&gt;), it has to show all the values and tried the below too still no result, &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Avg(Aggr({&amp;lt;CustomerType=&amp;gt;}Sum({$&amp;lt;CustomerType=,SalesYear={$(=Max(SalesYear)-1)}&amp;gt;} [Sales],CustomerType,SalesMonth))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2014 12:50:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-01T12:50:41Z</dc:date>
    <item>
      <title>Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698178#M1073722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am trying to analyse the two years average of sales comparison in a two pie chart(PY,CY),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimention is &lt;STRONG&gt;CustomerType&lt;/STRONG&gt; the values are (&lt;STRONG&gt;Excellent, Moderate, Poor, Very Poor, Discard&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;My expression for &lt;STRONG&gt;PY ---&amp;gt;&amp;nbsp; =Avg(Aggr(Sum({$&amp;lt;SalesYear={$(=Max(SalesYear)-1)}&amp;gt;} [Sales],CustomerType,SalesMonth))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My expression for &lt;STRONG&gt;CY ---&amp;gt;&amp;nbsp; =Avg(Aggr(Sum({$&amp;lt;SalesYear={$(=Max(SalesYear))}&amp;gt;} [Sales],CustomerType,SalesMonth))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem,&amp;nbsp; for example when the CustomerType have value of Moderate and Poor for the month of July 2014 means the impact is on July 2013 that shows only Moderate and Poor customers data in the pie chart even i have other values, so how do i resolve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 10:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698178#M1073722</guid>
      <dc:creator />
      <dc:date>2014-08-01T10:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698179#M1073723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you elaborate your query or post any sample app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 11:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698179#M1073723</guid>
      <dc:creator />
      <dc:date>2014-08-01T11:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698180#M1073724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nirmal raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i want is as i need to exclude the selection of [CustomerType], for July 2013 I have sum of value is 14500 which is the one is correct but when I select the [SalesYear] = 2014 and [SalesMonth] = Jul for last Year it shows only 2600 which is incorrect as I need to show 14500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 12:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698180#M1073724</guid>
      <dc:creator />
      <dc:date>2014-08-01T12:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698181#M1073725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Avg(Aggr(Sum({$&amp;lt;SalesYear={$(=Max({1}SalesYear)-1)}&amp;gt;} [Sales],CustomerType,SalesMonth))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CY ---&amp;gt;&amp;nbsp; =Avg(Aggr(Sum({$&amp;lt;SalesYear={$(=Max({1}SalesYear))}&amp;gt;} [Sales],CustomerType,SalesMonth))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 12:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698181#M1073725</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-08-01T12:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698182#M1073726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avinash, thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tried with your expression, still getting the same old result, when I tried to view the result in list box of [CustomerType], when I select the SalesYear = 2014 and SalesMonth=Jul, its showing only two values (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Moderate and Poor&lt;/SPAN&gt;), it has to show all the values and tried the below too still no result, &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Avg(Aggr({&amp;lt;CustomerType=&amp;gt;}Sum({$&amp;lt;CustomerType=,SalesYear={$(=Max(SalesYear)-1)}&amp;gt;} [Sales],CustomerType,SalesMonth))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 12:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-set-analysis/m-p/698182#M1073726</guid>
      <dc:creator />
      <dc:date>2014-08-01T12:50:41Z</dc:date>
    </item>
  </channel>
</rss>

