<?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: Limit Chart Minimum Only When Needed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715348#M257345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amalin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you attach a sample?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 07:37:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-29T07:37:31Z</dc:date>
    <item>
      <title>Limit Chart Minimum Only When Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715347#M257344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I have a line chart where the values are between 100 and -500 (Y values this means).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I want to limit the scale to a minimum of -100, but only when it's needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;What I mean is that when there are indeed values surpassing -100, it should limited to -100, otherwise it should be limited to the lowest value present (as it would have if I haven't changed the scale's static min).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;This gets a bit trickier as I can't use simply 'if(min(aggr(exp,diam))&amp;lt;-100,-100,&lt;SPAN style="font-size: 13.63636302948px;"&gt;min(aggr(exp,diam))' because I have multiple conditional dimensions where only two are enabled each time.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Edit: Attached is a simplified example of my chart. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;It shows 'Amount' over time, where time could be Months or Quarters (can be selected from the list box).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;What I want that if the chart would have values under -100, it would limit it to -100 (for example, months 6, 7, 8, 9, 10 selected),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;But if months 1, 2, 3, 4, 5 are selected, the minimum would be 10 (and not -100).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And all of that should work both when month and quarter are selected as Date Types. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715347#M257344</guid>
      <dc:creator />
      <dc:date>2014-09-29T07:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Chart Minimum Only When Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715348#M257345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amalin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you attach a sample?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715348#M257345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-29T07:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Chart Minimum Only When Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715349#M257346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have edited the message and added the attachment.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715349#M257346</guid>
      <dc:creator />
      <dc:date>2014-09-29T07:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Chart Minimum Only When Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715350#M257347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi amalin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there is always two dimensions you can use variables to use expression like:&lt;/P&gt;&lt;P&gt;if(min(aggr(sum(amount),$(vDim1), $(vDim2)))&amp;lt;-100,-100,min(aggr(sum(amount),$(vDim1), $(vDim2))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715350#M257347</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-29T08:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Limit Chart Minimum Only When Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715351#M257348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use this for the Axis static min:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(getfieldselections([DateType])='Month', RangeMax(-100, Min(Aggr(Sum(amount), Month))),&lt;/P&gt;&lt;P&gt;RangeMax(-100, Min(Aggr(Sum(amount), Quarter))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But QV seems to be confused by the static min as it moves the clipped data points. See the attached for a comparison with and without the static minimum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715351#M257348</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-09-29T08:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Limit Chart Minimum Only When Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715352#M257349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or even simpler:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeMax(-100, Min(Aggr(Sum(amount), $(=getfieldselections([DateType])))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(so long as the values in DateType are actual field names)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715352#M257349</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-09-29T08:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Chart Minimum Only When Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715353#M257350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171360"&gt;amalin66&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Jonathan's solution, it is the best for your purpose.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 09:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715353#M257350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-29T09:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Limit Chart Minimum Only When Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715354#M257351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;P&gt;I had adjust it, but it worked like a charm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 14:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Chart-Minimum-Only-When-Needed/m-p/715354#M257351</guid>
      <dc:creator />
      <dc:date>2014-09-29T14:24:04Z</dc:date>
    </item>
  </channel>
</rss>

