<?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: Fractile/Aggr/Sum command in load statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fractile-Aggr-Sum-command-in-load-statement/m-p/548364#M1127528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an IF statement instead of using set analysis. Set analysis will not work on load scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2013 13:39:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-09T13:39:38Z</dc:date>
    <item>
      <title>Fractile/Aggr/Sum command in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-Aggr-Sum-command-in-load-statement/m-p/548363#M1127527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no problem with adding the below statement to a Chart but when I try to use it in the load statement.&amp;nbsp; Here is the command I was wondering if anyone has any idea's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;median (aggr(sum({&amp;lt;AssetName= {"Product Name"}&amp;gt;}X),AcctNum))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 13:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-Aggr-Sum-command-in-load-statement/m-p/548363#M1127527</guid>
      <dc:creator />
      <dc:date>2013-12-09T13:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile/Aggr/Sum command in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-Aggr-Sum-command-in-load-statement/m-p/548364#M1127528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an IF statement instead of using set analysis. Set analysis will not work on load scripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 13:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-Aggr-Sum-command-in-load-statement/m-p/548364#M1127528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T13:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile/Aggr/Sum command in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-Aggr-Sum-command-in-load-statement/m-p/548365#M1127529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what would it look like.&amp;nbsp; Can you provide me an example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 13:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-Aggr-Sum-command-in-load-statement/m-p/548365#M1127529</guid>
      <dc:creator />
      <dc:date>2013-12-09T13:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile/Aggr/Sum command in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-Aggr-Sum-command-in-load-statement/m-p/548366#M1127530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;You can try something like below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Median(sum(IF(AssetName = [Product Name], X)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Use a group by clause and group the records to the same level as you were trying with the AGGR function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If that does not work properly. then do the SUM in the first load statement and then take the median in another load statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aadil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 14:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-Aggr-Sum-command-in-load-statement/m-p/548366#M1127530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T14:11:00Z</dc:date>
    </item>
  </channel>
</rss>

