<?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: Creating Buckets in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995959#M338914</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;check &lt;A href="https://community.qlik.com/qlik-blogpost/3821"&gt;Buckets&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Dec 2015 07:11:44 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2015-12-29T07:11:44Z</dc:date>
    <item>
      <title>Creating Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995958#M338913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have requirement to show transaction length in buckets. I need to show buckets like &amp;lt;2 hours, 2-4hours,4-6hours....so on till &amp;lt;7days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 256px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" width="50"&gt;Trans_ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="50"&gt;Vendor&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="156"&gt;Trans length in seconds&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="19" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1236&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="19" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1548&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="19" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2368&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="19" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1568797&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="19" style="border-top: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;468&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="19" style="border-top: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;123578&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="19" style="border-top: none;"&gt;7&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;12356879&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show bucket and vendor as dimension (Is it possible?) and need to see how many transaction falls and each bucket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i create bucket like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (Trans length in seconds&amp;lt;=7200, '&amp;lt;2 hours',&lt;/P&gt;&lt;P&gt;If (Trans length in seconds&amp;gt;7200 and Trans length in seconds&amp;lt;14000, '2-4 hours',))... so on...as Bucket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And can i use bucket and vendor as dimension and count (Trans_ID) as expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell if any easy way to do this? or am i following correct way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 07:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995958#M338913</guid>
      <dc:creator>raju_salmon</dc:creator>
      <dc:date>2015-12-29T07:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995959#M338914</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;check &lt;A href="https://community.qlik.com/qlik-blogpost/3821"&gt;Buckets&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 07:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995959#M338914</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-12-29T07:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995960#M338915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks max. In that example i have found only Bucket dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i use multiple dimension when i use Bucket as dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 07:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995960#M338915</guid>
      <dc:creator>raju_salmon</dc:creator>
      <dc:date>2015-12-29T07:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995961#M338916</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;Yes it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 07:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995961#M338916</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-12-29T07:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995962#M338917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly you mean to say?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((&lt;STRONG&gt;Dim1&lt;/STRONG&gt;&amp;gt;10 and &lt;STRONG&gt;Dim1&lt;/STRONG&gt;&amp;lt;20),if((&lt;STRONG&gt;Dim2&lt;/STRONG&gt;&amp;gt;10 and &lt;STRONG&gt;Dim2&lt;/STRONG&gt;&amp;lt;20),'10-20')) as Bucket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 07:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995962#M338917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-29T07:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995963#M338918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If created in your load script, Bucket becomes just another field with a transaction property. Just like Vendor is a transaction property. You can use Bucket like any other field, in chart dimensions, expressions, set analysis, variables, conditional show (for example to display all transaction details for category '&amp;gt;= 7 days' e.g. the bad ones)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 08:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995963#M338918</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-29T08:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995964#M338919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks peter, i have created like you suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 13:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995964#M338919</guid>
      <dc:creator>raju_salmon</dc:creator>
      <dc:date>2015-12-29T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995965#M338920</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;one solution could be to create a bucket field in the script using an expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14515249495602385" jivemacro_uid="_14515249495602385"&gt;
&lt;P&gt;Dual(Floor([Trans length in seconds]/3600,2)&amp;amp;' - '&amp;amp;(Floor([Trans length in seconds]/3600,2)+2)&amp;amp;' hours',Floor([Trans length in seconds]/3600,2)) as TransLength;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="110346" alt="QlikCommunity_Thread_197872_Pic1.JPG" class="jive-image image-3" height="288" src="https://community.qlik.com/legacyfs/online/110346_QlikCommunity_Thread_197872_Pic1.JPG" style="height: 288px; width: 753.418px;" width="753" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="110345" alt="QlikCommunity_Thread_197872_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/110345_QlikCommunity_Thread_197872_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14515250046849371" jivemacro_uid="_14515250046849371"&gt;
&lt;P&gt;tabTrans:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Floor([Trans length in seconds]/3600,2)&amp;amp;' - '&amp;amp;(Floor([Trans length in seconds]/3600,2)+2)&amp;amp;' hours',Floor([Trans length in seconds]/3600,2)) as TransLength;&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as Trans_ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chr(64+Ceil(Rand()*20)) as Vendor,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; fabs(Ceil(NORMINV(Rand(),0,1/'00:00:01'))) as [Trans length in seconds]&lt;/P&gt;
&lt;P&gt;AutoGenerate 30000;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 01:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995965#M338920</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-12-31T01:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Buckets</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995966#M338921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jan 2016 08:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Buckets/m-p/995966#M338921</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-01-01T08:23:33Z</dc:date>
    </item>
  </channel>
</rss>

