<?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 with conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951263#M972756</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; font-size: 13px;"&gt;maybe:&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; font-size: 13px;"&gt;=Count (If(Aggr(Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;unit.id&lt;/SPAN&gt;),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sales&lt;/SPAN&gt;)&amp;gt;1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;unit.id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 08:35:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-15T08:35:46Z</dc:date>
    <item>
      <title>set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951258#M972751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to calculate the return product analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(sales) &amp;lt;0 that is my return sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to take the count of total number of return product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to write this concept in set analysis formula?&lt;/P&gt;&lt;P&gt;&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>Tue, 15 Sep 2015 08:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951258#M972751</guid>
      <dc:creator>stephenedberkg</dc:creator>
      <dc:date>2015-09-15T08:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951259#M972752</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;=Count({&amp;lt;OrderID = {"=Sum(Sales) &amp;lt; 0"}&amp;gt;}OrderID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951259#M972752</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-15T08:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951260#M972753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If(sum(sales)&amp;lt;0,1,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951260#M972753</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-09-15T08:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951261#M972754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u share sample data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951261#M972754</guid>
      <dc:creator>nagarjuna_kotha</dc:creator>
      <dc:date>2015-09-15T08:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951262#M972755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please share sample qlikview file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951262#M972755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-15T08:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951263#M972756</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; font-size: 13px;"&gt;maybe:&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; font-size: 13px;"&gt;=Count (If(Aggr(Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;unit.id&lt;/SPAN&gt;),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sales&lt;/SPAN&gt;)&amp;gt;1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;unit.id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951263#M972756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-15T08:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951264#M972757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis is a way of filtering the data prior to evaluating the expression. In this case, I can see a filter criterion, but what would you like to filter? How are sales identified and grouped? The sum is over what dimensions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this may or may not work depending on the above.&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Customer={"=Sum(Sales) &amp;lt; 0"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951264#M972757</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-15T08:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951265#M972758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(if(Sum(Sales)&amp;lt;0,1,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951265#M972758</guid>
      <dc:creator>gautik92</dc:creator>
      <dc:date>2015-09-15T08:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951266#M972759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(Sum({&amp;lt;Year = {$(=Max(Year))},TransactionType={'INVOICE'},Month=&amp;gt;} #InvNetSales) -&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year = {$(=Max(Year))},TransactionType={'CreditNote'},Month= &amp;gt;} #InvNetSales)) &amp;lt;0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is my return sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to calculate the count of return product&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951266#M972759</guid>
      <dc:creator>stephenedberkg</dc:creator>
      <dc:date>2015-09-15T08:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951267#M972760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(Sum({&amp;lt;Year = {$(=Max(Year))},TransactionType={'INVOICE'},Month=&amp;gt;} #InvNetSales) -&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Year = {$(=Max(Year))},TransactionType={'CreditNote'},Month= &amp;gt;} #InvNetSales)) &amp;lt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;that is my return sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i want to calculate the count of return product&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951267#M972760</guid>
      <dc:creator>stephenedberkg</dc:creator>
      <dc:date>2015-09-15T08:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951268#M972761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;try this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Sum(if((Sum({&amp;lt;Year = {$(=Max(Year))},TransactionType={'INVOICE'},Month=&amp;gt;} #InvNetSales) -&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Sum({&amp;lt;Year = {$(=Max(Year))},TransactionType={'CreditNote'},Month= &amp;gt;} #InvNetSales)) &amp;lt;0,1,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951268#M972761</guid>
      <dc:creator>gautik92</dc:creator>
      <dc:date>2015-09-15T08:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951269#M972762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(Sum({&amp;lt;Year = {$(=Max(Year))},TransactionType={'INVOICE'},Month=&amp;gt;} #InvNetSales) -&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Year = {$(=Max(Year))},TransactionType={'CreditNote'},Month= &amp;gt;} #InvNetSales)) &amp;lt;0,count(Distinct CustomerID)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 09:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951269#M972762</guid>
      <dc:creator>gautik92</dc:creator>
      <dc:date>2015-09-15T09:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951270#M972763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Stephen Edberk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&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; font-size: 13px;"&gt;&lt;STRONG&gt;Count (Distinct {&amp;lt;Customer= {"=Sum({&amp;lt;Year = {$(=Max(Year))},TransactionType={'CreditNote'},Month= &amp;gt;} #InvNetSales)) &amp;lt;0"}&amp;gt;} Product)&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-conditions/m-p/951270#M972763</guid>
      <dc:creator>jonas_rezende</dc:creator>
      <dc:date>2015-09-15T12:51:23Z</dc:date>
    </item>
  </channel>
</rss>

