<?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 How to create buckets using percentage value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374874#M812368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please help me to create below buckets using % to Goal values. And also how to calculate count of Sales Rep for each bucket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;% to Goal - Sum(Sales)/Sum(PY Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Buckets:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;lt;=95%&lt;/SPAN&gt; -if&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;% to Goal &amp;lt;=0.95&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;95%-97%&lt;/SPAN&gt; - if &lt;SPAN style="font-size: 13.3333px;"&gt;% to Goal &amp;gt;0.95 and &amp;lt;=0.97&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;98%-99%&lt;/SPAN&gt; - &lt;SPAN style="font-size: 13.3333px;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;% to Goal &amp;gt;0.97 and &amp;lt;=0.99&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;gt;100%&lt;/SPAN&gt; -&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;% to Goal &amp;gt;=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the above bucket i want to calculate count of Sales rep for each bucket as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Count of Sales Rep:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;&amp;lt;=95%&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt; &lt;/SPAN&gt;- 18&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;95%-97%&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; - 5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;98%-99%&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt; &lt;/SPAN&gt;- 5 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;gt;100% - &lt;/SPAN&gt;37&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;Please help me to create a bar chart with above buckets and count of sales rep as below. In the below bar graph instead of 65,65,52,51 i want to get values as 18,5,5, 37&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="chart 2.JPG" class="jive-image image-1" src="/legacyfs/online/177048_chart 2.JPG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>farheenayesha</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374874#M812368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please help me to create below buckets using % to Goal values. And also how to calculate count of Sales Rep for each bucket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;% to Goal - Sum(Sales)/Sum(PY Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Buckets:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;lt;=95%&lt;/SPAN&gt; -if&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;% to Goal &amp;lt;=0.95&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;95%-97%&lt;/SPAN&gt; - if &lt;SPAN style="font-size: 13.3333px;"&gt;% to Goal &amp;gt;0.95 and &amp;lt;=0.97&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;98%-99%&lt;/SPAN&gt; - &lt;SPAN style="font-size: 13.3333px;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;% to Goal &amp;gt;0.97 and &amp;lt;=0.99&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;gt;100%&lt;/SPAN&gt; -&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;% to Goal &amp;gt;=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the above bucket i want to calculate count of Sales rep for each bucket as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Count of Sales Rep:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;&amp;lt;=95%&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt; &lt;/SPAN&gt;- 18&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;95%-97%&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; - 5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; text-decoration: underline;"&gt;98%-99%&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt; &lt;/SPAN&gt;- 5 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;gt;100% - &lt;/SPAN&gt;37&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;Please help me to create a bar chart with above buckets and count of sales rep as below. In the below bar graph instead of 65,65,52,51 i want to get values as 18,5,5, 37&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="chart 2.JPG" class="jive-image image-1" src="/legacyfs/online/177048_chart 2.JPG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374874#M812368</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374875#M812369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where you need to creates this buckets it's in script or front end chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 12:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374875#M812369</guid>
      <dc:creator>ashok1203</dc:creator>
      <dc:date>2017-09-19T12:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374876#M812370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got close to what you need, but not exact&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177054_Capture.PNG" style="height: 194px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 12:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374876#M812370</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-19T12:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374877#M812371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ayessha,&lt;/P&gt;&lt;P&gt;I changed your bucket definition a little because there was no bucket for &amp;gt;99%&amp;lt;100%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got this chart:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="177059" alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177059_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Bucket dimension is:&lt;/P&gt;&lt;P&gt;=Aggr(&lt;/P&gt;&lt;P&gt;Pick(&lt;/P&gt;&lt;P&gt;Match(-1,&lt;/P&gt;&lt;P&gt;Sum (Sales)/Sum (Goal)&amp;lt;=0.95,&lt;/P&gt;&lt;P&gt;Sum (Sales)/Sum (Goal)&amp;lt;=0.97,&lt;/P&gt;&lt;P&gt;Sum (Sales)/Sum (Goal)&amp;lt;=1,&lt;/P&gt;&lt;P&gt;-1),&lt;/P&gt;&lt;P&gt;'&amp;lt;=95%',&lt;/P&gt;&lt;P&gt;'&amp;lt;=97%',&lt;/P&gt;&lt;P&gt;'&amp;lt;=100%',&lt;/P&gt;&lt;P&gt;'&amp;gt;100%')&lt;/P&gt;&lt;P&gt;,[Sales Representative Name])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS&lt;/P&gt;&lt;P&gt;Sort by expression Sum (Sales)/Sum (Goal)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 13:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374877#M812371</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-09-19T13:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374878#M812372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much sunny. It is exactly what i wanted. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374878#M812372</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2017-09-19T14:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374879#M812373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Andrew. Even your answer is correct. Unfortunately i cannot mark it as correct. Hence marked it as helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 14:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1374879#M812373</guid>
      <dc:creator>farheenayesha</dc:creator>
      <dc:date>2017-09-19T14:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1663169#M812374</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Can you please post the Solution in text file as i am using Qlik Sense and i do not have access to Qlik View for viewing file. Any help would be appreciated. Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shaunak&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 06:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1663169#M812374</guid>
      <dc:creator>Shaunak3</dc:creator>
      <dc:date>2020-01-07T06:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1663173#M812375</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;Can you please explain this snippet, especially what does the -1 do in the above script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shaunak&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 06:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1663173#M812375</guid>
      <dc:creator>Shaunak3</dc:creator>
      <dc:date>2020-01-07T06:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1667201#M812376</link>
      <description>&lt;P&gt;Hi, Sorry for the late reply.&amp;nbsp; -1 means TRUE.&lt;/P&gt;&lt;P&gt;Suppose&amp;nbsp;Sum (Sales)/Sum (Goal) = 0.96, so "Sum (Sales)/Sum (Goal)&amp;lt;=0.97" is the first true statement inside MATCH.&lt;/P&gt;&lt;P&gt;Match(-1,&lt;/P&gt;&lt;P&gt;Sum (Sales)/Sum (Goal)&amp;lt;=0.95,&lt;/P&gt;&lt;P&gt;Sum (Sales)/Sum (Goal)&amp;lt;=0.97,&lt;/P&gt;&lt;P&gt;Sum (Sales)/Sum (Goal)&amp;lt;=1,&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;-1&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;Evaluating "Sum (Sales)/Sum (Goal)&amp;lt;=0.95" will return 0. Because in this case that statement is not true. 0 does not match -1 so the MATCH statement moves on to the next line. The next line is true, will return -1 and will match the first argument of the MATCH statement so the MATCH statement will return 2.&lt;/P&gt;&lt;P&gt;The final &lt;FONT color="#FF0000"&gt;-1&lt;/FONT&gt; is there to catch any examples where&amp;nbsp;Sum (Sales)/Sum (Goal)&amp;gt;1 because if&amp;nbsp;Sum (Sales)/Sum (Goal)&amp;gt;1 the MATCH statement will MATCH -1 to -1 and return 4.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 09:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1667201#M812376</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2020-01-20T09:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create buckets using percentage value</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1668797#M812377</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;Thanks for your reply and really appreciate your efforts for explaining the snippet to me,it was helpful to me in a live scenario. Thanks a lot!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shaunak&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 09:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-buckets-using-percentage-value/m-p/1668797#M812377</guid>
      <dc:creator>Shaunak3</dc:creator>
      <dc:date>2020-01-24T09:52:01Z</dc:date>
    </item>
  </channel>
</rss>

