<?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: Ancora Set Analisys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840526#M999268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EUREKA!&lt;/P&gt;&lt;P&gt;Here the answer:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;COUNT({&amp;lt;MyTstTipo={A}, Cliente =P({&amp;lt;MyTstTipo={B}&amp;gt;} Cliente)&amp;gt;} DISTINCT Cliente)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.E.&lt;/P&gt;&lt;P&gt;Count every Client with MyTstTipo="A" that is in group of all clients with &lt;SPAN style="font-size: 13.3333330154419px;"&gt;MyTstTipo="B"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2015 13:05:33 GMT</pubDate>
    <dc:creator>Marcoimp</dc:creator>
    <dc:date>2015-06-17T13:05:33Z</dc:date>
    <item>
      <title>Ancora Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840521#M999258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ho un certo numero di clienti che hanno comprato il prodotto A, alcuni il prodotto B, altri sia il prodotto A che il B....&lt;/P&gt;&lt;P&gt;come faccio a contarli?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solo A:&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;MyTstTipo={A}, Cliente-=P({&amp;lt;MyTstTipo={B}&amp;gt;} Cliente)&amp;gt;} DISTINCT Cliente)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solo B:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;COUNT({&amp;lt;MyTstTipo={B}, Cliente-=P({&amp;lt;MyTstTipo={A}&amp;gt;} Cliente)&amp;gt;} DISTINCT Cliente)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Giusto?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Ma per quelli che hanno comprato tutt'e due come si fa?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 10:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840521#M999258</guid>
      <dc:creator>Marcoimp</dc:creator>
      <dc:date>2015-06-17T10:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ancora Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840522#M999260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I manage to understand italian (latin language, like portuguese), but I do not speak/write italian, so my answer will be in english. I hope that's not a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may 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: 13.3333330154419px;"&gt;COUNT({&amp;lt;MyTstTipo={A,B}, Cliente-=P({&amp;lt;MyTstTipo={A,B}&amp;gt;} Cliente)&amp;gt;} DISTINCT Cliente)&lt;/SPAN&gt;&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: 13.3333330154419px;"&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; font-size: 13.3333330154419px;"&gt;Best regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 11:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840522#M999260</guid>
      <dc:creator>jduarte12</dc:creator>
      <dc:date>2015-06-17T11:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ancora Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840523#M999262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The set analysis I suggested before will return "A or B".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to get "A and B", it may be better to 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: 13.3333330154419px;"&gt;COUNT({&amp;lt;MyTstTipo={B}, Cliente-=P({&amp;lt;MyTstTipo={A}&amp;gt;} Cliente)&amp;gt;*&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;&amp;lt;MyTstTipo={A}, Cliente-=P({&amp;lt;MyTstTipo={B}&amp;gt;} Cliente)&amp;gt;&lt;/SPAN&gt;} DISTINCT Cliente)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 11:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840523#M999262</guid>
      <dc:creator>jduarte12</dc:creator>
      <dc:date>2015-06-17T11:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ancora Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840524#M999264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No: in your example I will get 0, because I ask for Clients both with only "A" AND with only "B".... impossibile.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 12:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840524#M999264</guid>
      <dc:creator>Marcoimp</dc:creator>
      <dc:date>2015-06-17T12:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ancora Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840525#M999266</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;I have some clients that purchased product "A" and some other product "B", some other purchased "A" and "B", how can I count them?&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;Only A:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;COUNT({&amp;lt;MyTstTipo={A}, Cliente -=P({&amp;lt;MyTstTipo={B}&amp;gt;} Cliente)&amp;gt;} DISTINCT Cliente)&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;Only B:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;COUNT({&amp;lt;MyTstTipo={B}, Cliente -=P({&amp;lt;MyTstTipo={A}&amp;gt;} Cliente)&amp;gt;} DISTINCT Cliente)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;Is it right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 13.3333330154419px; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;But how can I count who purchased both products?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 12:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840525#M999266</guid>
      <dc:creator>Marcoimp</dc:creator>
      <dc:date>2015-06-17T12:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ancora Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840526#M999268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EUREKA!&lt;/P&gt;&lt;P&gt;Here the answer:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;COUNT({&amp;lt;MyTstTipo={A}, Cliente =P({&amp;lt;MyTstTipo={B}&amp;gt;} Cliente)&amp;gt;} DISTINCT Cliente)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.E.&lt;/P&gt;&lt;P&gt;Count every Client with MyTstTipo="A" that is in group of all clients with &lt;SPAN style="font-size: 13.3333330154419px;"&gt;MyTstTipo="B"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 13:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ancora-Set-Analisys/m-p/840526#M999268</guid>
      <dc:creator>Marcoimp</dc:creator>
      <dc:date>2015-06-17T13:05:33Z</dc:date>
    </item>
  </channel>
</rss>

