<?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 sum in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/1649473#M1137986</link>
    <description>&lt;P&gt;hi everyone,&lt;/P&gt;&lt;P&gt;Need a little help here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to do on avg of float day in certain range, count number of retailers. here's the expression. but it doesn't work as expected.&lt;/P&gt;&lt;P&gt;count(if({&amp;lt;KYSC.FLOAT_DAY = {"=avg([KYSC.FLOAT_DAY])&amp;gt;=0&amp;lt;1"}&amp;gt;}) distinct KYSC_SALE_CHNL_CD )&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 08:50:40 GMT</pubDate>
    <dc:creator>wajiha</dc:creator>
    <dc:date>2019-11-21T08:50:40Z</dc:date>
    <item>
      <title>count sum in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493720#M1137980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;I want to count the cusomers (=cddeb) that have a total sales (= omzet-bedr) of &amp;gt;20000&amp;lt;30000 (and so further on)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;When I do this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[omzet-bedr]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;20000&amp;lt;30000'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;cddeb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;the fomula is okay. But this doesn't sum the sales.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;When I add sum to the formula:&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;count&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;sum(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[omzet-bedr])&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'&amp;gt;20000&amp;lt;30000'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;cddeb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; it doesn't work any more.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;What do I do wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Can someone help me out.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 12:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493720#M1137980</guid>
      <dc:creator>anitamanders</dc:creator>
      <dc:date>2013-09-30T12:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: count sum in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493721#M1137981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(If(Aggr(Sum(omzet-bedr), cddeb)&amp;gt;20000 and Aggr(Sum(omzet-bedr), cddeb)&amp;lt;30000, cddeb))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 12:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493721#M1137981</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-30T12:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: count sum in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493722#M1137982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;cddeb = {"=sum(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[omzet-bedr]) &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;20000 and sum([omzet-bedr]) &amp;lt;30000"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;cddeb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 13:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493722#M1137982</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-30T13:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: count sum in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493723#M1137983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[omzet-bedr]&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;={'&amp;gt;20000&amp;lt;30000'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;cddeb&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;)) this is correct&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({&amp;lt;sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[omzet-bedr])&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'&amp;gt;20000&amp;lt;30000'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;cddeb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)) this is not correct &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;dont give sum with field name&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;set analysis exp is like&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 11px;"&gt;sum({&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-size: 8pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt; color: #800000;"&gt;[omzet-bedr]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-size: 8pt;"&gt;={'&amp;gt;20000&amp;lt;30000'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-size: 8pt; color: #800000;"&gt;cddeb&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-size: 8pt;"&gt;))&amp;nbsp; try like this&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 13:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493723#M1137983</guid>
      <dc:creator />
      <dc:date>2013-09-30T13:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: count sum in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493724#M1137984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try this.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(if({&amp;lt;cddeb = {"=sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[omzet-bedr]) &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;20000 &amp;lt;30000"}&amp;gt;}) &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;cddeb&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 13:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493724#M1137984</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2013-09-30T13:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: count sum in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493725#M1137985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Swuel,&lt;/P&gt;&lt;P&gt;this works great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 13:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/493725#M1137985</guid>
      <dc:creator>anitamanders</dc:creator>
      <dc:date>2013-09-30T13:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: count sum in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/1649473#M1137986</link>
      <description>&lt;P&gt;hi everyone,&lt;/P&gt;&lt;P&gt;Need a little help here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to do on avg of float day in certain range, count number of retailers. here's the expression. but it doesn't work as expected.&lt;/P&gt;&lt;P&gt;count(if({&amp;lt;KYSC.FLOAT_DAY = {"=avg([KYSC.FLOAT_DAY])&amp;gt;=0&amp;lt;1"}&amp;gt;}) distinct KYSC_SALE_CHNL_CD )&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 08:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-sum-in-set-analysis/m-p/1649473#M1137986</guid>
      <dc:creator>wajiha</dc:creator>
      <dc:date>2019-11-21T08:50:40Z</dc:date>
    </item>
  </channel>
</rss>

