<?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: Median without AGGR: Performance Issues in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351213#M30104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this is what I mean... I added this to your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Drug,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Median(Temp) as Median&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Drug;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Drug,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Patient,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Only([No of Days]) as Temp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Drug, Patient;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when nothing is selected, everything looks good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168732_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as soon as I select Time, Median(Aggr(...)) will change, but Median, which is calculated in the script won't change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/168733_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that acceptable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jun 2017 13:02:56 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-06-30T13:02:56Z</dc:date>
    <item>
      <title>Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351195#M30086</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;In my dashboard i am calculating median value for No of days spent at hospital for patients as per the drugs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the metric which i am using is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;median(aggr([&lt;SPAN style="font-size: 13.3333px;"&gt;No of days&lt;/SPAN&gt;],Patient,Drug))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is really killing the performance of my dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone has any other alternative for this median calculations without using AGGR functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 11:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351195#M30086</guid>
      <dc:creator />
      <dc:date>2017-06-23T11:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351196#M30087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have duplicate rows for No of days for a combination of Patient and Drug? This alone isn't working? &lt;STRONG&gt;Median(No of days])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 11:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351196#M30087</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-23T11:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351197#M30088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No this alone wont work because we need median at patient level for each product.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 12:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351197#M30088</guid>
      <dc:creator />
      <dc:date>2017-06-23T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351198#M30089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a sample you can share?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 12:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351198#M30089</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-23T12:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351199#M30090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a table with Patient and Drug as dimensions, then the simple &lt;EM&gt;=Median([No of days]) &lt;/EM&gt;will do what you require.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use a straight table, you can then decide how to handle the total (an expression total is probably wrong, or you can sum/average/... the rows, or have no total). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 12:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351199#M30090</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-06-23T12:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351200#M30091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No we cant use patient as a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have only Drug as a dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 12:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351200#M30091</guid>
      <dc:creator />
      <dc:date>2017-06-23T12:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351201#M30092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not even sure what you are trying to get and that is why I recommend showing an example out of QlikView to explain what is that you are looking to get.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 12:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351201#M30092</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-23T12:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351202#M30093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA attached sample qvw for median .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if there is a way to avoid AGGR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 10:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351202#M30093</guid>
      <dc:creator />
      <dc:date>2017-06-30T10:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351203#M30094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you don't have an inner aggregation in your real scenario, but this isn't even right... take a look at this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168713_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A is associated with two patients with two different NoOfDays.... and since the no of days don't match, the inner part of your expression is 0 for Drug A. Is this really what you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351203#M30094</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-30T11:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351204#M30095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All i want is to calculate &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;median value for No of days spent at hospital for patients as per the drugs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;But patients should be inner aggregation . Patient is not a dimension in straight table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:26:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351204#M30095</guid>
      <dc:creator />
      <dc:date>2017-06-30T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351205#M30096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Makes sense, I think in that case you will have to use Aggr() unless you can pre-aggregate this in script (which will make this value static and I guess you would not want that as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351205#M30096</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-30T11:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351206#M30097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats my problem. If i do it at chart level i am facing performance issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any alternative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351206#M30097</guid>
      <dc:creator />
      <dc:date>2017-06-30T11:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351207#M30098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't think so&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351207#M30098</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-30T11:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351208#M30099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is we create a aggr table in script and link it to the main fact table by &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;load Patient,Drug as Drug1,Time as Time1,&lt;/P&gt;&lt;P&gt;sum([No of Days]) as Num &lt;/P&gt;&lt;P&gt;Resident A group by Patient,Drug,Time;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Temp Table will be joined to fact by patient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Khushboo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351208#M30099</guid>
      <dc:creator />
      <dc:date>2017-06-30T11:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351209#M30100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this... but remember this will be a static number which won't change based on selections anymore... is that acceptable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 11:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351209#M30100</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-30T11:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351210#M30101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i try to do this in my actual application, i join this temp table to original fact with Patient ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not a static value .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;even now i m confused. Any thoughts on why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 12:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351210#M30101</guid>
      <dc:creator />
      <dc:date>2017-06-30T12:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351211#M30102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It changes based on selections on the front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 12:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351211#M30102</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-30T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351212#M30103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, like i have other fields in fact as well. Based on those it changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 12:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351212#M30103</guid>
      <dc:creator />
      <dc:date>2017-06-30T12:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351213#M30104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this is what I mean... I added this to your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Drug,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Median(Temp) as Median&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Drug;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Drug,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Patient,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Only([No of Days]) as Temp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By Drug, Patient;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when nothing is selected, everything looks good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168732_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as soon as I select Time, Median(Aggr(...)) will change, but Median, which is calculated in the script won't change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/168733_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that acceptable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 13:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351213#M30104</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-30T13:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Median without AGGR: Performance Issues</title>
      <link>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351214#M30105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i select Time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my expectation is median should change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because for year 201701---for drug C---3.5 should be Median..&lt;/P&gt;&lt;P&gt;'But as we calculate in script median is only 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 09:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Median-without-AGGR-Performance-Issues/m-p/1351214#M30105</guid>
      <dc:creator />
      <dc:date>2017-07-03T09:05:47Z</dc:date>
    </item>
  </channel>
</rss>

