<?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 Basic count() question? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Basic-count-question/m-p/174127#M43067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niklas, what you need to do is to use something like&lt;/P&gt;&lt;P&gt;COUNT(FIELD) / COUNT (TOTAL FIELD) to get the percentage. Let's assume you have&lt;BR /&gt;A=10&lt;BR /&gt;B=40&lt;BR /&gt;C=50&lt;/P&gt;&lt;P&gt;Then you would get 10%, 40%, 50%.&lt;/P&gt;&lt;P&gt;Now if you want to achieve the same thing but add a time dimension your formula would look like&lt;/P&gt;&lt;P&gt;COUNT(FIELD) / COUNT ( TOTAL &amp;lt;DATEFIELD&amp;gt; FIELD) then it would give you the share just for a paticular date (you can use any other dimension of course too).&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Mar 2010 12:00:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-10T12:00:50Z</dc:date>
    <item>
      <title>Basic count() question?</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-count-question/m-p/174126#M43066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a rather basic question regarding a graph expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have campaign data for my customers. Each customer can be a member of a campaign. In each campaign I store a response value (YES/NO/NO ANSWER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I wish to make a hitrate graph where I have one bar per campaign, and the bar divided into the response values (YES, NO etc). I want the expressions to be relative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I only have one campaign, the different categories sum up to 100%, but when i add another campaign, the values of the TWO CAMPAIGNS sum up to 100%. I want, naturally, each bar to sum up to 100% as to be able to measure a campaign hitrate. How do I do to make this happen? Obviously the "relative" checkbox in the Expression dialogue doesn't do the trick.&lt;/P&gt;&lt;P&gt;I use COUNT(distinct cus_No) to count my customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 11:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-count-question/m-p/174126#M43066</guid>
      <dc:creator />
      <dc:date>2010-03-10T11:22:52Z</dc:date>
    </item>
    <item>
      <title>Basic count() question?</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-count-question/m-p/174127#M43067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niklas, what you need to do is to use something like&lt;/P&gt;&lt;P&gt;COUNT(FIELD) / COUNT (TOTAL FIELD) to get the percentage. Let's assume you have&lt;BR /&gt;A=10&lt;BR /&gt;B=40&lt;BR /&gt;C=50&lt;/P&gt;&lt;P&gt;Then you would get 10%, 40%, 50%.&lt;/P&gt;&lt;P&gt;Now if you want to achieve the same thing but add a time dimension your formula would look like&lt;/P&gt;&lt;P&gt;COUNT(FIELD) / COUNT ( TOTAL &amp;lt;DATEFIELD&amp;gt; FIELD) then it would give you the share just for a paticular date (you can use any other dimension of course too).&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 12:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-count-question/m-p/174127#M43067</guid>
      <dc:creator />
      <dc:date>2010-03-10T12:00:50Z</dc:date>
    </item>
    <item>
      <title>Basic count() question?</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-count-question/m-p/174128#M43068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, and thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, the TOTAL qualifier doesn't work for me. It seems like what it does is take the number of customers with a certain response and divides it with the total amount of customers overall.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What I'm trying to accomplish is to divide the number of customers w/ a certain response with the number of customers &lt;B&gt;in that particular campaign.&lt;/B&gt; How do I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 13:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-count-question/m-p/174128#M43068</guid>
      <dc:creator />
      <dc:date>2010-03-10T13:31:25Z</dc:date>
    </item>
    <item>
      <title>Basic count() question?</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-count-question/m-p/174129#M43069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be this expression will be resolve your problem:&lt;/P&gt;&lt;P&gt;count({&amp;lt;Response = {"YES"}&amp;gt;}distinct CustNo) /count(distinct CustNo)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 14:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-count-question/m-p/174129#M43069</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-03-10T14:44:14Z</dc:date>
    </item>
  </channel>
</rss>

