<?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: KPI - calculate median and max value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-calculate-median-and-max-value/m-p/1798817#M64684</link>
    <description>&lt;P&gt;You would need to introduce &lt;A href="https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank" rel="noopener"&gt;Set Analysis&lt;/A&gt; and use {1} which will exclude all user selections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a Set Analysis workshop I wrote and pages 3 and 4 will explain that to you. And then you have workshop in case you want to read more about it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Apr 2021 14:36:20 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2021-04-12T14:36:20Z</dc:date>
    <item>
      <title>KPI - calculate median and max value</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-calculate-median-and-max-value/m-p/1798778#M64674</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a dashboard which displays several KPIs and I need to calculate 2 other KPIs: one for the median value and one for the max value.&lt;/P&gt;&lt;P&gt;I have 2 dimensions: Year and Stations.&lt;/P&gt;&lt;P&gt;I have 2 KPIs:&lt;/P&gt;&lt;P&gt;one shows the number of events for the chosen years and stations.&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;count(distinct EventID)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The second shows the toal number of events for the chosen years, ignoring the stations dimension.&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;count({$&amp;lt;Stations=&amp;gt;} distinct EventID)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;How do I calculate the median and the max value for the stations? These KPIs should display a fix value, no matter which station is chosen (like the total number of events).&lt;/P&gt;&lt;P&gt;I tried something like &lt;FONT color="#0000FF"&gt;median(aggr(count(distinct EventID), Stations))&lt;/FONT&gt; but it only shows the correct value when no station is chosen. What is the correct syntax for the medin?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-calculate-median-and-max-value/m-p/1798778#M64674</guid>
      <dc:creator>adias102</dc:creator>
      <dc:date>2024-11-16T17:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: KPI - calculate median and max value</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-calculate-median-and-max-value/m-p/1798817#M64684</link>
      <description>&lt;P&gt;You would need to introduce &lt;A href="https://help.qlik.com/en-US/sense/February2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank" rel="noopener"&gt;Set Analysis&lt;/A&gt; and use {1} which will exclude all user selections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a Set Analysis workshop I wrote and pages 3 and 4 will explain that to you. And then you have workshop in case you want to read more about it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 14:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-calculate-median-and-max-value/m-p/1798817#M64684</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2021-04-12T14:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: KPI - calculate median and max value</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-calculate-median-and-max-value/m-p/1798994#M64716</link>
      <description>&lt;P&gt;Thank you, this was very helpful&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 08:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-calculate-median-and-max-value/m-p/1798994#M64716</guid>
      <dc:creator>adias102</dc:creator>
      <dc:date>2021-04-13T08:13:29Z</dc:date>
    </item>
  </channel>
</rss>

