<?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 Mini Chart lower bound issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mini-Chart-lower-bound-issue/m-p/215946#M69348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using set analysis combined a Linear Gauge mini chart. However, I'm having an issue with the lower bound (i.e., if the value is less than zero, my chart will not draw). I was able to get the Max bound set using the following logic:&lt;/P&gt;&lt;P&gt;If(vComparePeriod = 'Year',&lt;BR /&gt; max(total aggr((Sum({$&amp;lt;FiscCalYr={'$(CurrentYear)'}&amp;gt;} ReportedPrice) / Sum({$&amp;lt;FiscCalYr={'$(PreviousYear)'}&amp;gt;} ReportedPrice)) -1, grpCGeoPartnerProduct)),&lt;BR /&gt; If(vComparePeriod = 'Quarter',&lt;BR /&gt; max(total aggr((Sum({$&amp;lt;FiscCalYr={'$(CurrentYear)'}, FiscCalQuarter={'$(vCurrentQtr)'} &amp;gt;} ReportedPrice) / Sum({$&amp;lt;FiscCalYr={'$(PreviousYear)'}, FiscCalQuarter={'$(vCurrentQtr)'} &amp;gt;} ReportedPrice)) -1,grpCGeoPartnerProduct)),&lt;BR /&gt; If(vComparePeriod = 'Month',&lt;BR /&gt; max(total aggr((Sum({$&amp;lt;FiscCalYr={'$(CurrentYear)'}, FiscCalMonth={'$(vCurrentMonth)'} &amp;gt;} ReportedPrice) / Sum({$&amp;lt;FiscCalYr={'$(PreviousYear)'}, FiscCalMonth={'$(vCurrentMonth)'} &amp;gt;} ReportedPrice)) -1, grpCGeoPartnerProduct)),&lt;BR /&gt; If(vComparePeriod = 'Week',&lt;BR /&gt; max(total aggr((Sum({$&amp;lt;FiscCalYr={'$(CurrentYear)'}, FiscCalWk={'$(vCurrentWeek)'} &amp;gt;} ReportedPrice) / Sum({$&amp;lt;FiscCalYr={'$(PreviousYear)'}, FiscCalWk={'$(vCurrentWeek)'} &amp;gt;} ReportedPrice)) -1, grpCGeoPartnerProduct))&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;How do I test for the lowest value instead of the highest value? I tried replacing "max" with "min" but it didn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jul 2010 19:00:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-06T19:00:51Z</dc:date>
    <item>
      <title>Mini Chart lower bound issue</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Chart-lower-bound-issue/m-p/215946#M69348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using set analysis combined a Linear Gauge mini chart. However, I'm having an issue with the lower bound (i.e., if the value is less than zero, my chart will not draw). I was able to get the Max bound set using the following logic:&lt;/P&gt;&lt;P&gt;If(vComparePeriod = 'Year',&lt;BR /&gt; max(total aggr((Sum({$&amp;lt;FiscCalYr={'$(CurrentYear)'}&amp;gt;} ReportedPrice) / Sum({$&amp;lt;FiscCalYr={'$(PreviousYear)'}&amp;gt;} ReportedPrice)) -1, grpCGeoPartnerProduct)),&lt;BR /&gt; If(vComparePeriod = 'Quarter',&lt;BR /&gt; max(total aggr((Sum({$&amp;lt;FiscCalYr={'$(CurrentYear)'}, FiscCalQuarter={'$(vCurrentQtr)'} &amp;gt;} ReportedPrice) / Sum({$&amp;lt;FiscCalYr={'$(PreviousYear)'}, FiscCalQuarter={'$(vCurrentQtr)'} &amp;gt;} ReportedPrice)) -1,grpCGeoPartnerProduct)),&lt;BR /&gt; If(vComparePeriod = 'Month',&lt;BR /&gt; max(total aggr((Sum({$&amp;lt;FiscCalYr={'$(CurrentYear)'}, FiscCalMonth={'$(vCurrentMonth)'} &amp;gt;} ReportedPrice) / Sum({$&amp;lt;FiscCalYr={'$(PreviousYear)'}, FiscCalMonth={'$(vCurrentMonth)'} &amp;gt;} ReportedPrice)) -1, grpCGeoPartnerProduct)),&lt;BR /&gt; If(vComparePeriod = 'Week',&lt;BR /&gt; max(total aggr((Sum({$&amp;lt;FiscCalYr={'$(CurrentYear)'}, FiscCalWk={'$(vCurrentWeek)'} &amp;gt;} ReportedPrice) / Sum({$&amp;lt;FiscCalYr={'$(PreviousYear)'}, FiscCalWk={'$(vCurrentWeek)'} &amp;gt;} ReportedPrice)) -1, grpCGeoPartnerProduct))&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;How do I test for the lowest value instead of the highest value? I tried replacing "max" with "min" but it didn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 19:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Chart-lower-bound-issue/m-p/215946#M69348</guid>
      <dc:creator />
      <dc:date>2010-07-06T19:00:51Z</dc:date>
    </item>
    <item>
      <title>Mini Chart lower bound issue</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Chart-lower-bound-issue/m-p/215947#M69349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should mention that I tried hard-coding a fixed value &amp;amp; that still did not work. Any ideas what is causing this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 20:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Chart-lower-bound-issue/m-p/215947#M69349</guid>
      <dc:creator />
      <dc:date>2010-07-06T20:06:47Z</dc:date>
    </item>
  </channel>
</rss>

