<?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 Set Analysis... Help with this Multiple Condition please! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832468#M469190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'va a table with these dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Cliente&lt;/P&gt;&lt;P&gt;2)Descrizione Articolo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created two different expressions that calculate sales (vfatturatoAc)&amp;nbsp; and quantity (qfatturatoAC) for each client (cliente) and for specific category of product (N°Conto):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales: &lt;STRONG&gt;=Only({&amp;lt;[N° Conto]={"0501001*"}&amp;gt;}VFatturatoAC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Quantity: &lt;STRONG&gt;=Only({&amp;lt;[N° Conto]={"0501001*"}&amp;gt;}QFatturatoAC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how can i calculate how many spare parts (&lt;STRONG style="font-size: 13.3333330154419px;"&gt;[N° Conto]={"0501001*",0501002*"}) &lt;/STRONG&gt;has bought those client who bought at least One of this product (&lt;STRONG style="font-size: 13.3333330154419px;"&gt;[N° Conto]={"0501001*"}).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to be enough clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francesco.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2015 15:46:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-20T15:46:42Z</dc:date>
    <item>
      <title>Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832468#M469190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'va a table with these dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Cliente&lt;/P&gt;&lt;P&gt;2)Descrizione Articolo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created two different expressions that calculate sales (vfatturatoAc)&amp;nbsp; and quantity (qfatturatoAC) for each client (cliente) and for specific category of product (N°Conto):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales: &lt;STRONG&gt;=Only({&amp;lt;[N° Conto]={"0501001*"}&amp;gt;}VFatturatoAC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Quantity: &lt;STRONG&gt;=Only({&amp;lt;[N° Conto]={"0501001*"}&amp;gt;}QFatturatoAC)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how can i calculate how many spare parts (&lt;STRONG style="font-size: 13.3333330154419px;"&gt;[N° Conto]={"0501001*",0501002*"}) &lt;/STRONG&gt;has bought those client who bought at least One of this product (&lt;STRONG style="font-size: 13.3333330154419px;"&gt;[N° Conto]={"0501001*"}).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to be enough clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francesco.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 15:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832468#M469190</guid>
      <dc:creator />
      <dc:date>2015-07-20T15:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832469#M469191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I completely understand, do you have a sample to look at?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 16:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832469#M469191</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-20T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832470#M469192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how you calculate the number of spare parts, but you need a set definition that looks something like:&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;[N° Conto]=&lt;STRONG style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{"0501001*",0501002*"}, Cliente=p({&amp;lt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[N° Conto]=&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{"0501001*"}&lt;/STRONG&gt;&amp;gt;}Cliente)&lt;/STRONG&gt; &amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;That means filter [N° Conto] to those two values and also select only the possible clients that are left when [N° Conto] is filtered on 0501001*.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 16:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832470#M469192</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-20T16:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832471#M469193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for the answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, after your advice my expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;[N° Conto]={"0502001*","0502002*"}, Cliente=p({&amp;lt;[N° Conto]={"0501001*"}&amp;gt;}Cliente) &amp;gt;}VFatturatoAC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P&gt;Spare Parts:&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;[N° Conto]={"0502001*","0502002*"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Client that bought a specific product: &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;Cliente=p({&amp;lt;[N° Conto]={"0501001*"}&amp;gt;}Cliente&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sales: VfatturatoAc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to work! But....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Now I also have to tell him to exclude customers who bought another specific product &lt;STRONG style="font-size: 13.3333330154419px;"&gt;[N° Conto]={"0501006*"}&lt;/STRONG&gt;. How is possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Thanx&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 08:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832471#M469193</guid>
      <dc:creator />
      <dc:date>2015-07-21T08:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832472#M469194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like (not tried though):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;=Sum({&amp;lt;[N° Conto]={"0502001*","0502002*"}, Cliente=p({&amp;lt;[N° Conto]={"0501001*"} &lt;STRONG style="color: #ff0000;"&gt;- p&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;({&amp;lt;[N° Conto]={"0501006*"}&lt;/SPAN&gt;&amp;gt;}Cliente) &amp;gt;}VFatturatoAC)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 08:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832472#M469194</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-21T08:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832473#M469195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it gives me an &lt;SPAN lang="en"&gt;error in the first bracket:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in set modifier expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: terminal, monaco; font-size: 13px;"&gt;Sum&lt;STRONG&gt;(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: terminal, monaco; font-size: 13px;"&gt;{&amp;lt;[N° Conto]={"0502001*","0502002*"}, Cliente=p({&amp;lt;[N° Conto]={"0501001*"} &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: terminal, monaco; color: #ff0000;"&gt;- p&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: terminal, monaco; color: #0000ff;"&gt;({&amp;lt;[N° Conto]={"0501006*"}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: terminal, monaco; font-size: 13px;"&gt;&amp;gt;}Cliente) &amp;gt;}VFatturatoAC)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 08:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832473#M469195</guid>
      <dc:creator />
      <dc:date>2015-07-21T08:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832474#M469196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, try :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;=Sum({&amp;lt;[N° Conto]={"0502001*","0502002*"}, Cliente=p({&amp;lt;[N° Conto]={"0501001*"}&lt;SPAN style="color: #ff00ff;"&gt;&amp;gt;})&lt;/SPAN&gt; &lt;STRONG style="color: #ff0000;"&gt;- p&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;({&amp;lt;[N° Conto]={"0501006*"}&lt;/SPAN&gt;&amp;gt;}Cliente) &amp;gt;}VFatturatoAC)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 08:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832474#M469196</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-21T08:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832475#M469197</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;might&amp;nbsp; be i am wrong but i did not get your expression when you say&lt;/P&gt;&lt;P&gt;[N° Conto]={"0501001*"} then it include only that value which start with 0501001 and it will not consider&lt;/P&gt;&lt;P&gt;value which start with 0501006 then why this &lt;STRONG&gt;[N° Conto]={"0501006*"}&lt;/STRONG&gt; to exclude it from [N° Conto]={"0501001*"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 08:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832475#M469197</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-07-21T08:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832476#M469198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried your expression but the results doesn't include only &lt;STRONG&gt;Cliente&lt;/STRONG&gt; who bought &lt;STRONG style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: terminal, monaco; font-weight: inherit;"&gt;{"0501001*"}.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where's the problem??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 10:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832476#M469198</guid>
      <dc:creator />
      <dc:date>2015-07-21T10:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832477#M469199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample qvw with explained expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 11:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832477#M469199</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-07-21T11:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis... Help with this Multiple Condition please!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832478#M469200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Table1: &lt;/SPAN&gt;&lt;SPAN lang="en" style="font-size: 13.3333330154419px;"&gt;This is the chart with the correct data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table 1.jpg" class="jive-image image-1" src="/legacyfs/online/93494_Table 1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Table 2: This happen when i want to see how many spare parts has bought those client that has at least 1 Quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table 2.jpg" class="jive-image image-2" src="/legacyfs/online/93495_Table 2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see comare some clients that has bought spare parts but has never bought 0501001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 12:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Help-with-this-Multiple-Condition-please/m-p/832478#M469200</guid>
      <dc:creator />
      <dc:date>2015-07-21T12:43:43Z</dc:date>
    </item>
  </channel>
</rss>

