<?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 of two columns output in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-of-two-columns-output/m-p/869323#M997858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i want this output in table box for a field. I got it through using sum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2015 10:53:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-22T10:53:35Z</dc:date>
    <item>
      <title>Count of two columns output</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-two-columns-output/m-p/869321#M997856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I required Output for the below columns as z= 1/6;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the table for the seven dates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 673px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="113"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="122"&gt;01-02-2015&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="73"&gt;02-02-2015&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="73"&gt;03-02-2015&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="73"&gt;04-02-2015&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="73"&gt;05-02-2015&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="73"&gt;06-02-2015&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-left: none;" width="73"&gt;07-02-2015&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;x&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; null&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;"&gt;Y&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; null&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x- sum of x;&lt;/P&gt;&lt;P&gt;y- count of distinct date where content= null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my output should be z=x/y as z=1/6;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avinash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 07:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-two-columns-output/m-p/869321#M997856</guid>
      <dc:creator />
      <dc:date>2015-06-22T07:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count of two columns output</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-two-columns-output/m-p/869322#M997857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does your resident table in your data model looks like? I assume above is kind of a chart layout?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you are looking for y: count of distinct dates where content&lt;SPAN style="text-decoration: underline;"&gt; is not&lt;/SPAN&gt; equal null, right?&lt;/P&gt;&lt;P&gt;Is 'null' a text value or a NULL in the resident table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you want the output in a text box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can look into some functions that might help you here:&lt;/P&gt;&lt;P&gt;sum(), rangesum(), isnull(), nullcount()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 09:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-two-columns-output/m-p/869322#M997857</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-22T09:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count of two columns output</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-two-columns-output/m-p/869323#M997858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually i want this output in table box for a field. I got it through using sum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 10:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-two-columns-output/m-p/869323#M997858</guid>
      <dc:creator />
      <dc:date>2015-06-22T10:53:35Z</dc:date>
    </item>
  </channel>
</rss>

