<?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: Single Column Pie-Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842320#M1019493</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;You can use if condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Price_Changes=0,Price_Changes)&lt;/P&gt;&lt;P&gt;=If(Price_Changes&amp;gt;0,Price_Changes)&lt;/P&gt;&lt;P&gt;=If(Price_Changes&amp;lt;0,Price_Changes)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2015 09:28:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-02T09:28:43Z</dc:date>
    <item>
      <title>Single Column Pie-Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842319#M1019492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I go about Creating a pie-chart for a single column set of data.. I have two columns, one with items(Item), and another with values(price_changes) which are 0, or positive or negative. I need to create a pie chart with the sum of price changes that are 0, that are greater than 0 and price changes that are lesser than 0..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying with these dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Price_Changes={'=0'}&amp;gt;}Price_Changes)&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Price_Changes={'&amp;gt;0'}&amp;gt;}Price_Changes)&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Price_Changes={'&amp;lt;0'}&amp;gt;}Price_Changes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my Expression is Count(Item)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I keep getting an error.. Can anyone point me in the right direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm an absolute noob with qV.. Kindly be gentle.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 08:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842319#M1019492</guid>
      <dc:creator />
      <dc:date>2015-04-02T08:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Single Column Pie-Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842320#M1019493</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;You can use if condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Price_Changes=0,Price_Changes)&lt;/P&gt;&lt;P&gt;=If(Price_Changes&amp;gt;0,Price_Changes)&lt;/P&gt;&lt;P&gt;=If(Price_Changes&amp;lt;0,Price_Changes)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842320#M1019493</guid>
      <dc:creator />
      <dc:date>2015-04-02T09:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Single Column Pie-Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842321#M1019494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're expressions in the dimension, whether or not correct, results in the values of Price_Changes, no matter what the if condition is. In the calculated dimension you want to group the Price Change values, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Price_Changes=0,'Zero',if(Price_Changes&amp;gt;0,'Positive',if(Price_Changes&amp;lt;0,'Negative')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create three grouped values of price change named Zero,Positive and Negative&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842321#M1019494</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-04-02T09:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Single Column Pie-Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842322#M1019495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can use below code. I think it is helpful to you.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In dimension,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Price_Changes=0,Price_Changes,if(Price_Changes&amp;gt;0,Price_Changes,if(Price_Changes&amp;lt;0,Price_Changes)))&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In expression,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(Item)&amp;nbsp; or&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Item)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842322#M1019495</guid>
      <dc:creator />
      <dc:date>2015-04-02T09:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Single Column Pie-Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842323#M1019496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for explaining the logic behind it. I understand now. Thanks a ton!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 17:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842323#M1019496</guid>
      <dc:creator />
      <dc:date>2015-04-02T17:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Single Column Pie-Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842324#M1019497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, your solution did give me a pie chart, but it listed the no. of items with respect to their price changes. I mean the actual value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14279961294185167 jive_text_macro" jivemacro_uid="_14279961294185167"&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(Price_Changes=0,'Zero',if(Price_Changes&amp;gt;0,'Positive',if(Price_Changes&amp;lt;0,'Negative')))&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;^ This worked perfectly for me though. I still want to thank you for taking the time to help me. I appreciate it a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 17:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Column-Pie-Chart/m-p/842324#M1019497</guid>
      <dc:creator />
      <dc:date>2015-04-02T17:36:05Z</dc:date>
    </item>
  </channel>
</rss>

