<?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: Classification based on calculated range in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Classification-based-on-calculated-range-in-load-script/m-p/957276#M644578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fractile() is a statistical &lt;EM&gt;&lt;STRONG&gt;aggregation&lt;/STRONG&gt;&lt;/EM&gt; function. Aggregations in general need a GROUP BY clause when used in the script, and all fields not listed in the group by clause need to be aggregated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Dec 2015 13:44:11 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-12-05T13:44:11Z</dc:date>
    <item>
      <title>Classification based on calculated range in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Classification-based-on-calculated-range-in-load-script/m-p/957274#M644576</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 the following script to group airports based on a calculated index into A, B, C and D. However, Qlikview keeps detecting and error. Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//CALCULATION OF DEPARTURE AIRPORT INDEX&amp;nbsp; &lt;/P&gt;&lt;P&gt;NoConcatenate&amp;nbsp; &lt;/P&gt;&lt;P&gt;DEP_AIRPORT_INDEX:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD *,&amp;nbsp; &lt;/P&gt;&lt;P&gt;(DEP_CARRIER/MAX_DEP_CARRIER)+(DEP_FLIGHTS/MAX_DEP_FLIGHTS)+(DEP_DIST_GROUP/MAX_DEP_DIST_GROUP)+(DEP_AIRPORT_COUNT/MAX_DEP_AIRPORT_COUNT) as DEP_AIRPORT_INDEX&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident DEP_AIRPORT;// THIS IS A TABLE OF THE AIRPORTS WITH ALL OF THEIR RESPECTIVE ATTRIBUTES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//ASSIGNING GRADES TO THE AIRPORTS&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;DEP_AIRPORT_GRADE:&lt;/P&gt;&lt;P&gt;LOAD*,&lt;/P&gt;&lt;P&gt;if (DEP_AIRPORT_INDEX&amp;lt;=fractile(DEP_AIRPORT_INDEX,0.25),'D',&lt;/P&gt;&lt;P&gt;if (fractile(DEP_AIRPORT_INDEX,0.25)&amp;lt;DEP_AIRPORT_INDEX&amp;lt;=fractile(DEP_AIRPORT_INDEX,0.5),'C',&lt;/P&gt;&lt;P&gt;if (fractile(DEP_AIRPORT_INDEX,0.5)&amp;lt;DEP_AIRPORT_INDEX&amp;lt;=fractile(DEP_AIRPORT_INDEX,0.75),'B', &lt;/P&gt;&lt;P&gt;if (fractile(DEP_AIRPORT_INDEX,0.75)&amp;lt;DEP_AIRPORT_INDEX,'A', 'NULL')))) as GRADE_DEP_AIRPORT&lt;/P&gt;&lt;P&gt;FROM DEP_AIRPORT;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2015 06:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classification-based-on-calculated-range-in-load-script/m-p/957274#M644576</guid>
      <dc:creator />
      <dc:date>2015-12-05T06:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Classification based on calculated range in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Classification-based-on-calculated-range-in-load-script/m-p/957275#M644577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should post your question only once: &lt;A href="https://community.qlik.com/thread/194220"&gt;Classification based on calculated value&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2015 13:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classification-based-on-calculated-range-in-load-script/m-p/957275#M644577</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-12-05T13:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Classification based on calculated range in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Classification-based-on-calculated-range-in-load-script/m-p/957276#M644578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fractile() is a statistical &lt;EM&gt;&lt;STRONG&gt;aggregation&lt;/STRONG&gt;&lt;/EM&gt; function. Aggregations in general need a GROUP BY clause when used in the script, and all fields not listed in the group by clause need to be aggregated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Dec 2015 13:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classification-based-on-calculated-range-in-load-script/m-p/957276#M644578</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-05T13:44:11Z</dc:date>
    </item>
  </channel>
</rss>

