<?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: Time Bucket in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916738#M981562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In chart properties- go to sort -&amp;gt; Check numeric values as Ascending, Text as A-Z...&lt;/P&gt;&lt;P&gt;If it doesn't work properly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use S&lt;STRONG&gt;ort by expression.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In expression block write the code: Wildmatch(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;,'&lt;SPAN style="font-size: 8pt;"&gt;Not Due', '0-30d', '30-60d', '60-90d', '90-120d',' &amp;gt;120d')&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;Hope it helps&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;-SUMAN&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2015 08:03:36 GMT</pubDate>
    <dc:creator>dusasuman</dc:creator>
    <dc:date>2015-08-10T08:03:36Z</dc:date>
    <item>
      <title>Time Bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916735#M981559</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 Created time bucket as shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;0,'Not Due',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=30,'0-30d',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=60,'30-60d',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=90,'60-90d',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=90,'90-120d','&amp;gt;120d'))))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TimeFrame&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but when I use this in Chart as dimension it is not in proper order...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I want it to be in Following order&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Not Due, 0-30d, 30-60d, 60-90d, 90-120d, &amp;gt;120d...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;how to do this......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; *, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;0,'Not Due',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=30,'0-30d',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=60,'30-60d',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=90,'60-90d',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=90,'90-120d','&amp;gt;120d'))))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TimeFrame&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Customer, OverDue, DueDays&lt;BR /&gt; Cori Engineers, 323469,48&lt;BR /&gt; AA Steel, 491678,32&lt;BR /&gt; Netbau, 181200,78&lt;BR /&gt; Cary Inc,536215,150&lt;BR /&gt; National Envelope,456432,86&lt;BR /&gt; Pinnacle Frames,653234,12&lt;BR /&gt; Key Technologies,345675,62&lt;BR /&gt; Senderex Cargo,123456,41&lt;BR /&gt; BayRing Communications,987346,163&lt;BR /&gt; Horizon Offshore Contractors,352418,-48&lt;BR /&gt; BoooYa Properties,451287,18&lt;BR /&gt; IntruGuard Devices,128594,75&lt;BR /&gt; Southern Illinois University,136248,36&lt;BR /&gt; Canadian Medic,852481,-42&lt;BR /&gt; Lattice Semiconductor,763865,85&lt;BR /&gt; St Francis Hospital,152486,14&lt;BR /&gt; National Logistics ,669524,96&lt;BR /&gt; Support Center US Datacomm,336524,156&lt;BR /&gt; Diocese Rockville Centre,158962,52&lt;BR /&gt; Next Day Blinds,599635,84&lt;BR /&gt; US Joint Forces Command,61&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 07:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916735#M981559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-10T07:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Time Bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916736#M981560</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;Load an inline table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;TimeFrame,SortField&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Not Due,1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;0-30d, 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;30-60d, 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;60-90d, 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;90-120d, 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;120d...,6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Now in your chart sort by SortField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Using Dual function as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;0,Dual('Not Due',1),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=30,Dual('0-30d',2),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=60,Dual('30-60d',3),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=90,Dual('60-90d',4),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=90,Dual('90-120d',6),Dual('&amp;gt;120d',7)))))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TimeFrame&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;sushil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 07:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916736#M981560</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-08-10T07:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time Bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916737#M981561</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *, if(DueDays&amp;lt;0, Dual('Not Due',0),if(DueDays&amp;lt;=30,Dual('0-30d',1)&lt;/P&gt;&lt;P&gt;,if(DueDays&amp;lt;=60,Dual('30-60d',2),if(DueDays&amp;lt;=90,Dual('60-90d',3),if(DueDays&amp;lt;=90,Dual('90-120d',4),Dual('&amp;gt;120d',5)))))) as TimeFrame;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 07:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916737#M981561</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-08-10T07:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Time Bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916738#M981562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In chart properties- go to sort -&amp;gt; Check numeric values as Ascending, Text as A-Z...&lt;/P&gt;&lt;P&gt;If it doesn't work properly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use S&lt;STRONG&gt;ort by expression.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In expression block write the code: Wildmatch(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DueDays&lt;/SPAN&gt;,'&lt;SPAN style="font-size: 8pt;"&gt;Not Due', '0-30d', '30-60d', '60-90d', '90-120d',' &amp;gt;120d')&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;Hope it helps&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt;"&gt;-SUMAN&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 08:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916738#M981562</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2015-08-10T08:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Time Bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916739#M981563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.. it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 08:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916739#M981563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-10T08:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Time Bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916740#M981564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/MayilVahanan"&gt;MayilVahanan&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Nice answer. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 01:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Bucket/m-p/916740#M981564</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-11T01:55:45Z</dc:date>
    </item>
  </channel>
</rss>

