<?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: calculate the average of the first quartile in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110135#M18930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dimension is "bouwmarkt"which means DIY store.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare the values of the selected bouwmarkt to the first quartile of all "bouwmarkt"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2016 08:14:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-16T08:14:03Z</dc:date>
    <item>
      <title>calculate the average of the first quartile</title>
      <link>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110133#M18928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to calculate the average of the first quartile, and use it as a limit for a gauge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;All formula's work seperately but i cannot get the total to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This is my formula:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;avg(if(&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;bouwmarkt=&amp;gt;}&lt;/SPAN&gt;[Totaal Kosten] &amp;lt; fractile({&amp;lt;bouwmarkt=&amp;gt;}[Totaal Kosten],0.25),&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;bouwmarkt=&amp;gt;}&lt;/SPAN&gt;[Totaal Kosten]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i can use &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;fractile({&amp;lt;bouwmarkt=&amp;gt;}[Totaal Kosten],0.25)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;to create a reference line and that works fine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i can make an if statement that only shows value if selected bouwmarkt is below 1st quartile average and that works fine:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if([Totaal Kosten] &amp;lt; fractile({&amp;lt;bouwmarkt=&amp;gt;}[Totaal Kosten],0.25),[Totaal Kosten])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So i want to compare a "bouwmarkt" with the average of the 1st quartile.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Does anybody know what i'm doing wrong?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110133#M18928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the average of the first quartile</title>
      <link>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110134#M18929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your dimension on which you want to calculate the fractile?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2016 15:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110134#M18929</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-15T15:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the average of the first quartile</title>
      <link>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110135#M18930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dimension is "bouwmarkt"which means DIY store.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare the values of the selected bouwmarkt to the first quartile of all "bouwmarkt"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 08:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110135#M18930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T08:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the average of the first quartile</title>
      <link>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110136#M18931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Avg(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;{&amp;lt;bouwmarkt=&amp;gt;}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Totaal Kosten] &amp;lt; Fractile({&amp;lt;bouwmarkt=&amp;gt;} [Totaal Kosten], 0.25), &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;[Totaal Kosten]), &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;bouwmarkt))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 09:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110136#M18931</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-16T09:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: calculate the average of the first quartile</title>
      <link>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110137#M18932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't get it to work with Aggr()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i found another solution with the magical total() function. I dont know what it exactly does but it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;bouwmarkt&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; total(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Totaal kosten] &amp;lt;= fractile({&amp;lt;bouwmarkt=&amp;gt;} &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;total([&lt;SPAN style="font-size: 13.3333px;"&gt;Totaal kosten&lt;/SPAN&gt;]),0.25),[&lt;SPAN style="font-size: 13.3333px;"&gt;Totaal kosten&lt;/SPAN&gt;])))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 10:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/calculate-the-average-of-the-first-quartile/m-p/1110137#M18932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-17T10:26:59Z</dc:date>
    </item>
  </channel>
</rss>

