<?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: Count Function in Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808263#M285318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Calculated dimension:&lt;/P&gt;&lt;P&gt;If(Void&amp;lt;&amp;gt;'Cancelled',If(Index(Void,'Change to'),SubField(Void,'Change to ',2),Item))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;Count(Item)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 09:26:48 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2015-01-19T09:26:48Z</dc:date>
    <item>
      <title>Count Function in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808261#M285316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, &lt;/P&gt;&lt;P&gt;I have a table as follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="509" style="width: 585px; height: 514px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD class="xl63" height="21" style="height: 15.75pt; width: 90pt;" width="120"&gt;Number&lt;/TD&gt;&lt;TD class="xl63" height="21" style="height: 15.75pt; width: 90pt;" width="120"&gt;Transaction&amp;nbsp;&amp;nbsp; number&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 101pt;" width="134"&gt;Item&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none; width: 80pt;" width="107"&gt;Void&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1001&lt;/TD&gt;&lt;TD class="xl64" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Apple&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Cancelled&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1001&lt;/TD&gt;&lt;TD class="xl65" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Banana&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1001&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Orange&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1002&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Strawberry&lt;/TD&gt;&lt;TD class="xl65" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Change to Banana&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1002&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Biscuits&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;6&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1002&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Cake&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;7&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1002&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Candy&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;8&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1003&lt;/TD&gt;&lt;TD class="xl64" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Apple&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Change to Candy&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;9&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1003&lt;/TD&gt;&lt;TD class="xl65" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Banana&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1004&lt;/TD&gt;&lt;TD class="xl65" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Banana&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;11&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1004&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Candy&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1004&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Orange&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;13&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1005&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Orange&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;14&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1005&lt;/TD&gt;&lt;TD class="xl66" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Candy&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;15&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1005&lt;/TD&gt;&lt;TD class="xl67" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Apple&lt;/TD&gt;&lt;TD class="xl63" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.75pt;"&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;16&lt;/TD&gt;&lt;TD align="right" class="xl63" height="21" style="height: 15.75pt; border-top-style: none; text-align: center;"&gt;1005&lt;/TD&gt;&lt;TD class="xl65" style="border-top-style: none; border-left-style: none; text-align: center;"&gt;Banana&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;　&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;How can i create a pie chart like below?&lt;/P&gt;&lt;P&gt;At number 1 , When 'Cancelled' appeared at the 'Void" Field,&amp;nbsp; row 1 will not be counted for apple.&lt;/P&gt;&lt;P&gt;At number 4, there is the 'Change to Banana' appeared in the 'Void" field, row 1 will be counted for Banana instead of Strawberry.&lt;/P&gt;&lt;P&gt;At number 8,&amp;nbsp; the word 'Change to Candy' appeared, the row will be counted for Candy instead of apple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75619_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 08:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808261#M285316</guid>
      <dc:creator />
      <dc:date>2015-01-19T08:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808262#M285317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi SIU,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you basically need to take two steps here:&lt;/P&gt;&lt;P&gt;- First you have to find out what is the last word in the field "Void" if there is any - use the SUBFIELD() function to split&lt;BR /&gt;&amp;nbsp;&amp;nbsp; out the last word - in case the field is empty, that fct. will not fail, but will just return an empty field -&amp;gt; say, that field &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; will be named "Void_v2", ok?&lt;/P&gt;&lt;P&gt;- Then you can build a calculated field, using the fields "Item" and "Void" - if there is anything in the field "Voic" (or&lt;BR /&gt;&amp;nbsp;&amp;nbsp; what you have made of it, the 3rd segment of it), use that instead of the value in "Item" - you can just drag along the&lt;BR /&gt;&amp;nbsp;&amp;nbsp; value "Cancelled" for now and if it's there, replace it for the value in the field "Item" -&amp;gt; say that field will be named&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Item_v2", ok?&lt;/P&gt;&lt;P&gt;=&amp;gt; Last step: You just count the values in the field "Item_v2" if there is any value other than "Cancelled", in which&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case you don't count, so you could go like&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;&amp;gt;&amp;nbsp; COUNT(IF(Item_v2 &amp;lt;&amp;gt; 'Cancelled', Item_v2))&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 09:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808262#M285317</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-01-19T09:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808263#M285318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Calculated dimension:&lt;/P&gt;&lt;P&gt;If(Void&amp;lt;&amp;gt;'Cancelled',If(Index(Void,'Change to'),SubField(Void,'Change to ',2),Item))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;Count(Item)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 09:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808263#M285318</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-01-19T09:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808264#M285319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SIU,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try below code in script:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Fruit:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Number,Transaction number,Item,Void &lt;BR /&gt; 1,1001,Apple,Cancelled&lt;BR /&gt; 2,1001,Banana&lt;BR /&gt; 3,1001,Orange 　 &lt;BR /&gt; 4,1002,Strawberry,Change to Banana&lt;BR /&gt; 5,1002,Biscuits 　 &lt;BR /&gt; 6,1002,Cake&lt;BR /&gt; 7,1002,Candy&lt;BR /&gt; 8,1003,Apple,Change to Candy&lt;BR /&gt; 9,1003,Banana&lt;BR /&gt; 10,1004,Banana&lt;BR /&gt; 11,1004,Candy&lt;BR /&gt; 12,1004,Orange 　 &lt;BR /&gt; 13,1005,Orange 　 &lt;BR /&gt; 14,1005,Candy&lt;BR /&gt; 15,1005,Apple 　 &lt;BR /&gt; 16,1005,Banana&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; FruitCount:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Void&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) = 0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Item&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Item1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Fruit&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Void&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) = 0;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Void&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;lt;&amp;gt; 0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Void&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt; 'Cancelled',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Void&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Void&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Void&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,' ',2))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Item1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Fruit&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Void&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &amp;lt;&amp;gt; 0;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;drop&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Fruit; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In chart:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Dimension tab - select&amp;nbsp; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Item1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="color: #575757;"&gt;Expression tab -- Count(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Item1)&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;IMG __jive_id="75616" alt="No of items.png" class="image-1 jive-image" src="/legacyfs/online/75616_No of items.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Strawberry is replaced by banana,so there is no strawberry value in Pie chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 10:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808264#M285319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-19T10:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808265#M285320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer, it's simple and worked well!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 02:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808265#M285320</guid>
      <dc:creator />
      <dc:date>2015-01-20T02:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808266#M285321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer, it's really helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 02:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808266#M285321</guid>
      <dc:creator />
      <dc:date>2015-01-20T02:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function in Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808267#M285322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marco, &lt;/P&gt;&lt;P&gt;Can you explain how the index() function and subfield() function work in qlikview?&amp;nbsp; with the answer you provided as the example.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Void&amp;lt;&amp;gt;'Cancelled',If(Index(Void,'Change to'),SubField(Void,'Change to ',2),Item))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 02:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-Qlikview/m-p/808267#M285322</guid>
      <dc:creator />
      <dc:date>2015-01-21T02:37:56Z</dc:date>
    </item>
  </channel>
</rss>

