<?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: Pick maximum result aggregated by year in Reporting Service &amp; Alerting</title>
    <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2417815#M824</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46967"&gt;@jorditorras&lt;/a&gt;&amp;nbsp;How the result came to tabular already? If they just source, Why not simply with &lt;STRONG&gt;Max(Your Field name)&lt;/STRONG&gt;?&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 16:31:39 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2024-02-12T16:31:39Z</dc:date>
    <item>
      <title>Pick maximum result aggregated by year</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2417730#M823</link>
      <description>&lt;P&gt;Dear Gurus,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a Bar Chart with a KPI and a Dimension of "Year". I want to set the "Y" axis with the higher value of all the last 3 years. If, for example, my results are like:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;KPI 2024&lt;/TD&gt;
&lt;TD width="50%"&gt;1500&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;KPI 2023&lt;/TD&gt;
&lt;TD width="50%"&gt;2500&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;KPI 2022&lt;/TD&gt;
&lt;TD width="50%"&gt;3000&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, I need to set the Maximum "Y" axis as 3000. Any Idea how can I try this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried 2 opcions but when I filter per one single year they doesn't work:&lt;/P&gt;
&lt;P&gt;1. Max(Aggr((KPI), Year))&lt;/P&gt;
&lt;P&gt;2. RangeMax(KPI2024, KPI2023, KPI2022)&lt;/P&gt;
&lt;P&gt;I prefer not to use to use "IF" formulas if possible as each KPI is a bit complex and it can get a bad performance.&lt;/P&gt;
&lt;P&gt;Thanks for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2417730#M823</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2024-11-15T21:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pick maximum result aggregated by year</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2417815#M824</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46967"&gt;@jorditorras&lt;/a&gt;&amp;nbsp;How the result came to tabular already? If they just source, Why not simply with &lt;STRONG&gt;Max(Your Field name)&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 16:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2417815#M824</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-02-12T16:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pick maximum result aggregated by year</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2417988#M825</link>
      <description>&lt;P&gt;What is the field name?&amp;nbsp; if the field name is KPI then try&amp;nbsp; Max( [KPI] )&amp;nbsp; or&amp;nbsp; Max( total [KPI] ).&amp;nbsp; &amp;nbsp;The total qualifer ensure the max is applied while looking at all the dimensional values for the dimension used in the chart.&amp;nbsp; The full explanation of the function and usage and examples are here&amp;nbsp; &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/BasicAggregationFunctions/max.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/BasicAggregationFunctions/max.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 04:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2417988#M825</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2024-02-13T04:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pick maximum result aggregated by year</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418666#M826</link>
      <description>&lt;P&gt;Hi Anil, the thing is that I don't need the Max(Field Name), but instead, the Maximum KPI of all the past years.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 09:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418666#M826</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2024-02-14T09:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pick maximum result aggregated by year</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418667#M827</link>
      <description>&lt;P&gt;KPI i mean "Measure". So, I'm searching the Maximum result of "Measure" among the current and the past "n" Years.&lt;/P&gt;
&lt;P&gt;Thanks for&amp;nbsp; your comment!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 09:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418667#M827</guid>
      <dc:creator>jorditorras</dc:creator>
      <dc:date>2024-02-14T09:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pick maximum result aggregated by year</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418679#M828</link>
      <description>&lt;P&gt;You want you maximum to be always 3000 whichever fields your are selecting?&lt;BR /&gt;Something like this should work:&amp;nbsp;&lt;SPAN&gt;{1}&lt;/SPAN&gt;&lt;SPAN&gt;Max(Aggr((KPI), Year))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 10:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418679#M828</guid>
      <dc:creator>vincent_ardiet_</dc:creator>
      <dc:date>2024-02-14T10:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pick maximum result aggregated by year</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418710#M829</link>
      <description>&lt;P&gt;You can use a rank in the set analysis of your KPI.&lt;BR /&gt;If you KPI is count(sales), you will have :&lt;BR /&gt;count({&amp;lt;Year = {"=Rank([KPI])=1"}&amp;gt;} sales)&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;THEO ATRAGIE.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 10:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418710#M829</guid>
      <dc:creator>theoat</dc:creator>
      <dc:date>2024-02-14T10:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pick maximum result aggregated by year</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418807#M830</link>
      <description>&lt;P&gt;If there are only 2 columns in your data set :&amp;nbsp; [Year] and [Measure]&amp;nbsp; .. then you would be using the following expression:&amp;nbsp; Max( total [Measure])&lt;/P&gt;
&lt;P&gt;I added the expression both as a reference line and as a Y axis maximum in this chart.&amp;nbsp; Actually I put the Y axis maximum to be 10% higher:&amp;nbsp; &amp;nbsp;Max( total [Measure]) + (.1 *&amp;nbsp;Max( total [Measure]) ) so that you can have some space at the top to see everything.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take a look and validate this is indeed your data set and use case.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_1-1707918543778.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159745i1140AC31433C05EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_1-1707918543778.png" alt="JonnyPoole_1-1707918543778.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_2-1707918585238.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159746iC56347FE72C4B6CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_2-1707918585238.png" alt="JonnyPoole_2-1707918585238.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonnyPoole_3-1707918626967.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/159747i9BC8F1B1C6DDC013/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JonnyPoole_3-1707918626967.png" alt="JonnyPoole_3-1707918626967.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 13:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Pick-maximum-result-aggregated-by-year/m-p/2418807#M830</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2024-02-14T13:51:32Z</dc:date>
    </item>
  </channel>
</rss>

