<?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: is my set analysis is correct? Please help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316814#M830894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;[Product Type]-= {'DE','PA','RE','SA','CE','AA','VA','5M','FA'},[Sales Trn Detail DCIO TRADE IND]={1},[Trans Trade Class]={'S'},[Trans Status Code] -= {'D'}&amp;gt;}[Sales Amount USD])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2017 12:12:04 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2017-06-20T12:12:04Z</dc:date>
    <item>
      <title>is my set analysis is correct? Please help</title>
      <link>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316807#M830887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a if function with the following conditions:&lt;/P&gt;&lt;P&gt;if((not match([Product Type],'DE','PA','RE','SA','CE','AA','VA','5M','FA') and &lt;/P&gt;&lt;P&gt; [Sales Trn Detail DCIO TRADE IND] =1 and [Trans Trade Class]='S' and not match([Trans Status Code],'D')), sum([Sales Amount USD]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I have replaced it with the following set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Product Type]-= {'DE','PA','RE','SA','CE','AA','VA','5M','FA'},[Sales Trn Detail DCIO TRADE IND]={1},[Trans Trade Class]={'S'},[Trans Status Code] -= {'D'}&amp;gt;}[Sales Amount USD])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and they gives me different result for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me if anything is wrong in my set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316807#M830887</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: is my set analysis is correct? Please help</title>
      <link>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316808#M830888</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;sum({$&amp;lt;[Product Type]-= {'DE','PA','RE','SA','CE','AA','VA','5M','FA'},[Sales Trn Detail DCIO TRADE IND]={1},[Trans Trade Class]={'S'}&amp;gt;+&amp;lt;[Trans Status Code] -= {'D'}&amp;gt;} [Sales Amount USD])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 06:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316808#M830888</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-20T06:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: is my set analysis is correct? Please help</title>
      <link>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316809#M830889</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;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({$&amp;lt;[Product Type]= {"*"}-{'DE','PA','RE','SA','CE','AA','VA','5M','FA'},[Sales Trn Detail DCIO TRADE IND]={1},[Trans Trade Class]={'S'},[Trans Status Code] &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;= {"*"}-&lt;/SPAN&gt; {'D'}&amp;gt;}[Sales Amount USD])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 06:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316809#M830889</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-06-20T06:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: is my set analysis is correct? Please help</title>
      <link>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316810#M830890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's always better to create the Flag in script for long conditions to make expression simpler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;if((not match([Product Type],'DE','PA','RE','SA','CE','AA','VA','5M','FA') and&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;[Sales Trn Detail DCIO TRADE IND] =1 and [Trans Trade Class]='S' and not match([Trans Status Code],'D')), 1) as Flag&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;EM&gt;=Sum({&amp;lt;Flag={1}&amp;gt;} &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Sales Amount USD]&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 07:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316810#M830890</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-06-20T07:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: is my set analysis is correct? Please help</title>
      <link>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316811#M830891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandip,&lt;/P&gt;&lt;P&gt;may be because Set Analysis is per chart, non per Row.&lt;/P&gt;&lt;P&gt;If() is per Row.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 07:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316811#M830891</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-20T07:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: is my set analysis is correct? Please help</title>
      <link>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316812#M830892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This could be happening for a number of reasons.&amp;nbsp; Some suggestions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; Are any of your [Product Type] or [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Trans Status Code] values &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(or fields associated with them)&lt;/SPAN&gt; nulls ?&amp;nbsp; -= in Set Analysis will work differently to "not match" in these cases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; Are you sure that the Product Type values, for instance, are not repeated in a way you're not anticipating?&amp;nbsp; I've attached an example of how similar expressions can "go wrong" based on the underlying data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The particular way in which your result is wrong, or some sample data would be helpful.&amp;nbsp; Is the Set Analysis returning a lower value than you're expecting?&amp;nbsp; A higher value? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 08:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316812#M830892</guid>
      <dc:creator>nsm1234567</dc:creator>
      <dc:date>2017-06-20T08:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: is my set analysis is correct? Please help</title>
      <link>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316813#M830893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there nulls in Product Type or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Trans Status Code fields?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 08:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316813#M830893</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-20T08:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: is my set analysis is correct? Please help</title>
      <link>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316814#M830894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;[Product Type]-= {'DE','PA','RE','SA','CE','AA','VA','5M','FA'},[Sales Trn Detail DCIO TRADE IND]={1},[Trans Trade Class]={'S'},[Trans Status Code] -= {'D'}&amp;gt;}[Sales Amount USD])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 12:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-my-set-analysis-is-correct-Please-help/m-p/1316814#M830894</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-06-20T12:12:04Z</dc:date>
    </item>
  </channel>
</rss>

