<?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 Scale limitations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561152#M441311</link>
    <description>&lt;P&gt;The problem is that this formula is not doing anything, nothing changes as I am using it...&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2019 08:38:40 GMT</pubDate>
    <dc:creator>Kunkulis</dc:creator>
    <dc:date>2019-03-26T08:38:40Z</dc:date>
    <item>
      <title>Combo chart Scale limitations</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1560869#M441288</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a combo chart that shows YYYY-MM on the X axis and Profit+Loss on the Y axis as bars and as a second Y axis has Number of eateries.&lt;BR /&gt;This is a dynamic chart, which changes based on the currency and country selected.&lt;BR /&gt;Since i wish for both of the Y axis to be on the same horizontal lines, I needed to create Static Max for them. At first I started with creating 200+ if statement for each of the currency and country, so not really efficient. A kind user gave me this formula&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=if(aggr(rank(sum(sales)),Month)&amp;lt;=1,sum(sales))&lt;/PRE&gt;&lt;P&gt;and it works perfectly.&amp;nbsp;&lt;BR /&gt;I used this formula to create roughly 20 if statements in one expression. Part of it looks like this:&lt;/P&gt;&lt;PRE&gt;=if(aggr(rank(sum(sales)),Month)&amp;lt;=1,if(sum(sales)&amp;lt;10 and sum(sales)&amp;gt;=5,10))&lt;/PRE&gt;&lt;P&gt;Which should set the Static Max to 10&lt;BR /&gt;Unfortunately it is not responding at all to this formula in Static Max. I created a Straight table where I used this expression and it works as it should, returning all the Max values it should as I go through the currencies and countries.&lt;/P&gt;&lt;P&gt;Any idea why is it not working? Because the first variant with the 200+ if statements worked (i didn't get to 200, but in the end it should have been this number. I had 25 of them)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1560869#M441288</guid>
      <dc:creator>Kunkulis</dc:creator>
      <dc:date>2024-11-16T21:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart Scale limitations</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1560906#M441289</link>
      <description>Hi, I'm not sure of what you are trying for max value...&lt;BR /&gt;&lt;BR /&gt;Your first if checks for rank lower or equal to '1', if it's true it goes to the seconf if. This if is asking for "sum(sales)" between 5 and 10, and if sum(sales) is between this values sets the value to 10. If "sum(sales)" is outside this range it doesn't return any value.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Mar 2019 17:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1560906#M441289</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-03-25T17:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart Scale limitations</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561099#M441304</link>
      <description>&lt;P&gt;The first if ranks the graph bars from 1 to , let say, 5 (since there are 5 months), than it uses the first one which is the largest and shows the sum of it, which is checked if it fall in the between 5 and 10, if it is out of this range there is a different bucket - 10 to 20, then 20 to 40, then 40 to 80 etc. until it is way above the max value I have seen in the graph...&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 06:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561099#M441304</guid>
      <dc:creator>Kunkulis</dc:creator>
      <dc:date>2019-03-26T06:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart Scale limitations</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561139#M441308</link>
      <description>Hi, what I don't know is why the need of bucketing the max value, something like this can do a similar work?:&lt;BR /&gt;=if(aggr(rank(sum(sales)),Month)&amp;lt;=1,sum(sales)*1.1)&lt;BR /&gt;&lt;BR /&gt;It adds 10% to higher value.</description>
      <pubDate>Tue, 26 Mar 2019 08:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561139#M441308</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-03-26T08:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart Scale limitations</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561144#M441310</link>
      <description>An easier "=if(aggr(rank(sum(sales)),Month)&amp;lt;=1,sum(sales)*1.1)" can't do a similar work? it adds 10% to the max value.</description>
      <pubDate>Tue, 26 Mar 2019 08:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561144#M441310</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-03-26T08:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart Scale limitations</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561152#M441311</link>
      <description>&lt;P&gt;The problem is that this formula is not doing anything, nothing changes as I am using it...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 08:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561152#M441311</guid>
      <dc:creator>Kunkulis</dc:creator>
      <dc:date>2019-03-26T08:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart Scale limitations</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561171#M441314</link>
      <description>But in your initial post says "=if(aggr(rank(sum(sales)),Month)&amp;lt;=1,sum(sales)) works perfectly", it really works? and adding the *1.1 doesn't do anything?</description>
      <pubDate>Tue, 26 Mar 2019 08:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561171#M441314</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-03-26T08:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Combo chart Scale limitations</title>
      <link>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561251#M441320</link>
      <description>&lt;P&gt;Found a solution that work for me:&lt;/P&gt;&lt;PRE&gt;=if(max(aggr(sum(sales)),Month)&amp;lt;10 and max(aggr(sum(sales)),Month)&amp;gt;=5 ,10,)&lt;/PRE&gt;&lt;P&gt;after the last comma, i just have 20 or so more if expressions setting the ranges.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 10:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combo-chart-Scale-limitations/m-p/1561251#M441320</guid>
      <dc:creator>Kunkulis</dc:creator>
      <dc:date>2019-03-26T10:33:11Z</dc:date>
    </item>
  </channel>
</rss>

