<?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: Need help with pie chart and grouped values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667267#M1061598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another approach.&lt;BR /&gt;calculated dimension:&lt;/P&gt;&lt;P&gt;aggr(if(Percentage&amp;gt;100, 'passed', 'not passed'),ID)&lt;/P&gt;&lt;P&gt;one expression:&lt;/P&gt;&lt;P&gt;count(distinct ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2014 16:56:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-06T16:56:36Z</dc:date>
    <item>
      <title>Need help with pie chart and grouped values</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667264#M1061595</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'm new to Qlikview and I'm having some problems with a pie chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database with two columns, these columns are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="194" style="border: 1px solid #000000; width: 169px; height: 148px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Record ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Percentage of time passed&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;98&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;58&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;101&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;101&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The time passed has a maximum value of 101, which means the time of delivery has been passed. I want to plot these values as two pieces in a pie chart, where one contains the number of records with the values for percentage of time passed between 0 and 100, and one piece contains records with the value 101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This data is from a Ticket system, and the purpose of this pie chart is to show how many records have passed their SLA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What dimensions and expression would I use in my pie chart to accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;/Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 16:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667264#M1061595</guid>
      <dc:creator />
      <dc:date>2014-10-06T16:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with pie and grouped values</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667265#M1061596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the following expressions on your pie chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greater than 101: Count({$&amp;lt;Percentage={"&amp;gt;=101"}&amp;gt;}ID)&lt;/P&gt;&lt;P&gt;Between 0 and 100: Count({$&amp;lt;Percentage={"&amp;lt;=100"}&amp;gt;}ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need to difine any dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 16:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667265#M1061596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-06T16:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with pie and grouped values</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667266#M1061597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niklas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create two expression:&lt;/P&gt;&lt;P&gt;count({&amp;lt;percentgeoftimepassed-={'101'}&amp;gt;}Recordid)&lt;/P&gt;&lt;P&gt;count({&amp;lt;percentgeoftimepassed={'101'}&amp;gt;}Recordid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any other field which you can take as dimension?&lt;/P&gt;&lt;P&gt;Other wise generate a field in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 16:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667266#M1061597</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-10-06T16:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with pie chart and grouped values</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667267#M1061598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another approach.&lt;BR /&gt;calculated dimension:&lt;/P&gt;&lt;P&gt;aggr(if(Percentage&amp;gt;100, 'passed', 'not passed'),ID)&lt;/P&gt;&lt;P&gt;one expression:&lt;/P&gt;&lt;P&gt;count(distinct ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 16:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667267#M1061598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-06T16:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with pie chart and grouped values</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667268#M1061599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your very quick help everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of your suggestions worked, but I went with Michales solutions as it allowed me to make selections in the pie chart which transferred to the other charts. I guess that's because it used a defined dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nonetheless, all your solutions helped me understand expressions and dimensions better. Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 17:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667268#M1061599</guid>
      <dc:creator />
      <dc:date>2014-10-06T17:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with pie chart and grouped values</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667269#M1061600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Niklas, you guess is right.&amp;nbsp; By clicking on a slice you select the IDs which are defined in this slice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 17:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-pie-chart-and-grouped-values/m-p/667269#M1061600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-06T17:15:40Z</dc:date>
    </item>
  </channel>
</rss>

