<?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: Calculated Dimension - defining bands in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370483#M418964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help, but same issue. While selecting the bands I am getting other bands inside.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 18:23:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-25T18:23:00Z</dc:date>
    <item>
      <title>Calculated Dimension - defining bands</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370482#M418963</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&gt;I am using calculated dimension in qlikview&amp;nbsp; to band my customer as per their revenue. The first results looks fine but when I click on any of the bands then the selected bands is split in to other bands and should only show the selected one. I attached the screenshots for more clarification. Please let me know if I have anything wrong in my code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Calculated Dimension:&lt;BR /&gt;=Aggr(IF(Sum(REVENUE)=0,Dual('0',1),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;0 and Sum(REVENUE)&amp;lt;=5,Dual('1-5',2),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;5 and Sum(REVENUE)&amp;lt;=10,Dual('6-10',3),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;10 and Sum(REVENUE)&amp;lt;=20,Dual('11-20',4),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;20 and Sum(REVENUE)&amp;lt;=50,Dual('21-50',5),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;50 and Sum(REVENUE)&amp;lt;=100,Dual('51-100',6),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;100 and Sum(REVENUE)&amp;lt;=200,Dual('101-200',7),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;200 and Sum(REVENUE)&amp;lt;=500,Dual('201-500',8),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;500 and Sum(REVENUE)&amp;lt;=1000,Dual('501-1000',9),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;1000 and Sum(REVENUE)&amp;lt;=2000,Dual('1001-2000',10),&lt;BR /&gt; If(Sum(REVENUE)&amp;gt;2000 and Sum(REVENUE)&amp;lt;=3000,Dual('2001-3000',11),&lt;BR /&gt; Dual('3000+',12)))))))))))),CUSTOMERNO).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Expression : Count(distinct CUSTOMERNO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 17:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370482#M418963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T17:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension - defining bands</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370483#M418964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help, but same issue. While selecting the bands I am getting other bands inside.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 18:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370483#M418964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T18:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension - defining bands</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370484#M418965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(IF(Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/SPAN&gt;REVENUE)=0,Dual('0',1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;0 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=5,Dual('1-5',2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;5 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=10,Dual('6-10',3),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;10 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=20,Dual('11-20',4),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;20 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=50,Dual('21-50',5),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;50 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=100,Dual('51-100',6),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;100 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=200,Dual('101-200',7),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;200 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=500,Dual('201-500',8),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;500 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=1000,Dual('501-1000',9),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;1000 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=2000,Dual('1001-2000',10),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;gt;2000 and Sum(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO&amp;gt;}&lt;/STRONG&gt;REVENUE)&amp;lt;=3000,Dual('2001-3000',11),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dual('3000+',12)))))))))))),CUSTOMERNO)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 18:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370484#M418965</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-25T18:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension - defining bands</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370485#M418966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bravoo..... It is working !. Many thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 18:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370485#M418966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T18:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension - defining bands</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370486#M418967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when using QlikView 12 you could also try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(&lt;STRONG&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;CUSTOMERNO=&amp;gt;} &lt;/STRONG&gt;&lt;/STRONG&gt;IF(Sum(REVENUE)=0,Dual('0',1),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;0 and Sum(REVENUE)&amp;lt;=5,Dual('1-5',2),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;5 and Sum(REVENUE)&amp;lt;=10,Dual('6-10',3),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;10 and Sum(REVENUE)&amp;lt;=20,Dual('11-20',4),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;20 and Sum(REVENUE)&amp;lt;=50,Dual('21-50',5),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;50 and Sum(REVENUE)&amp;lt;=100,Dual('51-100',6),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;100 and Sum(REVENUE)&amp;lt;=200,Dual('101-200',7),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;200 and Sum(REVENUE)&amp;lt;=500,Dual('201-500',8),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;500 and Sum(REVENUE)&amp;lt;=1000,Dual('501-1000',9),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;1000 and Sum(REVENUE)&amp;lt;=2000,Dual('1001-2000',10),&lt;/P&gt;&lt;P&gt; If(Sum(REVENUE)&amp;gt;2000 and Sum(REVENUE)&amp;lt;=3000,Dual('2001-3000',11),&lt;/P&gt;&lt;P&gt; Dual('3000+',12)))))))))))),CUSTOMERNO).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 18:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370486#M418967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T18:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension - defining bands</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370487#M418968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does syntax editor started understanding set analysis in Aggr() function or is that still a problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 18:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370487#M418968</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-25T18:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension - defining bands</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370488#M418969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robin,&lt;/P&gt;&lt;P&gt;Your script gave syntax error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 19:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370488#M418969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T19:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension - defining bands</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370489#M418970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;syntax check fails, but should work with QV 12.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 05:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-defining-bands/m-p/1370489#M418970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T05:08:50Z</dc:date>
    </item>
  </channel>
</rss>

