<?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 Y axis scaling problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Y-axis-scaling-problem/m-p/212706#M66623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to set a static max expression axis for a drill-down bar chart. To do this, I'm trying to set based on the maximum value for the initial dimension value as follows:&lt;/P&gt;&lt;P&gt;MAX(Aggr(Sum(if(DSetType='Target J',1)),User))&lt;/P&gt;&lt;P&gt;So I trying to sum all matching records in my set and aggregrate on the user. I thought this would give me the top value by user but the scale is topping off over 800 instead of around 160. When I drill-down to the user details, again the axis per month is much higher than the maximum value shown on the chart.&lt;/P&gt;&lt;P&gt;What am I doing wrong? The dimension is based on a drill-down group (of user and month). Is this confusing the chart?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Nick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Feb 2011 10:40:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-11T10:40:58Z</dc:date>
    <item>
      <title>Y axis scaling problem</title>
      <link>https://community.qlik.com/t5/QlikView/Y-axis-scaling-problem/m-p/212706#M66623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to set a static max expression axis for a drill-down bar chart. To do this, I'm trying to set based on the maximum value for the initial dimension value as follows:&lt;/P&gt;&lt;P&gt;MAX(Aggr(Sum(if(DSetType='Target J',1)),User))&lt;/P&gt;&lt;P&gt;So I trying to sum all matching records in my set and aggregrate on the user. I thought this would give me the top value by user but the scale is topping off over 800 instead of around 160. When I drill-down to the user details, again the axis per month is much higher than the maximum value shown on the chart.&lt;/P&gt;&lt;P&gt;What am I doing wrong? The dimension is based on a drill-down group (of user and month). Is this confusing the chart?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Nick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 10:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Y-axis-scaling-problem/m-p/212706#M66623</guid>
      <dc:creator />
      <dc:date>2011-02-11T10:40:58Z</dc:date>
    </item>
    <item>
      <title>Y axis scaling problem</title>
      <link>https://community.qlik.com/t5/QlikView/Y-axis-scaling-problem/m-p/212707#M66624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might have to inclue Month in the aggr() function like&lt;/P&gt;&lt;P&gt;MAX(Aggr(Sum(if(DSetType='Target J',1)),User,Month))&lt;/P&gt;&lt;P&gt;,but this probably will not work either because it might give you a axis that is too small per User, so try the following, too.&lt;/P&gt;&lt;P&gt;MAX(Aggr(Sum(if(DSetType='Target J',1)),getcurrentfield(DrillDownGroupName)))&lt;/P&gt;&lt;P&gt;or just,&lt;/P&gt;&lt;P&gt;MAX(Aggr(Sum(if(DSetType='Target J',1)),DrillDownGroupName))&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Feb 2011 21:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Y-axis-scaling-problem/m-p/212707#M66624</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-02-12T21:43:23Z</dc:date>
    </item>
  </channel>
</rss>

