<?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: Not getting all expression values(Count of Customers) in chart with respect to bucket in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059930#M354908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make some table in your script that has the number of Customer per... well... that's the part I did not understand of your data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, add this code (note that I edited your Amnt_Bckt table a little bit, splitting the minimum and maximum in two fields):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;Amnt_Bckt:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 18pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;[&lt;BR /&gt; BucketMin, BucketMax, BucketNo&lt;BR /&gt; 0, 30000, 1&lt;BR /&gt; 30001, 70000, 2&lt;BR /&gt; 70001, 100000, 3&lt;BR /&gt; 100000, 99999999, 4&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; (SomeTable)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;IntervalMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;FieldNameWithNumberOfCustomers&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 18pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;BucketMin&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;BucketMax&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; SomeTable;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Jan 2016 21:28:12 GMT</pubDate>
    <dc:creator>oknotsen</dc:creator>
    <dc:date>2016-01-10T21:28:12Z</dc:date>
    <item>
      <title>Not getting all expression values(Count of Customers) in chart with respect to bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059928#M354906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement ,i want to achieve count of distinct customers bifurcated on the following conditions-&lt;/P&gt;&lt;P&gt;if(total amount of customer &amp;lt; =30,000 then it should lie in bucket of 0-30,000)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(total amount of customer &amp;gt; 30,001 and &amp;lt; 70 ,000 then it should lie in bucket of 30,001- 70000)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(total amount of customer &amp;gt; 70,001 and &amp;lt; 100000 then it should lie in bucket of 70,001 -100000)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(total amount of customer &amp;gt; &lt;SPAN style="font-size: 13.3333px;"&gt;100000 t&lt;/SPAN&gt;hen it should lie in bucket of &amp;gt;100000)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am able to achieve all count of customer when i am writing the expression on text object , but at the same time when i am putting expression in my chart only first expression value is getting displayed other values are not getting displayed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I want to achieve all distinct count of customers along the bucket.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please note i am doing aggregation in my expression as i need to pick only those value only whose&amp;nbsp; Amount i.e. (Out_NetDBMTR) is not equal to zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Attaching my QVW.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; 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; font-size: 13px;"&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 20:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059928#M354906</guid>
      <dc:creator>chandan3535</dc:creator>
      <dc:date>2016-01-10T20:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting all expression values(Count of Customers) in chart with respect to bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059929#M354907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unless you are doing this for a hand full of record, doing a nested if-statement like this in the front-end is both bad for performance and a lot of work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest doing an intervalmatch() in your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Going to take a look at your QVW now to see if I can give you a fitting example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 21:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059929#M354907</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-01-10T21:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting all expression values(Count of Customers) in chart with respect to bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059930#M354908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make some table in your script that has the number of Customer per... well... that's the part I did not understand of your data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, add this code (note that I edited your Amnt_Bckt table a little bit, splitting the minimum and maximum in two fields):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;Amnt_Bckt:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 18pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;[&lt;BR /&gt; BucketMin, BucketMax, BucketNo&lt;BR /&gt; 0, 30000, 1&lt;BR /&gt; 30001, 70000, 2&lt;BR /&gt; 70001, 100000, 3&lt;BR /&gt; 100000, 99999999, 4&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; (SomeTable)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;IntervalMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;FieldNameWithNumberOfCustomers&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 18pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;BucketMin&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 18pt;"&gt;BucketMax&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt; SomeTable;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2016 21:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059930#M354908</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-01-10T21:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting all expression values(Count of Customers) in chart with respect to bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059931#M354909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear OVK,&lt;/P&gt;&lt;P&gt;Thanks for your suggestion, i also knew that using nested if else degrade performance , but when you don't have any other option and any how you want to achieve result , sometimes you need to use it, So i used nested if else in my above problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot use interval match as i am comparing with the values that are coming at run time based on some condition which i cannot apply on back end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust you have understood why i have used nested if else in my above program.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 10:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059931#M354909</guid>
      <dc:creator>chandan3535</dc:creator>
      <dc:date>2016-01-11T10:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting all expression values(Count of Customers) in chart with respect to bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059932#M354910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes you have to, I totally get that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. I hoped you could avoid them, but I guess you cant.&lt;/P&gt;&lt;P&gt;To busy at the moment to see if there is another solution, so I hope for others to jump in this topic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 12:37:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059932#M354910</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-01-11T12:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting all expression values(Count of Customers) in chart with respect to bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059933#M354911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already Solved&amp;nbsp; , i used calculated dimensions with nested if &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 13:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Not-getting-all-expression-values-Count-of-Customers-in-chart/m-p/1059933#M354911</guid>
      <dc:creator>chandan3535</dc:creator>
      <dc:date>2016-01-11T13:09:15Z</dc:date>
    </item>
  </channel>
</rss>

