<?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 function does not work on Qlikview server 12 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111681#M628590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Toni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the trouble shooting like that and identified that it's a issue with Aggr() . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the previous trouble shoot &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Concat(Aggr((Sum(charge)/Count(DISTINCT TicketNumber)),Resource),',')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;did not work on the server published version. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So I aggregated the numerator and denominator separately with concat()..&amp;nbsp; &lt;/P&gt;&lt;P&gt;And it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Qlikview server 12 (published version)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136855_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the solution: &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/check.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(Sum(charge),Resource) / Aggr(Count(DISTINCT TicketNumber),Resource)&lt;/STRONG&gt; works fine in the Qlikvew server 12 published dashboard, but &lt;STRONG&gt;Aggr((Sum(charge)/Count(DISTINCT TicketNumber)),Resource)&lt;/STRONG&gt; does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/136859_2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2016 17:07:49 GMT</pubDate>
    <dc:creator>samith_sgh</dc:creator>
    <dc:date>2016-09-08T17:07:49Z</dc:date>
    <item>
      <title>Fractile function does not work on Qlikview server 12</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111676#M628585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used following function in a qlikview dashboard which works fine in Qlikview Desktop 12, but when I publish it in the server I can only get a '-' for the fractile value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=Fractile(Aggr((Sum(Charge)/Count(DISTINCT TicketNumber)),Resource),0.9)&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it some compatibility issue in Qlikview server version 12?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data set looks like this.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="168" style="width: 324px; height: 125px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="87"&gt;&lt;STRONG&gt;TicketNumber&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" width="111"&gt;&lt;STRONG&gt; Charge &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;STRONG&gt;Resource&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;125&lt;/TD&gt;&lt;TD class="xl66"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.00&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;125&lt;/TD&gt;&lt;TD class="xl66"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15.00&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;125&lt;/TD&gt;&lt;TD class="xl66"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20.00&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;130&lt;/TD&gt;&lt;TD class="xl66"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25.00&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;135&lt;/TD&gt;&lt;TD class="xl66"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25.00&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;140&lt;/TD&gt;&lt;TD class="xl66"&gt;$&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 45.00&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get average charge amount per ticket no for each Resource and get 90th percentile of that average (when grouped by Resource)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 11:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111676#M628585</guid>
      <dc:creator>samith_sgh</dc:creator>
      <dc:date>2016-08-30T11:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile function does not work on Qlikview server 12</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111677#M628586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just try again and see luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 12:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111677#M628586</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-30T12:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile function does not work on Qlikview server 12</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111678#M628587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More likely the data in your aggregation is different when you run the app on server side. Are you perhaps using Section Access causing a reduction on server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For troubleshooting start by validating that each component in your expression returns the values that you expect. &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;Concatenate the Aggr() result to confirm the result are as expected; Concat(Aggr((Sum(charge)/Count(DISTINCT TicketNumber)),Resource),',')&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 12:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111678#M628587</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2016-08-30T12:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile function does not work on Qlikview server 12</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111679#M628588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you for your suggestion to use concat. Following is the result.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Left side 2 text boxes have my original Fractile function. Right side box has the Concat function as you mentioned.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;When opened in Qlikview Desktop V12:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG __jive_id="135995" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135995_Capture.PNG" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;How published version looks like in Qlikview server 12. (Opened in Google chrome)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG __jive_id="135996" alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/135996_Capture1.PNG" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Seems like a issue in Aggr() function. But both of these files has the same data set.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;There's no section access on this document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 13:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111679#M628588</guid>
      <dc:creator>samith_sgh</dc:creator>
      <dc:date>2016-08-30T13:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile function does not work on Qlikview server 12</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111680#M628589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Troubleshooting of Aggr() is done by setting up a straight table to mimic the aggregation. In your case it would be as below. &lt;/P&gt;&lt;P&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;STRONG&gt;Dimension&lt;/STRONG&gt;: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Resource&lt;/SPAN&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;&lt;STRONG&gt;Expression&lt;/STRONG&gt;: Sum(Charge)/Count(DISTINCT TicketNumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With two components in the expression, you might need to split the expression into two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Resource&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Expression1&lt;/STRONG&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Sum(Charge)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;STRONG&gt;Expression2&lt;/STRONG&gt;: Count(DISTINCT TicketNumber)&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 22:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111680#M628589</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2016-08-30T22:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fractile function does not work on Qlikview server 12</title>
      <link>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111681#M628590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Toni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the trouble shooting like that and identified that it's a issue with Aggr() . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the previous trouble shoot &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Concat(Aggr((Sum(charge)/Count(DISTINCT TicketNumber)),Resource),',')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;did not work on the server published version. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So I aggregated the numerator and denominator separately with concat()..&amp;nbsp; &lt;/P&gt;&lt;P&gt;And it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Qlikview server 12 (published version)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136855_1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the solution: &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/check.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(Sum(charge),Resource) / Aggr(Count(DISTINCT TicketNumber),Resource)&lt;/STRONG&gt; works fine in the Qlikvew server 12 published dashboard, but &lt;STRONG&gt;Aggr((Sum(charge)/Count(DISTINCT TicketNumber)),Resource)&lt;/STRONG&gt; does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/136859_2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 17:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fractile-function-does-not-work-on-Qlikview-server-12/m-p/1111681#M628590</guid>
      <dc:creator>samith_sgh</dc:creator>
      <dc:date>2016-09-08T17:07:49Z</dc:date>
    </item>
  </channel>
</rss>

