<?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 categories with the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-categories-with-the-script/m-p/1037129#M637569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share some sample (raw) data with your expected output to help you better?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2016 15:31:06 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-04-28T15:31:06Z</dc:date>
    <item>
      <title>Create categories with the script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-categories-with-the-script/m-p/1037128#M637568</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;Using the script, I would create three class of merchants :&lt;/P&gt;&lt;P&gt;- those who make between 0 and 50 operations in the month,&lt;/P&gt;&lt;P&gt;- those who make vetween 50 and 100 operations in the month,&lt;/P&gt;&lt;P&gt;- those carrying out more than 100 operations in the month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information, I use several tables whose :&lt;/P&gt;&lt;P&gt;operations (fact table) which contains operationId, operationAmount, etc.&lt;/P&gt;&lt;P&gt;merchants (measure table) which contains merchantsId, etc.&lt;/P&gt;&lt;P&gt;operationsCalendar (measure table) which contains creationDate, creationDateDay creationDateMonth, creationDateYear, etc.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me? Or send me examples of creation of categories so that can inspire me?&lt;/P&gt;&lt;P&gt;Should I use the fonction resident or a SQL query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prees&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 08:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-categories-with-the-script/m-p/1037128#M637568</guid>
      <dc:creator />
      <dc:date>2016-04-28T08:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create categories with the script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-categories-with-the-script/m-p/1037129#M637569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share some sample (raw) data with your expected output to help you better?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 15:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-categories-with-the-script/m-p/1037129#M637569</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-28T15:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create categories with the script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-categories-with-the-script/m-p/1037130#M637570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to create this 3 categories :&lt;/P&gt;&lt;P&gt;- occasional merchants (those who make between 0 and 50 operations in the month),&lt;/P&gt;&lt;P&gt;- medium merchants (those who make between 50 and 100 operations in the month),&lt;/P&gt;&lt;P&gt;- heavy merchants (those carrying out more than 100 operations in the month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;I would have &lt;SPAN&gt;something (object) that&lt;/SPAN&gt; &lt;SPAN&gt;would look like this &lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 528px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="110"&gt;&lt;/TD&gt;&lt;TD class="xl69" width="153"&gt;Occasional merchants&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;" width="147"&gt;Medium merchants&lt;/TD&gt;&lt;TD class="xl70" width="118"&gt;Heavy merchants&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="20"&gt;october 2015&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="20"&gt;november 2015&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;15&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="20"&gt;december 2015&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;10&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;25&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="20"&gt;january 2016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;11&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="20"&gt;february 2016&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;20&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;30&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl73" height="20"&gt;march 2016&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: none;"&gt;18&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-left: none;"&gt;37&lt;/TD&gt;&lt;TD align="right" class="xl65"&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;So, from one month to the next, one merchant &lt;SPAN&gt;can change&lt;/SPAN&gt; merchant category. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 07:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-categories-with-the-script/m-p/1037130#M637570</guid>
      <dc:creator />
      <dc:date>2016-04-29T07:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create categories with the script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-categories-with-the-script/m-p/1037131#M637571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an output you are looking for, I am looking for raw data that would help us get to the output you are looking for. I think without knowing how the raw data looks, it would be just guess work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 19:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-categories-with-the-script/m-p/1037131#M637571</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-29T19:12:55Z</dc:date>
    </item>
  </channel>
</rss>

