<?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: Dimension Bucket in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805795#M65524</link>
    <description>&lt;P&gt;Explained .. Still they want from the backend even i have done Master dimension...&lt;/P&gt;&lt;P&gt;I am loading the data once done will update .&lt;/P&gt;&lt;P&gt;Thanks in advance....&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 11:38:43 GMT</pubDate>
    <dc:creator>Nirpanthan</dc:creator>
    <dc:date>2021-05-06T11:38:43Z</dc:date>
    <item>
      <title>Dimension Bucket</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805724#M65512</link>
      <description>&lt;P&gt;Add a computed "ACTIVITY LEVEL" dimension for customers in:&lt;/P&gt;&lt;P&gt;ACTIVITY LEVEL possible values:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;High if avg pairs / day &amp;gt;= 3&lt;/LI&gt;&lt;LI&gt;Medium if avg pairs / day &amp;gt;=1 and &amp;lt; 3&lt;/LI&gt;&lt;LI&gt;Low if avg pairs / day &amp;gt;= 0.5 and &amp;lt; 1&lt;/LI&gt;&lt;LI&gt;V Low if avg pairs / day &amp;gt; 0 and &amp;lt; 0.5&lt;/LI&gt;&lt;LI&gt;Inactive if avg pairs / day = 0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To compute "avg pairs / day",&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;for Compute: nb of orders / nb of days in month&lt;BR /&gt;over the last completed month&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 06 May 2021 08:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805724#M65512</guid>
      <dc:creator>Nirpanthan</dc:creator>
      <dc:date>2021-05-06T08:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Bucket</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805766#M65515</link>
      <description>&lt;P&gt;you need first to aggregate your calculation to a dimension or set of dimensions&lt;BR /&gt;aggr(&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;nb_of_Orders / nb_of_days &amp;gt;= 3, 'High'&lt;/P&gt;&lt;P&gt;,if(nb_of_Orders / nb_of_days &amp;gt;=1 and&amp;nbsp;nb_of_Orders / nb_of_days &amp;lt; 3 , 'Medium'&lt;/P&gt;&lt;P&gt;,if(nb_of_Orders / nb_of_days&amp;nbsp; &amp;gt;=0.5 and&amp;nbsp;nb_of_Orders / nb_of_days &amp;lt;1, 'Low'&lt;/P&gt;&lt;P&gt;,...&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;,month)&lt;/P&gt;&lt;P&gt;alternatively you can use the class function but the class function gives you results over fixe-size intervals&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 10:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805766#M65515</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2021-05-06T10:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Bucket</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805768#M65516</link>
      <description>&lt;P&gt;i want to do it in the dimension level ... front end i am able to achieve ..&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 10:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805768#M65516</guid>
      <dc:creator>Nirpanthan</dc:creator>
      <dc:date>2021-05-06T10:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Bucket</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805769#M65517</link>
      <description>&lt;P&gt;you mean in the script?&lt;BR /&gt;then you need to calculate the number of orders group by customer, month&lt;BR /&gt;then you do the average calculation per row (customer, month)&lt;BR /&gt;then put the if condition to classify the result as either high, medium, low,...&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 10:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805769#M65517</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2021-05-06T10:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Bucket</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805771#M65518</link>
      <description>&lt;P&gt;Yes in the script level&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 10:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805771#M65518</guid>
      <dc:creator>Nirpanthan</dc:creator>
      <dc:date>2021-05-06T10:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Bucket</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805775#M65519</link>
      <description>&lt;P&gt;Can you give me syntax will be so useful&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am totally strucked&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 10:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805775#M65519</guid>
      <dc:creator>Nirpanthan</dc:creator>
      <dc:date>2021-05-06T10:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Bucket</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805792#M65522</link>
      <description>&lt;P&gt;the script would be something like this:&lt;/P&gt;&lt;P&gt;t1:&lt;BR /&gt;Load Customer, Date, count(Order_id) as [Number of Orders],&amp;nbsp;&lt;STRONG&gt;Floor(MonthEnd(Date)) - Floor(MonthStart(Date)) + 1 as [Number of days in Month]&lt;BR /&gt;resident your_table&lt;BR /&gt;group by Customer, Month(Date);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;then:&lt;BR /&gt;t2:&lt;BR /&gt;load * , if(avg&amp;gt;= 3, 'High', if(avg&amp;gt;=1 and avg &amp;lt;3, 'Medium',if(avg&amp;gt;=0.5 and avg &amp;lt;1, 'Low'))) as Classification&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load *, [Number of Orders] / [Number of days in Month] as avg&lt;BR /&gt;resident t1;&lt;BR /&gt;drop table t1;&lt;BR /&gt;&lt;BR /&gt;hope this helps&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 11:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805792#M65522</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2021-05-06T11:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Bucket</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805793#M65523</link>
      <description>&lt;P&gt;but I personally prefer doing things on the UI and keep the script as much simple as possible&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 11:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805793#M65523</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2021-05-06T11:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Bucket</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805795#M65524</link>
      <description>&lt;P&gt;Explained .. Still they want from the backend even i have done Master dimension...&lt;/P&gt;&lt;P&gt;I am loading the data once done will update .&lt;/P&gt;&lt;P&gt;Thanks in advance....&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 11:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-Bucket/m-p/1805795#M65524</guid>
      <dc:creator>Nirpanthan</dc:creator>
      <dc:date>2021-05-06T11:38:43Z</dc:date>
    </item>
  </channel>
</rss>

