<?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: Calculate dimension for pie chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401022#M811078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've try it and didn't get the expected result. I will add some more details: Cust: load * Inline [ Cust_Id, Name 1,A 2,B 3,C 4,D ]; Sales: load * Inline [ Cust_id, Sales 1,100 2,20 3,30 ] The pie chart should count 3 customers with sales and 1 customer without sales. Regards, Mihai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 11:11:13 GMT</pubDate>
    <dc:creator>bvmike2001</dc:creator>
    <dc:date>2017-10-05T11:11:13Z</dc:date>
    <item>
      <title>Calculate dimension for pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401019#M811075</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;I have the following scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one Customer table and one Sales table; linked together in the model by Customer_ID, let's say&lt;/P&gt;&lt;P&gt;I need to create a pie chart that count the # of Customers over a dimension with these segments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- No Sales&lt;/P&gt;&lt;P&gt;- with Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is simple: count(distinct Customer_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that the calculated dimension and the expression doesn't return anything for "No Sales" so the pie chart only display the # of Customers with Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to solve it without any joins in the model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mihai&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/Calculate-dimension-for-pie-chart/m-p/1401019#M811075</guid>
      <dc:creator>bvmike2001</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dimension for pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401020#M811076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try with a dimensionless pie chart adn 2 expressions&lt;/P&gt;&lt;P&gt;Exp1: count(distinct {&amp;lt;Customer_ID={"=Sum(Sales)=0"}&amp;gt;}Customer_ID)&lt;/P&gt;&lt;P&gt;Exp2: count(distinct {&amp;lt;Customer_ID={"=Sum(Sales)&amp;gt;0"}&amp;gt;}Customer_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m assuming that your metric field is called "Sales"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 10:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401020#M811076</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-10-05T10:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dimension for pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401021#M811077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is calculated dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 11:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401021#M811077</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-10-05T11:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dimension for pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401022#M811078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've try it and didn't get the expected result. I will add some more details: Cust: load * Inline [ Cust_Id, Name 1,A 2,B 3,C 4,D ]; Sales: load * Inline [ Cust_id, Sales 1,100 2,20 3,30 ] The pie chart should count 3 customers with sales and 1 customer without sales. Regards, Mihai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 11:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401022#M811078</guid>
      <dc:creator>bvmike2001</dc:creator>
      <dc:date>2017-10-05T11:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dimension for pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401023#M811079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems correct to me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 11:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401023#M811079</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-10-05T11:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dimension for pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401024#M811080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 11:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401024#M811080</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-10-05T11:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dimension for pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401025#M811081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, Anjos!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain please the logic inside the set analysis? I never used such.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401025#M811081</guid>
      <dc:creator>bvmike2001</dc:creator>
      <dc:date>2017-10-05T12:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate dimension for pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401026#M811082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set Analysis is equivalent to a selection made into a listbox&lt;/P&gt;&lt;P&gt;&lt;EM&gt;count(distinct {&amp;lt;Customer_ID={"&lt;STRONG&gt;=Sum(Sales)=0"&lt;/STRONG&gt;}&amp;gt;}Customer_ID)&lt;/EM&gt; means&lt;/P&gt;&lt;P&gt;Make a selection into Customer_ID field retrieving all customers that have Sum(Sales)=0, meaning "NO SALES" at all&lt;/P&gt;&lt;P&gt;&lt;EM&gt;count(distinct {&amp;lt;Customer_ID={"&lt;STRONG&gt;=Sum(Sales)&amp;gt;0"&lt;/STRONG&gt;}&amp;gt;}Customer_ID)&lt;/EM&gt; means&lt;/P&gt;&lt;P&gt;Make a selection into Customer_ID field retrieving all customers that have Sum(Sales)&amp;gt;0, meaning this customer have had sales&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-dimension-for-pie-chart/m-p/1401026#M811082</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-10-05T13:00:02Z</dc:date>
    </item>
  </channel>
</rss>

