<?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 Extend variable classes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139133#M373563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to analyse my data with different intervals. The intervals are not even, so perhaps the first interval is from 0 to9, the next one is from 11 to 20 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this script in the community:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;FactTable:&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;LOAD city, &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&lt;D&gt;&lt;/D&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;(ooxml, embedded labels, table is Tabelle1);&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;TempBuckets:&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;START, END ,bucket&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;0, 5, '0-5'&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;6, 10, '6-10'&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;11, 15, '11-15'&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;15, 20, '16-20'&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;TempBridge:&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;IntervalMatch(&lt;EM&gt;amount&lt;/EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Load START, END Resident TempBuckets;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Left Join(TempBridge)&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Load * resident TempBuckets;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;DROP Table TempBuckets;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Left Join(FactTable)&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;amount&lt;/EM&gt;,&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;bucket&lt;/EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Resident&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempBridge&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;DROP Table TempBridge;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how can I add another "TempBuckets"? I want to choose between "TempBucket 1" with the buckets from 0-5, 6-10, ... and between "TempBucket2" with the classes from 0-9, 10-20, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2016 11:53:03 GMT</pubDate>
    <dc:creator>cscherer</dc:creator>
    <dc:date>2016-08-05T11:53:03Z</dc:date>
    <item>
      <title>Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139133#M373563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to analyse my data with different intervals. The intervals are not even, so perhaps the first interval is from 0 to9, the next one is from 11 to 20 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this script in the community:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;FactTable:&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;LOAD city, &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&lt;D&gt;&lt;/D&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;(ooxml, embedded labels, table is Tabelle1);&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;TempBuckets:&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;START, END ,bucket&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;0, 5, '0-5'&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;6, 10, '6-10'&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;11, 15, '11-15'&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;15, 20, '16-20'&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;TempBridge:&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;IntervalMatch(&lt;EM&gt;amount&lt;/EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Load START, END Resident TempBuckets;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Left Join(TempBridge)&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Load * resident TempBuckets;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;DROP Table TempBuckets;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Left Join(FactTable)&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;amount&lt;/EM&gt;,&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;bucket&lt;/EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Resident&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempBridge&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;DROP Table TempBridge;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how can I add another "TempBuckets"? I want to choose between "TempBucket 1" with the buckets from 0-5, 6-10, ... and between "TempBucket2" with the classes from 0-9, 10-20, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 11:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139133#M373563</guid>
      <dc:creator>cscherer</dc:creator>
      <dc:date>2016-08-05T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139134#M373564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you could repeat your logic with a second intervalmatch + joining for a second cluster. An alternatively (if there are not too much intervals you could create such tables in excel in a few minutes) to your approach might be to use mapping-tables or simply associate these tables within the datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 13:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139134#M373564</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-05T13:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139135#M373565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;**UPDATED*********&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below will work if you have a standard class of 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;For your script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;FactTable:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;LOAD city,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px; font-family: inherit; font-weight: inherit;"&gt;&lt;EM style="color: #0000ff;"&gt;floor(amount,5,5)+if(mod(&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;amount&lt;/EM&gt;,5)=0,-5,0)+1 &amp;amp;'-'&amp;amp; (ceil(&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;amount&lt;/EM&gt;,5,5)) as bucket&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;D&gt;&lt;/D&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;(ooxml, embedded labels, table is Tabelle1);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="buckets.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133792_buckets.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;My Test Script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEMP:&lt;/P&gt;&lt;P&gt;LOAD * ,&lt;SPAN style="color: #0000ff;"&gt;floor(Price,5,5)+if(mod(Price,5)=0,-5,0)+1 &amp;amp;'-'&amp;amp; (ceil(Price,5,5))&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt; as bucket&lt;/SPAN&gt; INLINE [&lt;/P&gt;&lt;P&gt;Category,Price&lt;/P&gt;&lt;P&gt;A,1&lt;/P&gt;&lt;P&gt;B,2&lt;/P&gt;&lt;P&gt;C,11&lt;/P&gt;&lt;P&gt;x,9&lt;/P&gt;&lt;P&gt;y,12&lt;/P&gt;&lt;P&gt;z,15&lt;/P&gt;&lt;P&gt;l,22&lt;/P&gt;&lt;P&gt;m,39&lt;/P&gt;&lt;P&gt;n,40&lt;/P&gt;&lt;P&gt;r,41&lt;/P&gt;&lt;P&gt;g,45&lt;/P&gt;&lt;P&gt;b,49&lt;/P&gt;&lt;P&gt;i,50&lt;/P&gt;&lt;P&gt;o,51&lt;/P&gt;&lt;P&gt;u,60&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 14:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139135#M373565</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-08-05T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139136#M373566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me know if it worked for u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 14:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139136#M373566</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-08-05T14:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139137#M373567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. I`ve tried to build the code, but how do I have to go on? How can I choose between the two buckets?&lt;/P&gt;&lt;P&gt;btw, the second bucket didn`t join to the fact table. What`s wrong there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactTable:&lt;/P&gt;&lt;P&gt;LOAD city, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Tabelle1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempBuckets:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;START, END , bucket&lt;/P&gt;&lt;P&gt;0, 9, '0-9'&lt;/P&gt;&lt;P&gt;10, 20, '10-20'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempBridge:&lt;/P&gt;&lt;P&gt;IntervalMatch(amount)&lt;/P&gt;&lt;P&gt;Load START, END Resident TempBuckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(TempBridge)&lt;/P&gt;&lt;P&gt;Load * resident TempBuckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table TempBuckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempBuckets2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;START, END , bucket2&lt;/P&gt;&lt;P&gt;0, 5, '0-5'&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;6, 11, '6-11'&lt;/P&gt;&lt;P&gt;12, 18, '12-18'&lt;/P&gt;&lt;P&gt;19, 20, '19-20'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempBridge:&lt;/P&gt;&lt;P&gt;IntervalMatch(amount)&lt;/P&gt;&lt;P&gt;Load START, END Resident TempBuckets2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(TempBridge)&lt;/P&gt;&lt;P&gt;Load * resident TempBuckets2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table TempBuckets2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(FactTable)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bucket,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bucket2&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempBridge;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table TempBridge;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 06:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139137#M373567</guid>
      <dc:creator>cscherer</dc:creator>
      <dc:date>2016-08-08T06:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139138#M373568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer, but my classes have different widths and not always 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 06:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139138#M373568</guid>
      <dc:creator>cscherer</dc:creator>
      <dc:date>2016-08-08T06:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139139#M373569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactTable:&lt;/P&gt;&lt;P&gt;LOAD * inline [&lt;/P&gt;&lt;P&gt;city, amount&lt;/P&gt;&lt;P&gt;a, 1&lt;/P&gt;&lt;P&gt;b, 3&lt;/P&gt;&lt;P&gt;c, 5&lt;/P&gt;&lt;P&gt;d, 7&lt;/P&gt;&lt;P&gt;e, 9&lt;/P&gt;&lt;P&gt;f, 11&lt;/P&gt;&lt;P&gt;g, 13&lt;/P&gt;&lt;P&gt;h, 15&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;//FROM &lt;D&gt; (ooxml, embedded labels, table is Tabelle1);&lt;/D&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempBuckets:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;START, END ,bucket&lt;/P&gt;&lt;P&gt;0, 9, '0-9'&lt;/P&gt;&lt;P&gt;10, 20, '10-20'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempBridge:&lt;/P&gt;&lt;P&gt;IntervalMatch(amount)&lt;/P&gt;&lt;P&gt;Load START, END Resident TempBuckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(TempBridge) Load * resident TempBuckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(FactTable) Load amount, bucket Resident TempBridge;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table TempBridge, TempBuckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempBuckets:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;START, END ,bucket2&lt;/P&gt;&lt;P&gt;0, 5, '0-5'&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;6, 11, '6-11'&lt;/P&gt;&lt;P&gt;12, 18, '12-18'&lt;/P&gt;&lt;P&gt;19, 20, '19-20'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempBridge:&lt;/P&gt;&lt;P&gt;IntervalMatch(amount)&lt;/P&gt;&lt;P&gt;Load START, END Resident TempBuckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(TempBridge) Load * resident TempBuckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(FactTable) Load amount, bucket2 Resident TempBridge;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table TempBridge, TempBuckets;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 10:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139139#M373569</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-08T10:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139140#M373570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell me, if it`s possible to choose first between bucket and bucket2, and then to have the chosen bucket in a chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I can`t open your .qvw; I´ve currently only the personal edition)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 10:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139140#M373570</guid>
      <dc:creator>cscherer</dc:creator>
      <dc:date>2016-08-08T10:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139141#M373571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean you want to choose within the gui which bucket-dimension should be used within a chart? The easiest way for this is to use dimension-groups (document properties --&amp;gt; groups or within the object properties of a chart in tab dimension on the bottom left) with a cyclic group - and then you could use these group as dimension in your charts and switch between them per the small cycle-icon within the column-header by table-charts and by other chart-types mostly on the right side (there is also an option to display these icon within the title)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 12:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139141#M373571</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-08T12:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Extend variable classes</title>
      <link>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139142#M373572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that`s it. Thank you very much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 13:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extend-variable-classes/m-p/1139142#M373572</guid>
      <dc:creator>cscherer</dc:creator>
      <dc:date>2016-08-08T13:55:36Z</dc:date>
    </item>
  </channel>
</rss>

