<?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: Null Values to be shown as Others in Pie Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1689759#M52671</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Might be your customer Type is empty? If so, try like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(isnull(customer_type) or len(Trim(customer_type))=0,'Others',customer_type)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2020 09:49:39 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2020-04-01T09:49:39Z</dc:date>
    <item>
      <title>Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1689600#M52651</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I need to show the null values as 'Others' in a pie chart for different customer_types.&lt;/P&gt;&lt;P&gt;i used the below expression, but its not working.&lt;/P&gt;&lt;P&gt;if(isnull(customer_type),'Others',customer_type)&lt;/P&gt;&lt;P&gt;i also tried to use the relative value for the dimension. I gave it as &amp;gt;=1.0%. This works fine. But there is one customer_type, for which the value is &amp;lt;1.0% i.e.,0.3%. This value is also included in Others. I dont want this to be included in Others. Is there any other way to do this. Please suggest.&lt;/P&gt;&lt;P&gt;Please find the attached screenshot.&lt;/P&gt;&lt;P&gt;Measure used is:&lt;/P&gt;&lt;P&gt;Count( {1&amp;lt;card_fYear={"&amp;lt;=$(vMaxYear)"},card_status={'ACTIVE'}&amp;gt;} distinct customer_id)&lt;/P&gt;&lt;P&gt;the Portion in grey color in pie chart must be shown as Others, but rather it just displays a '-'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1689600#M52651</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2024-11-16T18:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1689759#M52671</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Might be your customer Type is empty? If so, try like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(isnull(customer_type) or len(Trim(customer_type))=0,'Others',customer_type)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 09:49:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1689759#M52671</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-04-01T09:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1689786#M52681</link>
      <description>&lt;P&gt;Hello Mayilvahanan,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I tried the above expression, its not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 10:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1689786#M52681</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-04-01T10:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690138#M52705</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible, can you create the sample qlikview file with your scenario to proceed further.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 07:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690138#M52705</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-04-02T07:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690248#M52733</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;May be i can show you the table with values.&lt;/P&gt;&lt;P&gt;I need to show the Number of Active Customers. Basically these customers are from 2004 year. I need to show Number of Active Customers from 2004 till present. So i have used below expression.&lt;/P&gt;&lt;P&gt;Count( {1&amp;lt;card_fYear={"&amp;lt;=$(vMaxYear)"},card_status={'ACTIVE'}&amp;gt;} distinct customer_id)&lt;/P&gt;&lt;P&gt;I am getting the data as attached. When i tried the expressions as you mentioned previously its not working.&lt;/P&gt;&lt;P&gt;I tried other way by using relative value option for dimension. I gave relative value as &amp;gt;=1.0%. But here i have one customer type F which has 0.3 % as value. So when relative value is given as &amp;gt;=1.0%, 0.3% is also included in Others.I dont want this to be included in Others. is there any other way to do this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 11:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690248#M52733</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-04-02T11:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690316#M52741</link>
      <description>&lt;P&gt;You need to wrap your dimension in an aggregation function&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=aggr(if(isnull(customer_type), 'Others',customer_type), customer_type)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 13:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690316#M52741</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-04-02T13:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690594#M52760</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18132" target="_self"&gt;&lt;SPAN class=""&gt;&amp;nbsp;Lorenzoconforti,&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks for the reply. The expression is working. It is showing null values as others. But it is taking customer type A and customer type E into null. They are showing as blank now.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 06:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690594#M52760</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-04-03T06:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690663#M52765</link>
      <description>&lt;P&gt;Possibly you are using other dimensions in your chart&lt;/P&gt;&lt;P&gt;Try adding them to the aggregation; alternatively, share your dashboard if you can&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 09:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690663#M52765</guid>
      <dc:creator>lorenzoconforti</dc:creator>
      <dc:date>2020-04-03T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690698#M52770</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes, in the expression i am using the fields card_fyear and card_status are from other tables, and customer_type is from different table.&lt;/P&gt;&lt;P&gt;Count( {1&amp;lt;card_fYear={"&amp;lt;=$(vMaxYear)"},card_status={'ACTIVE'}&amp;gt;} distinct customer_id)&lt;/P&gt;&lt;P&gt;Can it be due to this?&lt;/P&gt;&lt;P&gt;I will create a app and share.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 10:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1690698#M52770</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-04-03T10:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Null Values to be shown as Others in Pie Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1691081#M52817</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I solved this issue by using Applymap in script.&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;load customer_id,customer_type&lt;/P&gt;&lt;P&gt;from customer_master;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;Applymap('Table',customer_id,'Others') as customer_type_new&lt;/P&gt;&lt;P&gt;from card_masters;&lt;/P&gt;&lt;P&gt;It is working fine now. Null values are shown as Others.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 05:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Null-Values-to-be-shown-as-Others-in-Pie-Chart/m-p/1691081#M52817</guid>
      <dc:creator>sunainapawar</dc:creator>
      <dc:date>2020-04-06T05:44:04Z</dc:date>
    </item>
  </channel>
</rss>

