<?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: Need a help in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396037#M147691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mayil vahanan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to write those two expression in one expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means&lt;/P&gt;&lt;P&gt;the active customers are those who are having Sum(Gross sales) more than zero from last three months.&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>Fri, 30 Nov 2012 20:30:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-30T20:30:50Z</dc:date>
    <item>
      <title>Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396035#M147689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need a help to write a set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to count the active customers from last three months Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sql query:&lt;/P&gt;&lt;P&gt;Select count(Distict CustomerCode) where Month='Aug','Sep','Oct' and Sum(Gross Sales)&amp;lt;&amp;gt;0&lt;/P&gt;&lt;P&gt;i tired in qlikview by using set analysis and if conditions&amp;nbsp; but it's not giving correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so please somebody help me to solve the issue.&lt;/P&gt;&lt;P&gt;&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>Fri, 30 Nov 2012 20:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396035#M147689</guid>
      <dc:creator />
      <dc:date>2012-11-30T20:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396036#M147690</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;Count({&amp;lt;Month={'Aug','Sep','Oct'}&amp;gt;}Distinct CustomerCode)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;GrossSales ={"&amp;gt;0"}&amp;gt;}GrossSales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 20:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396036#M147690</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-30T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396037#M147691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mayil vahanan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to write those two expression in one expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means&lt;/P&gt;&lt;P&gt;the active customers are those who are having Sum(Gross sales) more than zero from last three months.&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>Fri, 30 Nov 2012 20:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396037#M147691</guid>
      <dc:creator />
      <dc:date>2012-11-30T20:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396038#M147692</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have date field?if so,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;GrossSales ={"&amp;gt;0"},Date = {'&amp;gt;=$(=MonthStart(AddMonths(Max(Date),-3)))&amp;lt;=$(=MonthEnd(AddMonths(Max(Date),-1)))'}&amp;gt;}GrossSales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 20:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396038#M147692</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-30T20:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396039#M147693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i have date field .&lt;/P&gt;&lt;P&gt;but i want to count the Active customer.&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>Fri, 30 Nov 2012 20:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396039#M147693</guid>
      <dc:creator />
      <dc:date>2012-11-30T20:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396040#M147694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;CustomerCode&lt;/SPAN&gt;={"=Sum({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Month={'Aug','Sep','Oct'}&lt;/SPAN&gt;&amp;gt;}GrossSales)&amp;lt;&amp;gt;0"}&amp;gt;} &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Distinct CustomerCode&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For dynamic month calculation you need to go with DateField calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;CustomerCode&lt;/SPAN&gt;={"=Sum({&amp;lt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;DateField = {'&amp;gt;=$(=MonthStart(Max(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;DateField&lt;/SPAN&gt;),-3))&amp;lt;=$(=MonthEnd(Max(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;DateField&lt;/SPAN&gt;),-1))'}&lt;/SPAN&gt;&amp;gt;}GrossSales)&amp;lt;&amp;gt;0"}&amp;gt;} &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Distinct CustomerCode&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 21:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396040#M147694</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-11-30T21:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396041#M147695</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;CustomerCode&lt;/SPAN&gt;={"=Sum({&amp;lt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;DateField = {'&amp;gt;=$(=MonthStart(AddMonths(Max(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;DateField&lt;/SPAN&gt;),-3)))&amp;lt;=$(=MonthEnd(AddMonths(Max(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;DateField&lt;/SPAN&gt;),-1)))'}&lt;/SPAN&gt;&amp;gt;}GrossSales)&amp;lt;&amp;gt;0"}&amp;gt;} &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Distinct CustomerCode&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 21:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-a-help-in-set-analysis/m-p/396041#M147695</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-30T21:06:18Z</dc:date>
    </item>
  </channel>
</rss>

