<?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: One Color in my Pies in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/One-Color-in-my-Pies/m-p/1279121#M461882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many measures do you have in that pie chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: Verdana, sans-serif; font-size: 12px;"&gt;my expressions (measure) Sum(Sales)/Sum (Targets)&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's only one: Sum(Sales)/sum(Targets)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Verdana, sans-serif; font-size: 12px;"&gt;It should be two: one for the hole (= 100% where Sales = Targets) and one Color for the Part&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Verdana; color: #3d3d3d;"&gt;Sum(Sales)/Sum (Targets))&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's two, but what kind of measure Sales=Targets is I don't understand. Do you mean Sum( If(Sales=Targets, Sales,0)) perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 9pt; font-style: inherit; font-family: Verdana; font-weight: inherit;"&gt; S&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Verdana; color: #3d3d3d;"&gt;um(LineAmount) is &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sum(Sales) + Sum (Targets))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And here is number three: Sum(LineAmount). How does that fit in with the others in your pie chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain in more detail what you're trying to do. Post a small qlikview document that demonstrates the problem if you can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Nov 2016 12:39:45 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-11-20T12:39:45Z</dc:date>
    <item>
      <title>One Color in my Pies</title>
      <link>https://community.qlik.com/t5/QlikView/One-Color-in-my-Pies/m-p/1279120#M461881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white; margin: auto 0px;"&gt;&lt;SPAN lang="EN-GB" style="color: #3d3d3d; font-family: 'Verdana','sans-serif'; font-size: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: NL;"&gt;To build&amp;nbsp; a pie chart&amp;nbsp; in a Trellis Chart to show the analysis of sales and targets , for example 3 Companies 001, 002, 003. To show the % from Sales/Targets in each location. On the whole has at the moment one dimension (companies) and in my expressions (measure) Sum(Sales)/Sum (Targets) with the Property on Values % with 1 decimal. The problem is that every Pie in my Trellis Chart has one Color It should be two: one for the hole (= 100% where Sales = Targets) and one Color for the Part&amp;nbsp; (&lt;SPAN style="color: #3d3d3d; font-family: Verdana;"&gt;Sum(Sales)/Sum (Targets)). S&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: NL; color: #3d3d3d; font-size: 9pt; mso-ansi-language: EN-GB; font-family: Verdana; mso-fareast-font-family: 'Times New Roman';"&gt;um(LineAmount) is &lt;SPAN style="color: #3d3d3d; font-family: Verdana;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: Verdana;"&gt;Sum(Sales) + Sum (Targets))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white; margin: auto 0px;"&gt;&lt;/P&gt;&lt;P style="background: white; margin: auto 0px;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: NL; color: #3d3d3d; font-size: 9pt; mso-ansi-language: EN-GB; font-family: Verdana; mso-fareast-font-family: 'Times New Roman';"&gt;I hope someone can help me to create the right pies in my TrellisChart&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white; margin: auto 0px;"&gt;&lt;/P&gt;&lt;P style="background: white; margin: auto 0px;"&gt;&lt;SPAN style="mso-bidi-font-family: 'Times New Roman'; mso-fareast-language: NL; color: #3d3d3d; font-size: 9pt; mso-ansi-language: EN-GB; font-family: Verdana; mso-fareast-font-family: 'Times New Roman';"&gt;Thanks in regard&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Nov 2016 15:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Color-in-my-Pies/m-p/1279120#M461881</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2016-11-19T15:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: One Color in my Pies</title>
      <link>https://community.qlik.com/t5/QlikView/One-Color-in-my-Pies/m-p/1279121#M461882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many measures do you have in that pie chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: Verdana, sans-serif; font-size: 12px;"&gt;my expressions (measure) Sum(Sales)/Sum (Targets)&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's only one: Sum(Sales)/sum(Targets)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Verdana, sans-serif; font-size: 12px;"&gt;It should be two: one for the hole (= 100% where Sales = Targets) and one Color for the Part&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Verdana; color: #3d3d3d;"&gt;Sum(Sales)/Sum (Targets))&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's two, but what kind of measure Sales=Targets is I don't understand. Do you mean Sum( If(Sales=Targets, Sales,0)) perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 9pt; font-style: inherit; font-family: Verdana; font-weight: inherit;"&gt; S&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Verdana; color: #3d3d3d;"&gt;um(LineAmount) is &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sum(Sales) + Sum (Targets))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And here is number three: Sum(LineAmount). How does that fit in with the others in your pie chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain in more detail what you're trying to do. Post a small qlikview document that demonstrates the problem if you can.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Nov 2016 12:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Color-in-my-Pies/m-p/1279121#M461882</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-11-20T12:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: One Color in my Pies</title>
      <link>https://community.qlik.com/t5/QlikView/One-Color-in-my-Pies/m-p/1279122#M461883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Dataset has one Amount and that is LineAmount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on the DataLevel (Actual or Targets) there is a Sum (Actual = Sales) and a Sum(Targets)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when Sum(Sales) = Sum(Targets) my goal is reached = 100% and the whole Pie should&amp;nbsp; be GREEN.&lt;/P&gt;&lt;P&gt;My problem was that my pie was red. I solved the problem: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I calculate one part by:&amp;nbsp; Sum(ActualAmount) / Sum(TargetAmount)&amp;nbsp; (Format in %)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the rest by: &lt;/P&gt;&lt;P&gt;If ((Sum(TargetAmount) - Sum(ActualAmount))/ Sum(TargetAmount)&amp;gt; 0, (Sum(TargetAmount) - Sum(ActualAmount))/ Sum(TargetAmount), 0)&amp;nbsp; (Format in %)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it works well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Court&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 15:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-Color-in-my-Pies/m-p/1279122#M461883</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2016-11-22T15:43:08Z</dc:date>
    </item>
  </channel>
</rss>

