<?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: create a bucket function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157595#M910215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ziads code would be the better solution. However if you are using it straight in a chart do&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1465547695331109 jive_text_macro" jivemacro_uid="_1465547695331109"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=dual(replace(Class(Age,10&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;),'&amp;lt;= x &amp;lt;','to'),Class(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Age&lt;/SPAN&gt;,10&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2016 08:34:58 GMT</pubDate>
    <dc:creator>pho3nix90</dc:creator>
    <dc:date>2016-06-10T08:34:58Z</dc:date>
    <item>
      <title>create a bucket function</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157588#M910208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i have years of experience and employees can any one help me in creating a bucket function so that i can put it like 0-10 years then 10-20, 20-30, 30-40. on a block chart&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/create-a-bucket-function/m-p/1157588#M910208</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: create a bucket function</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157589#M910209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a field in the script or create it as a calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(YearExperience &amp;lt; 10, Dual('0-10', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; font-size: 13.3333px;"&gt;If(YearExperience &amp;lt; 20, Dual('10-20', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; line-height: 1.5em; font-size: 13.3333px;"&gt;If(YearExperience &amp;lt; 30, Dual('20-30', 3),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(YearExperience &amp;lt; 40, Dual('30-40', 4))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 10:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157589#M910209</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-09T10:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: create a bucket function</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157590#M910210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sunny but its not working &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 11:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157590#M910210</guid>
      <dc:creator />
      <dc:date>2016-06-09T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: create a bucket function</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157591#M910211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you doing this? Script or calculated dimension? Can you share a sample where it isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 12:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157591#M910211</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-09T12:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: create a bucket function</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157592#M910212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am doing on calculated dimensions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 12:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157592#M910212</guid>
      <dc:creator />
      <dc:date>2016-06-09T12:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: create a bucket function</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157593#M910213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the expression you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 13:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157593#M910213</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-09T13:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: create a bucket function</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157594#M910214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use Class function &lt;/P&gt;&lt;P&gt;let vWidth = 10 ;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=dual(replace(Class(Age,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vWidth&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)),'&amp;lt;= x &amp;lt;','to'),Class(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Age&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vWidth&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 22:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157594#M910214</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2016-06-09T22:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: create a bucket function</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157595#M910215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ziads code would be the better solution. However if you are using it straight in a chart do&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1465547695331109 jive_text_macro" jivemacro_uid="_1465547695331109"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=dual(replace(Class(Age,10&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;),'&amp;lt;= x &amp;lt;','to'),Class(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Age&lt;/SPAN&gt;,10&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 08:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-bucket-function/m-p/1157595#M910215</guid>
      <dc:creator>pho3nix90</dc:creator>
      <dc:date>2016-06-10T08:34:58Z</dc:date>
    </item>
  </channel>
</rss>

