<?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: Question: count non-empty (xls) fields from 3 columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482699#M1146960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attach the QVW directly and ask your questions...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2013 21:11:20 GMT</pubDate>
    <dc:creator>jolivares</dc:creator>
    <dc:date>2013-07-15T21:11:20Z</dc:date>
    <item>
      <title>Question: count non-empty (xls) fields from 3 columns</title>
      <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482698#M1146959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thank you for reading my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a newbie to Qlikview but love it already. I have followed some courses on youtube but I am running into a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In XLS I have the following columns (see the word document for the exact date):&lt;/P&gt;&lt;P&gt;{simplified}&lt;/P&gt;&lt;P&gt;A (Customer)&lt;/P&gt;&lt;P&gt;B (exp_1_class_1)&amp;nbsp; let's assume some classifications are given in XLS: {green 2 times - white 2 times}&lt;/P&gt;&lt;P&gt;C (exp_2_class_1) and {blue: 2 times - white 2 times}&lt;/P&gt;&lt;P&gt;D (exp_3_class_1) all empty...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are eg 20 customers and the classification is one out of 5 options)...{green - blue - yellow - white - black}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I have managed to create a count statement. Count (exp_1_class_1)+Count (exp_2_class_1)+Count (exp_3_class_1) and it does count the total rows (all clients * 3) but... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) it also counts empty cells &lt;STRONG&gt;[Solved by Jolivares in his reply: Jul 16, 2013 11:21 AM]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) since i have defined the graph with 'Used Dimension': exp_1_class_1, it will never show 'blue' since that only happened in the other 'dimension'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what I need to try to get it to do, is to consider a new 'exp_4' which is a long list of the exp_1 + exp_2 + exp_3 and it should not count the empty cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something that seemed to be piece of cake is already a challenge in my first attempt!&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 21:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482698#M1146959</guid>
      <dc:creator />
      <dc:date>2013-07-15T21:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Question: count non-empty (xls) fields from 3 columns</title>
      <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482699#M1146960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attach the QVW directly and ask your questions...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 21:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482699#M1146960</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2013-07-15T21:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question: count non-empty (xls) fields from 3 columns</title>
      <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482700#M1146961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your quick reply. I have added the QVW and XLS files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 21:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482700#M1146961</guid>
      <dc:creator />
      <dc:date>2013-07-15T21:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question: count non-empty (xls) fields from 3 columns</title>
      <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482701#M1146963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This... before the Load statement wirte NULLASVALUE *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then to avoid QV count "blank" values try in the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(If(Len(exp_1_class_1)&amp;gt;0,exp_1_class_1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 15:21:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482701#M1146963</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2013-07-16T15:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question: count non-empty (xls) fields from 3 columns</title>
      <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482702#M1146964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jolivares!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for this solution!!! It works perfectly and avoids the empty cells. Great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So only one things remains now. How can QV see the new 'colors' in the second or third column and add them to the one graph...?&lt;/P&gt;&lt;P&gt;(In my initial question marked as: 2)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again thanks for helping me taking this hurdle!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 15:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482702#M1146964</guid>
      <dc:creator />
      <dc:date>2013-07-16T15:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question: count non-empty (xls) fields from 3 columns</title>
      <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482703#M1146965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok... you can create another table using the crosstable utility:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NULLASVALUE *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD * &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Blad1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;CrossTable(Exp_Class, Data, 2)&lt;/P&gt;&lt;P&gt;LOAD * FROM&lt;/P&gt;&lt;P&gt;C:\Users\jolivares.GPTQ\Downloads\xls.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Blad1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Drop Table T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have a table converted to a "list"... see if this solve your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 16:07:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482703#M1146965</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2013-07-16T16:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question: count non-empty (xls) fields from 3 columns</title>
      <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482704#M1146966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jolivares,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry it took me some time, but thank you once more. Perfect. I had to learn a couple of hours what really happens and tried to understand what you had suggested but I have it all running smoothly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just need some more finetuning on the empty cells, but that might be just something like combining your two answers to which I hope I am able now! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards from The Netherlands and a deep bow to you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 22:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482704#M1146966</guid>
      <dc:creator />
      <dc:date>2013-07-18T22:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Question: count non-empty (xls) fields from 3 columns</title>
      <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482705#M1146967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards from Dominican Republic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 01:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482705#M1146967</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2013-07-19T01:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Question: count non-empty (xls) fields from 3 columns</title>
      <link>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482706#M1146968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jolivares,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am almost there... But am having some problem in the latter phase. Is there any way you can email me so I can send you a private msg?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please email me on &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:singlesingon2013@aksy.nl"&gt;singlesingon2013@aksy.nl&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope to hear from you. (And it won't be too much of a hasstle,&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; I promise!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 18:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-count-non-empty-xls-fields-from-3-columns/m-p/482706#M1146968</guid>
      <dc:creator />
      <dc:date>2013-07-30T18:34:08Z</dc:date>
    </item>
  </channel>
</rss>

