<?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: How to find a Median over Months in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497130#M102727</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In what type of graph do you want to use this measure?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 15:12:38 GMT</pubDate>
    <dc:creator>Clement15</dc:creator>
    <dc:date>2024-12-10T15:12:38Z</dc:date>
    <item>
      <title>How to find a Median over Months</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497124#M102726</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I need to develop a metric that helps me finding the Median across months. For instance, in January, the metric has to return the median of January's values. But in February, the metric has to make a list of the values ​​for January and February and bring the median accordingly the values of these two months. And so on for the other months. In March, the metric has to find the median according to the values ​​of January, February and March.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;This is the formula I'm currently using:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Median({&amp;lt;[Fiscal Date]={"&amp;gt;=$(=YearStart(max([Fiscal Date])))"},VRMBDAFLG_LOT_APPROVED={'1'},VRMBDAFLG_OUTLIER={'1'}&amp;gt;}VRMBDADAYS_TO_BE_RELEASED)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My sincere thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 15:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497124#M102726</guid>
      <dc:creator>Sam07</dc:creator>
      <dc:date>2024-12-10T15:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a Median over Months</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497130#M102727</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In what type of graph do you want to use this measure?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 15:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497130#M102727</guid>
      <dc:creator>Clement15</dc:creator>
      <dc:date>2024-12-10T15:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a Median over Months</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497132#M102728</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/287708"&gt;@Clement15&lt;/a&gt;&amp;nbsp; thank you for willing to help me. In a line chart and a KPI. In addition, in the line chart I'm using months for the X axis.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 15:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497132#M102728</guid>
      <dc:creator>Sam07</dc:creator>
      <dc:date>2024-12-10T15:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a Median over Months</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497152#M102729</link>
      <description>&lt;P&gt;Hello, For the KPi I use this formula:&lt;/P&gt;
&lt;P&gt;{&amp;lt;Date={"&amp;gt;$(=YearStart(max(Date)))) &amp;lt;$(=max(Date))"},[YearMonth]=,[Year]=,Date=,Month=&amp;gt;}median(aggr(sum(Value),[YearMonth]))&lt;/P&gt;
&lt;P&gt;It allows you to have the median as you want over the year, the set analysis allows you to make the right selection by just selecting the max date you want. Here, YearMonth is created using ' MonthName(Date) as YearMonth ' in the script.&lt;/P&gt;
&lt;P&gt;For the graph, I used this in measure:&lt;/P&gt;
&lt;P&gt;RangeFractile(0.5, above( sum(Value),0,12))&lt;/P&gt;
&lt;P&gt;and YearMonth in dimension&lt;/P&gt;
&lt;P&gt;The problem is that if you have several years, it will not be limited to the beginning of it.&lt;/P&gt;
&lt;P&gt;These formulas are examples, you have to adapt them to your data&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 16:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497152#M102729</guid>
      <dc:creator>Clement15</dc:creator>
      <dc:date>2024-12-10T16:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a Median over Months</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497318#M102739</link>
      <description>&lt;P&gt;Thank you for helping me,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/287708"&gt;@Clement15&lt;/a&gt;&amp;nbsp;. I'm going to try again using the formula you shared with me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just would like to check with you this formula:&lt;/P&gt;
&lt;P&gt;{&amp;lt;Date={"&amp;gt;$(=YearStart(max(Date)))) &amp;lt;$(=max(Date))"},[YearMonth]=,[Year]=,Date=,Month=&amp;gt;}median(aggr(sum(Value),[YearMonth]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that the beginning of it is missing.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 09:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497318#M102739</guid>
      <dc:creator>Sam07</dc:creator>
      <dc:date>2024-12-11T09:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a Median over Months</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497320#M102740</link>
      <description>&lt;P&gt;What do you want to check? The formula is correct on my side. Just adapt it with your measure&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 09:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497320#M102740</guid>
      <dc:creator>Clement15</dc:creator>
      <dc:date>2024-12-11T09:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a Median over Months</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497321#M102741</link>
      <description>&lt;P&gt;Okay, my mistake. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 09:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-Median-over-Months/m-p/2497321#M102741</guid>
      <dc:creator>Sam07</dc:creator>
      <dc:date>2024-12-11T09:50:15Z</dc:date>
    </item>
  </channel>
</rss>

