<?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: Combo chart: same dynamic scale for both KPI's in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Combo-chart-same-dynamic-scale-for-both-KPI-s/m-p/2047453#M86153</link>
    <description>&lt;P&gt;RangeMax() is just a cleaner (and quicker) way to write this out rather than using If(Expr1&amp;gt;Expr2,Expr1,Expr2), since you don't have to write each expression out twice.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 14:52:43 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2023-03-09T14:52:43Z</dc:date>
    <item>
      <title>Combo chart: same dynamic scale for both KPI's</title>
      <link>https://community.qlik.com/t5/App-Development/Combo-chart-same-dynamic-scale-for-both-KPI-s/m-p/2047399#M86143</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'd like to display multiple KPI's in a combo chart, using the same dynamic scale.&lt;/P&gt;
&lt;P&gt;Dependent on which KPI's has the highes value, the two scales should display the same maximum value.&lt;/P&gt;
&lt;P&gt;We have unsucessfully tested the following statement in the max range:&lt;/P&gt;
&lt;P&gt;if ( max(KPI_1) &amp;gt;&amp;nbsp;max(KPI_2),&amp;nbsp;max(KPI_1),&amp;nbsp;max(KPI_2) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here we tried to enter the minimum and maximum scale for the KPI:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7mon_0-1678367318808.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102391i63A8352FC48FA6D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7mon_0-1678367318808.png" alt="7mon_0-1678367318808.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks for your support&lt;/P&gt;
&lt;P&gt;Simon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 13:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combo-chart-same-dynamic-scale-for-both-KPI-s/m-p/2047399#M86143</guid>
      <dc:creator>7mon</dc:creator>
      <dc:date>2023-03-09T13:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart: same dynamic scale for both KPI's</title>
      <link>https://community.qlik.com/t5/App-Development/Combo-chart-same-dynamic-scale-for-both-KPI-s/m-p/2047400#M86144</link>
      <description>&lt;P&gt;You would need to use aggr() for this, since at the object level, e.g.&lt;/P&gt;
&lt;P&gt;=RangeMax(Max(Aggr(KPI1,DimensionField)),Max(Aggr(KPI2,DimensionField)))&lt;/P&gt;
&lt;P&gt;But that aside, why not just use a dynamic maximum if you're looking for it to match the highest value existing in the data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 13:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combo-chart-same-dynamic-scale-for-both-KPI-s/m-p/2047400#M86144</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-03-09T13:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart: same dynamic scale for both KPI's</title>
      <link>https://community.qlik.com/t5/App-Development/Combo-chart-same-dynamic-scale-for-both-KPI-s/m-p/2047442#M86150</link>
      <description>&lt;P&gt;Hi Or,&lt;/P&gt;
&lt;P&gt;many thanks for your quick reply.&lt;/P&gt;
&lt;P&gt;So using RangeMax(Max(Aggr(...))) is used to define a dynamic maximum right..&lt;/P&gt;
&lt;P&gt;It's working out properly btw &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks from Austria&lt;/P&gt;
&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 14:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combo-chart-same-dynamic-scale-for-both-KPI-s/m-p/2047442#M86150</guid>
      <dc:creator>7mon</dc:creator>
      <dc:date>2023-03-09T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart: same dynamic scale for both KPI's</title>
      <link>https://community.qlik.com/t5/App-Development/Combo-chart-same-dynamic-scale-for-both-KPI-s/m-p/2047453#M86153</link>
      <description>&lt;P&gt;RangeMax() is just a cleaner (and quicker) way to write this out rather than using If(Expr1&amp;gt;Expr2,Expr1,Expr2), since you don't have to write each expression out twice.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 14:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combo-chart-same-dynamic-scale-for-both-KPI-s/m-p/2047453#M86153</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-03-09T14:52:43Z</dc:date>
    </item>
  </channel>
</rss>

