<?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 Deciles Calculation On script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Deciles-Calculation-On-script/m-p/630172#M231282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For calculating deciles, I am using the below expression which is working file on charts with all dimensions&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.1&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;10&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.2&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;9&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.3&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;8&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.4&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;7&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.5&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;6&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.6&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;5&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.7&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;4&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.8&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;3&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.9&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;2&lt;/SPAN&gt;, &lt;SPAN style="color: #ff6600;"&gt;1&lt;/SPAN&gt;)))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how the same can be achieved from script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2014 04:13:44 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2014-05-28T04:13:44Z</dc:date>
    <item>
      <title>Deciles Calculation On script</title>
      <link>https://community.qlik.com/t5/QlikView/Deciles-Calculation-On-script/m-p/630172#M231282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For calculating deciles, I am using the below expression which is working file on charts with all dimensions&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.1&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;10&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.2&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;9&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.3&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;8&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.4&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;7&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.5&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;6&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.6&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;5&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.7&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;4&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.8&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;3&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #800080;"&gt;if&lt;/STRONG&gt;(&lt;STRONG style="color: #339966;"&gt;Profit &lt;/STRONG&gt;&amp;lt;= &lt;STRONG style="color: #993366;"&gt;fractile&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;Profit&lt;/SPAN&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #ff6600;"&gt;0.9&lt;/SPAN&gt;), &lt;SPAN style="color: #ff6600;"&gt;2&lt;/SPAN&gt;, &lt;SPAN style="color: #ff6600;"&gt;1&lt;/SPAN&gt;)))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how the same can be achieved from script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 04:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Deciles-Calculation-On-script/m-p/630172#M231282</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2014-05-28T04:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Deciles Calculation On script</title>
      <link>https://community.qlik.com/t5/QlikView/Deciles-Calculation-On-script/m-p/630173#M231283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Group By. Try to share a sample app with inline data and explain expected output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 04:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Deciles-Calculation-On-script/m-p/630173#M231283</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-05-28T04:45:34Z</dc:date>
    </item>
  </channel>
</rss>

