<?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 Categorising data while loading the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342740#M1174767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built two straight tables. One consists of the yearly data for each country from 2000-2011 and the other contains the monthly data of 2011 and 2012-till date. It also contains the month on month % change and YTD calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way of getting it fixed in the script only while i'm doing a reload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 06:10:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-09T06:10:36Z</dc:date>
    <item>
      <title>Categorising data while loading the script</title>
      <link>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342738#M1174764</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 a large set of sales data for almost 150 countries from 2000 to 2011. I have further categorised them under 5 regions. Now i want to load the data in such a way that it shows only the top 5 countries based on 2011 sales figures for each region and group the rest as "Others".&lt;/P&gt;&lt;P&gt;I have already&amp;nbsp; tried the dimension limits in the straight table&amp;nbsp; with the largest 5 option but everytime it comes up with an error "Allocated memory is exceeded".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if i could make the changes in the script itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 03:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342738#M1174764</guid>
      <dc:creator />
      <dc:date>2012-05-09T03:39:06Z</dc:date>
    </item>
    <item>
      <title>Categorising data while loading the script</title>
      <link>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342739#M1174766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anirban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using any calculated dimension in your chart expression? Please provide what expression and dimensions you have used in your chart.&lt;/P&gt;&lt;P&gt;As you have near about 10 years of data in your fact table and you are creating chart only on&amp;nbsp; 2011 year data then probably you can extract latest year (2011) data in another fact and use that fact for this chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other possible solution would be you use database rank function in SQL query and create another fact table in script itself which is having top 5 countries base on 2011. But if you are using QVDs then probably you need to create a seperate QVD for this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help,&lt;/P&gt;&lt;P&gt;Anosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 05:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342739#M1174766</guid>
      <dc:creator />
      <dc:date>2012-05-09T05:55:26Z</dc:date>
    </item>
    <item>
      <title>Categorising data while loading the script</title>
      <link>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342740#M1174767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built two straight tables. One consists of the yearly data for each country from 2000-2011 and the other contains the monthly data of 2011 and 2012-till date. It also contains the month on month % change and YTD calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any way of getting it fixed in the script only while i'm doing a reload?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 06:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342740#M1174767</guid>
      <dc:creator />
      <dc:date>2012-05-09T06:10:36Z</dc:date>
    </item>
    <item>
      <title>Categorising data while loading the script</title>
      <link>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342741#M1174768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Anirban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding in your first table while showing yearly data for each country from 2000-2011 you display only top 5 countries that have highest sales in year 2011and you are displaying the same countries against all 11 years.&lt;/P&gt;&lt;P&gt;In your next table you are diplaying the top 5 countries on monthly bases for months between 2011 to 2012 till date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If my understanding is correct you can do two things in script.&lt;/P&gt;&lt;P&gt;1. For first chart - In you script create seperate table having yearly data for all countries. Create seperate table to find out top 5 countries id using order by clause. Use these ids in chart for creating claculated dimension for displaying these 5 countries against all years and group others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For second chart - In you script create seperate table having 2011 - 2012 monthly data for all countries. Now use this table in your chart and use dimension limit to limit no of countries based on sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be good if you create some dummy data and a qvw to explain your scenario better. Then I or someone else on this forum can probably understand your problem clearly and provide you solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help,&lt;/P&gt;&lt;P&gt;Anosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 08:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342741#M1174768</guid>
      <dc:creator />
      <dc:date>2012-05-10T08:59:42Z</dc:date>
    </item>
    <item>
      <title>Categorising data while loading the script</title>
      <link>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342742#M1174770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anirban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have your problem got solved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 03:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Categorising-data-while-loading-the-script/m-p/342742#M1174770</guid>
      <dc:creator />
      <dc:date>2012-05-14T03:25:30Z</dc:date>
    </item>
  </channel>
</rss>

