<?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: Struggling with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569285#M479629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manish.&lt;/P&gt;&lt;P&gt;It works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be even great&amp;nbsp; if you can explain the dimension you have added &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;=IF(AGGR(SUM([Sales Actual]),Month)&amp;gt;0,Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks buddy!&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Jan 2014 16:58:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-25T16:58:26Z</dc:date>
    <item>
      <title>Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569277#M479621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am struggling with something and would need help.&lt;/P&gt;&lt;P&gt;I have a table with shows PLAN and ACTUAL SALES for Financial Year 2014.(which starts from Sept 2013)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I click on year it sums sales (i.e. &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; and sums plan (i.e. 43) .... but I want to find a way so that it sums plan only for the month where we have a sales numbers i.e. it should only sum plan = 2+3+4+3 ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure how to find out the month which have actual sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="321"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="92"&gt;Month '14&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="110"&gt;Plan($) ' 14&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="119"&gt;Actual Sales($) '14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Sep&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Oct&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Nov&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Dec&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Feb&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Mar&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Apr&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;May&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Jun&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Jul&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Aug&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;Total&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;43&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 12:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569277#M479621</guid>
      <dc:creator />
      <dc:date>2014-01-25T12:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569278#M479622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt; [ACTUAL SALES] = {"&amp;gt;0"}&amp;gt;} [PLAN])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 13:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569278#M479622</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-25T13:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569279#M479623</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 can write the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&amp;nbsp; {&amp;lt;Date_Field = {"=not isnull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Actual Sales&lt;/SPAN&gt;)"} &amp;gt;}&amp;nbsp;&amp;nbsp; PLANS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 13:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569279#M479623</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2014-01-25T13:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569280#M479624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-01-25_1308.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/52088_2014-01-25_1308.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 13:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569280#M479624</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-01-25T13:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569281#M479625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys,&lt;/P&gt;&lt;P&gt;Sales have negative values ... so &amp;gt;0 logic not returning correct answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nilesh,&lt;/P&gt;&lt;P&gt;Your logic, returns 0, so it is not summing up anything &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 15:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569281#M479625</guid>
      <dc:creator />
      <dc:date>2014-01-25T15:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569282#M479626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({$&amp;lt;[Sales Actual]={"=not isnull(Actual Sales)"}&amp;gt;}[Plan Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have tried&lt;/P&gt;&lt;P&gt;I also added empty rows in sales for the remaining months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 15:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569282#M479626</guid>
      <dc:creator />
      <dc:date>2014-01-25T15:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569283#M479627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have attached the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 15:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569283#M479627</guid>
      <dc:creator />
      <dc:date>2014-01-25T15:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569284#M479628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check enclosed file...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 16:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569284#M479628</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-01-25T16:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569285#M479629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manish.&lt;/P&gt;&lt;P&gt;It works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be even great&amp;nbsp; if you can explain the dimension you have added &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;=IF(AGGR(SUM([Sales Actual]),Month)&amp;gt;0,Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks buddy!&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 16:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569285#M479629</guid>
      <dc:creator />
      <dc:date>2014-01-25T16:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569286#M479630</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;AGGR(SUM([Sales Actual]),Month&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;This will give you SUM([Sales Actual]) group by Month&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;IF(AGGR(SUM([Sales Actual]),Month)&amp;gt;0..... will check if SUM([Sales Actual ]) greater than 0 then only it will take &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 as Dimension...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 17:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569286#M479630</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-01-25T17:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569287#M479631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish,&lt;/P&gt;&lt;P&gt;Can we somehow replace &amp;gt;0 by isnotnull or something?&lt;/P&gt;&lt;P&gt;As sales can be -ve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 17:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569287#M479631</guid>
      <dc:creator />
      <dc:date>2014-01-25T17:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569288#M479632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haven't tried but may be something like below...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=IF(AGGR(SUM([Sales Actual]),Month)&amp;gt;0 and Not ISNULL(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;AGGR(SUM([Sales Actual]),Month))&lt;/SPAN&gt;,Month)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 17:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Struggling-with-Set-Analysis/m-p/569288#M479632</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-01-25T17:26:41Z</dc:date>
    </item>
  </channel>
</rss>

