<?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: Set Y max based on which columns have values in X in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Y-max-based-on-which-columns-have-values-in-X/m-p/1024227#M524586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=Max({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Xvalue = {"=Len(Trim(&lt;SPAN style="font-size: 13.3333px;"&gt;Xvalue)) &amp;gt; 0&lt;/SPAN&gt;"}&lt;/SPAN&gt;&amp;gt;} Aggr(Sum(Yvalue), Xvalue))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2016 15:26:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-01T15:26:55Z</dc:date>
    <item>
      <title>Set Y max based on which columns have values in X</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Y-max-based-on-which-columns-have-values-in-X/m-p/1024226#M524585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a bar chart that's aggregating the sum of values for people who fall into several categories--being able to see the sum for folks who don't fall into any category is important too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the total for folks who don't fall into any category is so much larger than the other categories that the chart isn't particularly useful (see the screenshot below). I can set a static Y min fairly easily, but I'd like the chart to scale properly based on my selections--what I'd really like to do is set a static Y min based on the &lt;STRONG&gt;biggest value of Y where X is not null. &lt;/STRONG&gt;I'm guessing I could use some sort of set analysis expression to do this, something like &lt;SPAN style="font-family: courier new,courier;"&gt;= max( aggr( sum( {&amp;lt; Xvalue = { isNotNull( Xvalue) } &amp;gt;} Yvalue ), Xvalue))&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;, but I'm sure that's not exactly right. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Suggestions? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;. &lt;IMG alt="qv chart.png" class="jive-image image-1" src="/legacyfs/online/113184_qv chart.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Y-max-based-on-which-columns-have-values-in-X/m-p/1024226#M524585</guid>
      <dc:creator />
      <dc:date>2016-02-01T15:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Y max based on which columns have values in X</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Y-max-based-on-which-columns-have-values-in-X/m-p/1024227#M524586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=Max({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Xvalue = {"=Len(Trim(&lt;SPAN style="font-size: 13.3333px;"&gt;Xvalue)) &amp;gt; 0&lt;/SPAN&gt;"}&lt;/SPAN&gt;&amp;gt;} Aggr(Sum(Yvalue), Xvalue))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Y-max-based-on-which-columns-have-values-in-X/m-p/1024227#M524586</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-01T15:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Y max based on which columns have values in X</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Y-max-based-on-which-columns-have-values-in-X/m-p/1024228#M524587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it--thanks so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 20:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Y-max-based-on-which-columns-have-values-in-X/m-p/1024228#M524587</guid>
      <dc:creator />
      <dc:date>2016-02-04T20:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Y max based on which columns have values in X</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Y-max-based-on-which-columns-have-values-in-X/m-p/1024229#M524588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking at the issue again, you might have also resolved this by selecting '&lt;STRONG&gt;Suppress When Value Is Null&lt;/STRONG&gt;' on the dimension tab with this expression -&amp;gt; &lt;STRONG&gt;Sum(Yvalue) or Max(Aggr(Sum(Yvalue), Xvalue))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 20:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Y-max-based-on-which-columns-have-values-in-X/m-p/1024229#M524588</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-04T20:10:26Z</dc:date>
    </item>
  </channel>
</rss>

