<?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: Pie chart drill down - label is showing incorrectly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004414#M956799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've amended the Null function but still got the same labelling problem. All the carrier codes that fall under the 2nd dataset in the set analysis are labelled as OTHERS... I guess the issue here is more on the functionality and behavior of a drill down in pie chart... As per my observation, it seems only caters all the datas that came from the normal filtering in the dashboard which is my 1st data set... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2015 02:51:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-17T02:51:49Z</dc:date>
    <item>
      <title>Pie chart drill down - label is showing incorrectly</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004412#M956797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Hi All, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;I got an issue while doing a drill down in a PIE chart and would like to ask for some advise on how to fix it. &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;As per the requirement, I need to create a PIE chart with the below filtering requirement for example.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;Origin Region: PRC&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Origin Country: Hong Kong&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Origin Port: HKG&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Destination Region: ALL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Destination Country: ALL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Destination Port = ALL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Back &amp;amp; Forth: Yes &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;***(Back &amp;amp; Forth logic: YES means I need to get the sum of the 2 data sets with &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;1. Origin Region = PRC AND Origin Country = Hong Kong AND Origin Port = HKG AND Destination Region = ALL AND Destination Country = ALL AND Destination Port = ALL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;2. Destination Region = PRC AND Destination Country = Hong Kong AND Destination Port = HKG AND Origin Region = ALL AND Origin Country = ALL AND Origin Port = ALL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Whilst NO means I only need to get 1 data set Origin Region = PRC AND Origin Country = Hong Kong AND Origin Port = HKG AND Destination Region = ALL AND Destination Country = ALL AND Destination Port = ALL)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;So in EXPRESSION, I’ve added set analysis as per below logic&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="background: aqua; color: blue; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt; ({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: maroon; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;[Destination Port]&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="mso-fareast-language: EN-AU; color: gray; background: aqua; mso-ansi-language: EN-AU; mso-highlight: aqua;"&gt;$(vOriginPort)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: maroon; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;[Destination Country Name]&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="mso-fareast-language: EN-AU; color: gray; background: aqua; mso-ansi-language: EN-AU; mso-highlight: aqua;"&gt;$(vOriginCountry)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: maroon; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;[Destination Region]&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="mso-fareast-language: EN-AU; color: gray; background: aqua; mso-ansi-language: EN-AU; mso-highlight: aqua;"&gt;$(vOriginRegion)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: maroon; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;[Sales Territory Description]&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="mso-fareast-language: EN-AU; color: gray; background: aqua; mso-ansi-language: EN-AU; mso-highlight: aqua;"&gt;$(vSalesTerr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: maroon; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;[Origin Port]&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: maroon; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;[Origin Country Name]&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: maroon; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;[Origin Region]&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;=&lt;BR /&gt; &amp;gt;&lt;/SPAN&gt;&lt;SPAN style="background: yellow; color: black; mso-highlight: yellow; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;+$&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;} &lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: maroon; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;[Passenger Count]&lt;/SPAN&gt;&lt;SPAN style="background: aqua; color: black; mso-highlight: aqua; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: arial,helvetica,sans-serif; font-size: 10pt; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;Where the highlighted in blue is getting the 2nd data set and highlighted with yellow is getting the current selection which is the 1st data set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: arial,helvetica,sans-serif; font-size: 10pt; mso-ansi-language: EN-AU; mso-fareast-language: EN-AU;"&gt;Using this logic, I was able to get the correct sum passenger count in the pie chart by carrier codes. I’ve also added a label in the pie chart to show the corresponding carrier codes. I set to show the top 10 carrier codes and the remaining ones will be grouped to OTHERS. However, when I try to click the OTHERS to drill down the pie chart, the label seems cannot show the correct carrier names.&amp;nbsp; Pls refer to the attached file for the dump screen. In the second dump screen below, some of the carrier codes was set to grey colour and label was set to OTHERS instead of the correct carrier codes. After checking the data, I found out that those data (carrier codes) were fall under the 2&lt;SUP&gt;nd&lt;/SUP&gt; data set. I guess somehow the labelling only shows the list of carrier codes available in the 1&lt;SUP&gt;st&lt;/SUP&gt; data set. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-fareast-language: EN-AU; color: black; font-size: 10pt; mso-ansi-language: EN-AU; font-family: arial,helvetica,sans-serif;"&gt;Does anyone know how to fix this issue? As the requirement needs to set the pie chart properly to the corresponding carrier codes. Heard from my colleague that this is the normal behavior of the drill down function in PIE chart which only caters the current filtering selection data. Is it true? Is there any alternative way to solve this issue? Pls advise. Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 15:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004412#M956797</guid>
      <dc:creator />
      <dc:date>2015-11-16T15:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart drill down - label is showing incorrectly</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004413#M956798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if this solve your problem, but i take a look to your doc and see that you are comparing with null function incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put &lt;STRONG style="text-decoration: underline;"&gt;Null()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Post again if you continue with the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 19:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004413#M956798</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2015-11-16T19:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart drill down - label is showing incorrectly</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004414#M956799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've amended the Null function but still got the same labelling problem. All the carrier codes that fall under the 2nd dataset in the set analysis are labelled as OTHERS... I guess the issue here is more on the functionality and behavior of a drill down in pie chart... As per my observation, it seems only caters all the datas that came from the normal filtering in the dashboard which is my 1st data set... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 02:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004414#M956799</guid>
      <dc:creator />
      <dc:date>2015-11-17T02:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart drill down - label is showing incorrectly</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004415#M956800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(not IsNull([%Carrier Code]),[%Carrier Code],'OTHERS')&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of =if([%Carrier Code] &amp;lt;&amp;gt; NULL,[%Carrier Code],'OTHERS')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 03:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004415#M956800</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-11-17T03:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart drill down - label is showing incorrectly</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004416#M956801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Settu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried your expression but still have same issue. I've changed the pie chart into a table to show the data details for your reference. As you can see on the dump screen, the labels can be shown when origin port = HKG and destination port = * (normal filtering set in the dashboard) whilst when Origin port = * and Destination port = HKG (logic added in set analysis), all label were set to OTHERS.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Figures.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105714_Figures.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 04:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-drill-down-label-is-showing-incorrectly/m-p/1004416#M956801</guid>
      <dc:creator />
      <dc:date>2015-11-17T04:00:18Z</dc:date>
    </item>
  </channel>
</rss>

