<?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: Display script median as KPI in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-script-median-as-KPI/m-p/12391#M2022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Median ia also a chart function, so it can be used on viz level.&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Feb 2018 08:06:38 GMT</pubDate>
    <dc:creator>tomasz_tru</dc:creator>
    <dc:date>2018-02-13T08:06:38Z</dc:date>
    <item>
      <title>Display script median as KPI</title>
      <link>https://community.qlik.com/t5/QlikView/Display-script-median-as-KPI/m-p/12390#M2021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a bit confused about what I am doing and need some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the script below which works out the median of value in the script. the median values are to be used later as KPI object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is &lt;STRONG&gt;What expression can I write to create the KPI object so that it is still dynamic and when users make selections they are shown the Median of the selection given it has been calculated in the script. &lt;/STRONG&gt;Do I sum?Avg? the median field&lt;/P&gt;&lt;P&gt;Please Note this is based on large data set hence why we decided to calculate the median in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE:&lt;/P&gt;&lt;P&gt;Load *, Code&amp;amp;category as key;&lt;/P&gt;&lt;P&gt;Load * Inline [Code, category, value&lt;/P&gt;&lt;P&gt;EP.236, EqkcV, 641&lt;/P&gt;&lt;P&gt;EP.236, EqkcV, 3048&lt;/P&gt;&lt;P&gt;NF.209, EqkcV, 319&lt;/P&gt;&lt;P&gt;GG.813, Kvol, 112&lt;/P&gt;&lt;P&gt;GG.813, Kvol, 292&lt;/P&gt;&lt;P&gt;GG.813, Kvol, 1560&lt;/P&gt;&lt;P&gt;GG.813, yudtv, 448&lt;/P&gt;&lt;P&gt;NF.209, yudtv, 1784&lt;/P&gt;&lt;P&gt;NF.209, yudtv, 2112&lt;/P&gt;&lt;P&gt;VS.847, yudtv, 360&lt;/P&gt;&lt;P&gt;VS.847, yudtv, 570&lt;/P&gt;&lt;P&gt;VS.847, yudtv, 2076&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;med:&lt;/P&gt;&lt;P&gt;lOAD key,&lt;/P&gt;&lt;P&gt;Median(value) as Medianval&lt;/P&gt;&lt;P&gt;Resident TABLE&lt;/P&gt;&lt;P&gt;Group BY key;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 07:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-script-median-as-KPI/m-p/12390#M2021</guid>
      <dc:creator>ericdelaqua</dc:creator>
      <dc:date>2018-02-13T07:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Display script median as KPI</title>
      <link>https://community.qlik.com/t5/QlikView/Display-script-median-as-KPI/m-p/12391#M2022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Median ia also a chart function, so it can be used on viz level.&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 08:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-script-median-as-KPI/m-p/12391#M2022</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2018-02-13T08:06:38Z</dc:date>
    </item>
  </channel>
</rss>

